pub struct Unselected;Expand description
The default “no option selected” variant, shared by every
ExclusiveOption group.
It is a zero-sized type whose ExclusiveOption::inject_args is a no-op,
so any mutually exclusive option group can use it as its default type
parameter instead of defining its own empty variant.
Trait Implementations§
Source§impl Clone for Unselected
impl Clone for Unselected
impl Copy for Unselected
Source§impl Debug for Unselected
impl Debug for Unselected
Source§impl Default for Unselected
impl Default for Unselected
Source§impl ExclusiveOption for Unselected
impl ExclusiveOption for Unselected
Source§fn inject_args(&self, _: &mut Command)
fn inject_args(&self, _: &mut Command)
Inject the CLI arguments corresponding to this selection into
command.Auto Trait Implementations§
impl Freeze for Unselected
impl RefUnwindSafe for Unselected
impl Send for Unselected
impl Sync for Unselected
impl Unpin for Unselected
impl UnsafeUnpin for Unselected
impl UnwindSafe for Unselected
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