pub struct DocSnippetAnnotator;Expand description
anno:doc-snippet. Appends the first line of the candidate’s
documentation if available. Pushes Annotation::DocSnippet
so the renderer styles it with the doc-annotation theme slot.
Trait Implementations§
Source§impl CandidateAnnotator for DocSnippetAnnotator
impl CandidateAnnotator for DocSnippetAnnotator
fn annotate(&self, c: &mut RenderedCandidate)
Auto Trait Implementations§
impl Freeze for DocSnippetAnnotator
impl RefUnwindSafe for DocSnippetAnnotator
impl Send for DocSnippetAnnotator
impl Sync for DocSnippetAnnotator
impl Unpin for DocSnippetAnnotator
impl UnsafeUnpin for DocSnippetAnnotator
impl UnwindSafe for DocSnippetAnnotator
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