pub enum Docs<'a> {
NoDocs(Region),
YesDocs {
overview: &'a Comment<'a>,
comments: &'a [&'a (&'a str, &'a Comment<'a>)],
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Docs<'a>
impl<'a> RefUnwindSafe for Docs<'a>
impl<'a> Send for Docs<'a>
impl<'a> Sync for Docs<'a>
impl<'a> Unpin for Docs<'a>
impl<'a> UnsafeUnpin for Docs<'a>
impl<'a> UnwindSafe for Docs<'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