pub struct RixSubCommand {
pub name: &'static str,
pub cmd: fn(Command) -> Command,
pub handler: fn(&ArgMatches) -> Result<(), ExitCode>,
}
Fields§
§name: &'static str
§cmd: fn(Command) -> Command
§handler: fn(&ArgMatches) -> Result<(), ExitCode>
Auto Trait Implementations§
impl Freeze for RixSubCommand
impl RefUnwindSafe for RixSubCommand
impl Send for RixSubCommand
impl Sync for RixSubCommand
impl Unpin for RixSubCommand
impl UnwindSafe for RixSubCommand
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