pub enum NoCommand {}Expand description
The default for Input’s second type parameter — an input with no
subcommands scoping never needs to name a real subcommand enum. Zero
variants: nothing can ever construct one, which is the type-level way of
saying “this input is not scoped to anything.”
Trait Implementations§
impl Copy for NoCommand
Source§impl Serialize for NoCommand
impl Serialize for NoCommand
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for NoCommand
impl Freeze for NoCommand
impl Move for NoCommand
impl RefUnwindSafe for NoCommand
impl Send for NoCommand
impl Sync for NoCommand
impl Unpin for NoCommand
impl UnsafeUnpin for NoCommand
impl UnwindSafe for NoCommand
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