pub struct SetupView {
pub argv: Vec<String>,
pub command: String,
}Expand description
One command run before an example, in the same session.
Fields§
§argv: Vec<String>The argument vector, without the executable’s own name.
command: StringThe command line as a person types it, rendered from argv.
Trait Implementations§
impl Eq for SetupView
impl StructuralPartialEq for SetupView
Auto Trait Implementations§
impl Freeze for SetupView
impl RefUnwindSafe for SetupView
impl Send for SetupView
impl Sync for SetupView
impl Unpin for SetupView
impl UnsafeUnpin for SetupView
impl UnwindSafe for SetupView
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.