Enum goxlr_client::cli::AllFaderCommands
source · [−]pub enum AllFaderCommands {
Display {
display: FaderDisplayStyle,
},
Colour {
top: String,
bottom: String,
},
ButtonColour {
colour_one: String,
off_style: ButtonColourOffStyle,
colour_two: Option<String>,
},
}
Variants
Display
Fields
display: FaderDisplayStyle
The new display method
Set the appearance of Slider Lighting
Colour
Fields
top: String
Top colour in hex format [RRGGBB]
bottom: String
Bottom colour in hex format [RRGGBB]
Set the colour of all GoXLR Faders
ButtonColour
Fields
colour_one: String
The primary button colour [RRGGBB]
off_style: ButtonColourOffStyle
How the button should be presented when ‘off’
Set the colours of all the fader buttons
Trait Implementations
sourceimpl Debug for AllFaderCommands
impl Debug for AllFaderCommands
sourceimpl FromArgMatches for AllFaderCommands
impl FromArgMatches for AllFaderCommands
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 AllFaderCommands
impl Subcommand for AllFaderCommands
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 AllFaderCommands
impl Send for AllFaderCommands
impl Sync for AllFaderCommands
impl Unpin for AllFaderCommands
impl UnwindSafe for AllFaderCommands
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