pub struct Example {
pub cmd: &'static str,
pub exit: i32,
pub says: &'static str,
}Expand description
One example: a shell line and what it does.
Fields§
§cmd: &'static strWhat to type. The first trg … in it, up to the first unquoted |,
;, &, >, <, ) or newline, is what the test runs; anything
around it is shell the reader can copy as it stands.
exit: i32The exit code that trg part gives against the tree in FILES.
says: &'static strPlain prose, wrapped when printed.
Auto Trait Implementations§
impl Freeze for Example
impl RefUnwindSafe for Example
impl Send for Example
impl Sync for Example
impl Unpin for Example
impl UnsafeUnpin for Example
impl UnwindSafe for Example
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