Struct tree_sitter_highlight::Highlight
source · pub struct Highlight(pub usize);
Expand description
Indicates which highlight should be applied to a region of source code.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl PartialEq for Highlight
impl PartialEq for Highlight
impl Copy for Highlight
impl Eq for Highlight
impl StructuralPartialEq for Highlight
Auto Trait Implementations§
impl Freeze for Highlight
impl RefUnwindSafe for Highlight
impl Send for Highlight
impl Sync for Highlight
impl Unpin for Highlight
impl UnwindSafe for Highlight
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