pub struct Highlight { /* private fields */ }Implementations§
Source§impl Highlight
impl Highlight
pub fn span(&self) -> Span
pub fn modifier(&self) -> SemanticModifier
pub fn kind(&self) -> SemanticKind
pub fn decoration(&self) -> SemanticDecoration
Trait Implementations§
Source§impl Ord for Highlight
impl Ord for Highlight
Source§impl PartialOrd for Highlight
impl PartialOrd 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