Enum goxlr_client::cli::FaderLightingCommands
source · [−]pub enum FaderLightingCommands {
Display {
fader: FaderName,
display: FaderDisplayStyle,
},
Colour {
fader: FaderName,
top: String,
bottom: String,
},
}
Variants
Display
Colour
Fields
fader: FaderName
The Fader name to Change
top: String
Top colour in hex format [RRGGBB]
bottom: String
Bottom colour in hex format [RRGGBB]
Sets the Top and Bottom colours of a fader
Trait Implementations
sourceimpl Debug for FaderLightingCommands
impl Debug for FaderLightingCommands
sourceimpl FromArgMatches for FaderLightingCommands
impl FromArgMatches for FaderLightingCommands
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 update_from_arg_matches<'b>(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches<'b>(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches
to self
.
sourceimpl Subcommand for FaderLightingCommands
impl Subcommand for FaderLightingCommands
sourcefn augment_subcommands<'b>(__clap_app: App<'b>) -> App<'b>
fn augment_subcommands<'b>(__clap_app: App<'b>) -> App<'b>
Append to [App
] so it can instantiate Self
. Read more
sourcefn augment_subcommands_for_update<'b>(__clap_app: App<'b>) -> App<'b>
fn augment_subcommands_for_update<'b>(__clap_app: App<'b>) -> App<'b>
Append to [App
] so it can update self
. Read more
sourcefn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether Self
can parse a specific subcommand
Auto Trait Implementations
impl RefUnwindSafe for FaderLightingCommands
impl Send for FaderLightingCommands
impl Sync for FaderLightingCommands
impl Unpin for FaderLightingCommands
impl UnwindSafe for FaderLightingCommands
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