pub enum LongForm {
SimpleDash,
DoubleDash,
Both,
}
Expand description
An option long form rule.
DoubleDash
allows --foo
.
Both
allows both -foo
and --foo
.
Variants§
SimpleDash
Allows the -foo
long option form.
DoubleDash
Allows the --foo
long option form.
Both
Allows both the --foo
and -foo
long option form.
Trait Implementations§
impl Eq for LongForm
impl StructuralPartialEq for LongForm
Auto Trait Implementations§
impl Freeze for LongForm
impl RefUnwindSafe for LongForm
impl Send for LongForm
impl Sync for LongForm
impl Unpin for LongForm
impl UnwindSafe for LongForm
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