pub struct Example {
pub name: &'static str,
pub fence_meta: Option<&'static str>,
pub code: &'static str,
}Expand description
An executable example for a command.
Fields§
§name: &'static str§fence_meta: Option<&'static str>§code: &'static strAuto 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