pub struct Docs(pub &'static str);
Expand description
A documentation string.
The string value should be the plain unformatted documentation without any
/**
or indentation in it. Lines may be separate by newlines.
Tuple Fields§
§0: &'static str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Docs
impl RefUnwindSafe for Docs
impl Send for Docs
impl Sync for Docs
impl Unpin for Docs
impl UnwindSafe for Docs
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