pub struct Docstring(pub String);
Expand description
Represents consecutive comment lines starting with ///
, joined by \n
.
Tuple Fields§
§0: String
Trait Implementations§
Source§impl Ord for Docstring
impl Ord for Docstring
Source§impl PartialOrd for Docstring
impl PartialOrd for Docstring
impl Eq for Docstring
impl StructuralPartialEq for Docstring
Auto Trait Implementations§
impl Freeze for Docstring
impl RefUnwindSafe for Docstring
impl Send for Docstring
impl Sync for Docstring
impl Unpin for Docstring
impl UnwindSafe for Docstring
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