pub struct ShortcutsArgs {
pub list: bool,
pub set: Option<String>,
pub reset: bool,
}Fields§
§list: boolShow all quickies, CLI abbreviations, and keyboard shortcuts
set: Option<String>Bind or customize a shortcut (format: KEY=COMMAND, e.g. “c=add -m”)
reset: boolReset shortcuts and abbreviations to default configuration
Trait Implementations§
Source§impl Args for ShortcutsArgs
impl Args for ShortcutsArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for ShortcutsArgs
impl Debug for ShortcutsArgs
Source§impl FromArgMatches for ShortcutsArgs
impl FromArgMatches for ShortcutsArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn 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>
Source§fn 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.Source§fn 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.Auto Trait Implementations§
impl Freeze for ShortcutsArgs
impl RefUnwindSafe for ShortcutsArgs
impl Send for ShortcutsArgs
impl Sync for ShortcutsArgs
impl Unpin for ShortcutsArgs
impl UnsafeUnpin for ShortcutsArgs
impl UnwindSafe for ShortcutsArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more