pub struct Switch {
pub usage: &'static str,
pub docs: &'static [&'static str],
}
Expand description
Documentation over a single switch.
Fields§
§usage: &'static str
The usage summary of the switch.
Like --file, -f <path>
.
docs: &'static [&'static str]
Documentation comments associated with the switch.
Auto Trait Implementations§
impl Freeze for Switch
impl RefUnwindSafe for Switch
impl Send for Switch
impl Sync for Switch
impl Unpin for Switch
impl UnwindSafe for Switch
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