pub struct DocsItem {
pub text: Cow<'static, str>,
pub span: Option<DocsSpan>,
}
Expand description
Parsed documentation text chunk.
Fields§
§text: Cow<'static, str>
Parsed or generated text.
span: Option<DocsSpan>
Source file span.
Trait Implementations§
impl Eq for DocsItem
impl StructuralPartialEq for DocsItem
Auto Trait Implementations§
impl Freeze for DocsItem
impl RefUnwindSafe for DocsItem
impl Send for DocsItem
impl Sync for DocsItem
impl Unpin for DocsItem
impl UnwindSafe for DocsItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.