pub struct PrintOpts {
pub only_matching: bool,
pub column: bool,
pub mode: Mode,
pub color: bool,
pub escape: bool,
}Fields§
§only_matching: bool§column: bool§mode: Mode§color: boolResolved by main from --color plus whether stdout is a tty; by the
time it reaches here it is a decision, not a preference.
escape: boolResolved the same way as color, from --escape and stdout’s tty-ness.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrintOpts
impl RefUnwindSafe for PrintOpts
impl Send for PrintOpts
impl Sync for PrintOpts
impl Unpin for PrintOpts
impl UnsafeUnpin for PrintOpts
impl UnwindSafe for PrintOpts
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