pub struct Print(pub String);
Expand description
Print string and exit with status 0
Particularly useful for --version
option and similar
Tuple Fields§
§0: String
Trait Implementations§
Source§impl IFlagAction for Print
impl IFlagAction for Print
fn parse_flag(&self) -> ParseResult
Auto Trait Implementations§
impl Freeze for Print
impl RefUnwindSafe for Print
impl Send for Print
impl Sync for Print
impl Unpin for Print
impl UnwindSafe for Print
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