pub struct SemanticTokenTypes(/* private fields */);Implementations§
Source§impl SemanticTokenTypes
impl SemanticTokenTypes
pub fn new(s: String) -> Self
pub fn namespace() -> Self
pub fn type_() -> Self
pub fn class() -> Self
pub fn enum_() -> Self
pub fn interface() -> Self
pub fn struct_() -> Self
pub fn type_parameter() -> Self
pub fn parameter() -> Self
pub fn variable() -> Self
pub fn property() -> Self
pub fn enum_member() -> Self
pub fn event() -> Self
pub fn function() -> Self
pub fn method() -> Self
pub fn macro_() -> Self
pub fn keyword() -> Self
pub fn modifier() -> Self
pub fn comment() -> Self
pub fn string() -> Self
pub fn number() -> Self
pub fn regexp() -> Self
pub fn operator() -> Self
Trait Implementations§
Source§impl Clone for SemanticTokenTypes
impl Clone for SemanticTokenTypes
Source§fn clone(&self) -> SemanticTokenTypes
fn clone(&self) -> SemanticTokenTypes
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 moreSource§impl Debug for SemanticTokenTypes
impl Debug for SemanticTokenTypes
Source§impl<'de> Deserialize<'de> for SemanticTokenTypes
impl<'de> Deserialize<'de> for SemanticTokenTypes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for SemanticTokenTypes
impl From<&str> for SemanticTokenTypes
Source§impl Into<String> for SemanticTokenTypes
impl Into<String> for SemanticTokenTypes
Source§impl PartialEq for SemanticTokenTypes
impl PartialEq for SemanticTokenTypes
Source§impl Serialize for SemanticTokenTypes
impl Serialize for SemanticTokenTypes
impl StructuralPartialEq for SemanticTokenTypes
Auto Trait Implementations§
impl Freeze for SemanticTokenTypes
impl RefUnwindSafe for SemanticTokenTypes
impl Send for SemanticTokenTypes
impl Sync for SemanticTokenTypes
impl Unpin for SemanticTokenTypes
impl UnwindSafe for SemanticTokenTypes
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