pub struct SemanticTokenInfo {
pub span: (usize, usize),
pub token_type: u32,
}Expand description
Semantic token data for a single token.
Fields§
§span: (usize, usize)§token_type: u32Trait Implementations§
Source§impl Clone for SemanticTokenInfo
impl Clone for SemanticTokenInfo
Source§fn clone(&self) -> SemanticTokenInfo
fn clone(&self) -> SemanticTokenInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SemanticTokenInfo
impl RefUnwindSafe for SemanticTokenInfo
impl Send for SemanticTokenInfo
impl Sync for SemanticTokenInfo
impl Unpin for SemanticTokenInfo
impl UnsafeUnpin for SemanticTokenInfo
impl UnwindSafe for SemanticTokenInfo
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