pub struct SemanticTokenModifiers(/* private fields */);Implementations§
Source§impl SemanticTokenModifiers
impl SemanticTokenModifiers
pub fn new(s: String) -> Self
pub fn declaration() -> Self
pub fn definition() -> Self
pub fn readonly() -> Self
pub fn static_() -> Self
pub fn deprecated() -> Self
pub fn abstract_() -> Self
pub fn async_() -> Self
pub fn modification() -> Self
pub fn documentation() -> Self
pub fn default_library() -> Self
Trait Implementations§
Source§impl Clone for SemanticTokenModifiers
impl Clone for SemanticTokenModifiers
Source§fn clone(&self) -> SemanticTokenModifiers
fn clone(&self) -> SemanticTokenModifiers
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 SemanticTokenModifiers
impl Debug for SemanticTokenModifiers
Source§impl<'de> Deserialize<'de> for SemanticTokenModifiers
impl<'de> Deserialize<'de> for SemanticTokenModifiers
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 SemanticTokenModifiers
impl From<&str> for SemanticTokenModifiers
Source§impl Into<String> for SemanticTokenModifiers
impl Into<String> for SemanticTokenModifiers
Source§impl PartialEq for SemanticTokenModifiers
impl PartialEq for SemanticTokenModifiers
Source§impl Serialize for SemanticTokenModifiers
impl Serialize for SemanticTokenModifiers
impl StructuralPartialEq for SemanticTokenModifiers
Auto Trait Implementations§
impl Freeze for SemanticTokenModifiers
impl RefUnwindSafe for SemanticTokenModifiers
impl Send for SemanticTokenModifiers
impl Sync for SemanticTokenModifiers
impl Unpin for SemanticTokenModifiers
impl UnwindSafe for SemanticTokenModifiers
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