Enum tree_sitter_highlight::HighlightEvent [−][src]
pub enum HighlightEvent {
Source {
start: usize,
end: usize,
},
HighlightStart(Highlight),
HighlightEnd,
}
Expand description
Represents a single step in rendering a syntax-highlighted document.
Variants
Source
HighlightStart(Highlight)
Tuple Fields
0: Highlight
HighlightEnd
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HighlightEvent
impl Send for HighlightEvent
impl Sync for HighlightEvent
impl Unpin for HighlightEvent
impl UnwindSafe for HighlightEvent
Blanket Implementations
Mutably borrows from an owned value. Read more