pub(crate) struct Opt {
pub(crate) name: Name,
pub(crate) hasarg: HasArg,
pub(crate) occur: Occur,
pub(crate) aliases: Vec<Opt>,
}
Expand description
A description of a possible option.
Fields§
§name: Name
Name of the option
hasarg: HasArg
Whether it has an argument
occur: Occur
How often it can occur
aliases: Vec<Opt>
Which options it aliases
Trait Implementations§
impl Eq for Opt
impl StructuralPartialEq for Opt
Auto Trait Implementations§
impl Freeze for Opt
impl RefUnwindSafe for Opt
impl Send for Opt
impl Sync for Opt
impl Unpin for Opt
impl UnwindSafe for Opt
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