Enum lsp_types::SemanticTokensResult
source · [−]pub enum SemanticTokensResult {
Tokens(SemanticTokens),
Partial(SemanticTokensPartialResult),
}Variants
Tokens(SemanticTokens)
Partial(SemanticTokensPartialResult)
Trait Implementations
sourceimpl Clone for SemanticTokensResult
impl Clone for SemanticTokensResult
sourcefn clone(&self) -> SemanticTokensResult
fn clone(&self) -> SemanticTokensResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SemanticTokensResult
impl Debug for SemanticTokensResult
sourceimpl<'de> Deserialize<'de> for SemanticTokensResult
impl<'de> Deserialize<'de> for SemanticTokensResult
sourcefn 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
sourceimpl From<SemanticTokens> for SemanticTokensResult
impl From<SemanticTokens> for SemanticTokensResult
sourcefn from(from: SemanticTokens) -> Self
fn from(from: SemanticTokens) -> Self
Converts to this type from the input type.
sourceimpl From<SemanticTokensPartialResult> for SemanticTokensResult
impl From<SemanticTokensPartialResult> for SemanticTokensResult
sourcefn from(from: SemanticTokensPartialResult) -> Self
fn from(from: SemanticTokensPartialResult) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SemanticTokensResult> for SemanticTokensResult
impl PartialEq<SemanticTokensResult> for SemanticTokensResult
sourcefn eq(&self, other: &SemanticTokensResult) -> bool
fn eq(&self, other: &SemanticTokensResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Serialize for SemanticTokensResult
impl Serialize for SemanticTokensResult
impl Eq for SemanticTokensResult
impl StructuralEq for SemanticTokensResult
impl StructuralPartialEq for SemanticTokensResult
Auto Trait Implementations
impl RefUnwindSafe for SemanticTokensResult
impl Send for SemanticTokensResult
impl Sync for SemanticTokensResult
impl Unpin for SemanticTokensResult
impl UnwindSafe for SemanticTokensResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more