Struct move_tsgen::MoveTSGenTool
source · [−]Expand description
Parses a Move workspace into a set of IDLs.
Fields
root: PathBuf
Path to the root of the Move workspace.
out_dir: PathBuf
Output directory for the generated files.
with_dependencies: bool
Whether to generate module TypeScript files for dependencies.
Trait Implementations
sourceimpl Args for MoveTSGenTool
impl Args for MoveTSGenTool
sourceimpl CliTool<()> for MoveTSGenTool
impl CliTool<()> for MoveTSGenTool
sourcefn execute<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = CliTypedResult<()>> + Send + 'async_trait>> where
Self: 'async_trait,
fn execute<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = CliTypedResult<()>> + Send + 'async_trait>> where
Self: 'async_trait,
Executes the command, returning a command specific type
sourcefn execute_serialized<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait, Global>> where
Self: 'async_trait,
fn execute_serialized<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait, Global>> where
Self: 'async_trait,
Executes the command, and serializes it to the common JSON output type
sourceimpl CommandFactory for MoveTSGenTool
impl CommandFactory for MoveTSGenTool
sourcefn into_app_for_update<'b>() -> Command<'b>
fn into_app_for_update<'b>() -> Command<'b>
Deprecated, replaced with CommandFactory::command_for_update
sourcefn command_for_update<'help>() -> App<'help>
fn command_for_update<'help>() -> App<'help>
sourceimpl FromArgMatches for MoveTSGenTool
impl FromArgMatches for MoveTSGenTool
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Instantiate Self
from ArgMatches
, parsing the arguments as needed. Read more
sourcefn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
Instantiate Self
from ArgMatches
, parsing the arguments as needed. Read more
sourcefn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches
to self
.
sourcefn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches
to self
.
sourceimpl Parser for MoveTSGenTool
impl Parser for MoveTSGenTool
sourcefn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, exit on error
sourcefn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
sourcefn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, exit on error
sourcefn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, return Err on error.
Auto Trait Implementations
impl RefUnwindSafe for MoveTSGenTool
impl Send for MoveTSGenTool
impl Sync for MoveTSGenTool
impl Unpin for MoveTSGenTool
impl UnwindSafe for MoveTSGenTool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more