pub struct FlagTolerance {
pub unknown: UnknownTolerance,
pub numeric_dash: bool,
}Expand description
How the dispatcher treats tokens that look like flags but aren’t in the
allowlist. unknown controls flag-shaped unknowns; numeric_dash opts
into -NUMBER shorthand (e.g. head -20).
Fields§
§unknown: UnknownTolerance§numeric_dash: boolImplementations§
Source§impl FlagTolerance
impl FlagTolerance
Trait Implementations§
Source§impl Clone for FlagTolerance
impl Clone for FlagTolerance
impl Copy for FlagTolerance
Source§impl Debug for FlagTolerance
impl Debug for FlagTolerance
Auto Trait Implementations§
impl Freeze for FlagTolerance
impl RefUnwindSafe for FlagTolerance
impl Send for FlagTolerance
impl Sync for FlagTolerance
impl Unpin for FlagTolerance
impl UnsafeUnpin for FlagTolerance
impl UnwindSafe for FlagTolerance
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