Enum librojo::cli::PluginSubcommand [−][src]
pub enum PluginSubcommand {
Install,
Uninstall,
}Variants
Expand description
Install the plugin in Roblox Studio’s plugins folder. If the plugin is already installed, installing it again will overwrite the current plugin file.
Expand description
Removes the plugin if it is installed.
Trait Implementations
impl Debug for PluginSubcommand[src]
impl Debug for PluginSubcommand[src]impl StructOpt for PluginSubcommand[src]
impl StructOpt for PluginSubcommand[src]fn from_clap(matches: &ArgMatches<'_>) -> Self[src]
fn from_clap(matches: &ArgMatches<'_>) -> Self[src]Builds the struct from clap::ArgMatches. It’s guaranteed to succeed
if matches originates from an App generated by StructOpt::clap called on
the same type, otherwise it must panic. Read more
fn from_args() -> Self[src]
fn from_args() -> Self[src]Builds the struct from the command line arguments (std::env::args_os).
Calls clap::Error::exit on failure, printing the error message and aborting the program. Read more
fn from_args_safe() -> Result<Self, Error>[src]
fn from_args_safe() -> Result<Self, Error>[src]Builds the struct from the command line arguments (std::env::args_os).
Unlike StructOpt::from_args, returns clap::Error on failure instead of aborting the program,
so calling .exit is up to you. Read more
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]Gets the struct from any iterator such as a Vec of your making.
Print the error message and quit the program in case of failure. Read more
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]Gets the struct from any iterator such as a Vec of your making. Read more
impl StructOptInternal for PluginSubcommand[src]
impl StructOptInternal for PluginSubcommand[src]fn augment_clap<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b>[src]
fn from_subcommand<'a, 'b>(
sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>[src]
sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>
fn is_subcommand() -> bool[src]
Auto Trait Implementations
impl RefUnwindSafe for PluginSubcommand
impl Send for PluginSubcommand
impl Sync for PluginSubcommand
impl Unpin for PluginSubcommand
impl UnwindSafe for PluginSubcommand
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,