Struct DocBlock
struct DocBlock<'a> {
arena: &'a Arena,
first: Option<&'a str>,
joined: Option<String<'a>>,
}Available on crate feature
parse only.Expand description
The comment lines directly before the next token.
A block of one line borrows it from the input. Only blocks of several lines are joined into a string in the arena.
Fields§
§arena: &'a Arena§first: Option<&'a str>§joined: Option<String<'a>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DocBlock<'a>
impl<'a> !Send for DocBlock<'a>
impl<'a> !Sync for DocBlock<'a>
impl<'a> !UnwindSafe for DocBlock<'a>
impl<'a> Freeze for DocBlock<'a>
impl<'a> Unpin for DocBlock<'a>
impl<'a> UnsafeUnpin for DocBlock<'a>
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