pub struct CmdInfo<'a, H> {
pub handler: H,
pub required: Vec<&'a str>,
pub optional: Vec<&'a str>,
pub unlimited: bool,
pub docs: &'static str,
}Fields§
§handler: H§required: Vec<&'a str>§optional: Vec<&'a str>§unlimited: bool§docs: &'static strImplementations§
Trait Implementations§
impl<'a, H: PartialEq> StructuralPartialEq for CmdInfo<'a, H>
Auto Trait Implementations§
impl<'a, H> Freeze for CmdInfo<'a, H>where
H: Freeze,
impl<'a, H> RefUnwindSafe for CmdInfo<'a, H>where
H: RefUnwindSafe,
impl<'a, H> Send for CmdInfo<'a, H>where
H: Send,
impl<'a, H> Sync for CmdInfo<'a, H>where
H: Sync,
impl<'a, H> Unpin for CmdInfo<'a, H>where
H: Unpin,
impl<'a, H> UnsafeUnpin for CmdInfo<'a, H>where
H: UnsafeUnpin,
impl<'a, H> UnwindSafe for CmdInfo<'a, H>where
H: UnwindSafe,
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