pub enum EffectiveCommandField {
Option(OptionSpec),
Flag(FlagSpec),
}Expand description
An inherited option or flag in scope for a command, collected along the path from the root.
Variants§
Option(OptionSpec)
Flag(FlagSpec)
Trait Implementations§
Source§impl Clone for EffectiveCommandField
impl Clone for EffectiveCommandField
Source§fn clone(&self) -> EffectiveCommandField
fn clone(&self) -> EffectiveCommandField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EffectiveCommandField
impl Debug for EffectiveCommandField
Source§impl PartialEq for EffectiveCommandField
impl PartialEq for EffectiveCommandField
impl StructuralPartialEq for EffectiveCommandField
Auto Trait Implementations§
impl Freeze for EffectiveCommandField
impl RefUnwindSafe for EffectiveCommandField
impl Send for EffectiveCommandField
impl Sync for EffectiveCommandField
impl Unpin for EffectiveCommandField
impl UnsafeUnpin for EffectiveCommandField
impl UnwindSafe for EffectiveCommandField
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