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: NameName of the option
hasarg: HasArgWhether it has an argument
occur: OccurHow often it can occur
aliases: Vec<Opt>Which options it aliases
Trait Implementations§
impl StructuralEq for Opt
impl StructuralPartialEq for Opt
Auto Trait Implementations§
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