pub enum HighlightOutput {
Highlights(Vec<HighlightResult>),
Context(Option<ContextUpdate>),
}Expand description
Result produced by the background highlighter.
Variants§
Highlights(Vec<HighlightResult>)
Highlighted source rows ready for
DiffViewer::apply_highlights.
Context(Option<ContextUpdate>)
A decoded context update, or None when the refetch produced nothing,
ready for
DiffViewer::apply_context_update.
Auto Trait Implementations§
impl Freeze for HighlightOutput
impl RefUnwindSafe for HighlightOutput
impl Send for HighlightOutput
impl Sync for HighlightOutput
impl Unpin for HighlightOutput
impl UnsafeUnpin for HighlightOutput
impl UnwindSafe for HighlightOutput
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