pub enum SemanticTokensResponse {
SemanticTokens(SemanticTokens),
PartialResult(SemanticTokensPartialResult),
}Variants§
SemanticTokens(SemanticTokens)
PartialResult(SemanticTokensPartialResult)
SemanticTokensPartialResult.
Trait Implementations§
Source§impl Clone for SemanticTokensResponse
impl Clone for SemanticTokensResponse
Source§fn clone(&self) -> SemanticTokensResponse
fn clone(&self) -> SemanticTokensResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SemanticTokensResponse
impl Debug for SemanticTokensResponse
Source§impl<'de> Deserialize<'de> for SemanticTokensResponse
impl<'de> Deserialize<'de> for SemanticTokensResponse
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
impl Eq for SemanticTokensResponse
Source§impl From<SemanticTokens> for SemanticTokensResponse
impl From<SemanticTokens> for SemanticTokensResponse
Source§fn from(value: SemanticTokens) -> Self
fn from(value: SemanticTokens) -> Self
Converts to this type from the input type.
Source§impl From<SemanticTokensPartialResult> for SemanticTokensResponse
impl From<SemanticTokensPartialResult> for SemanticTokensResponse
Source§fn from(value: SemanticTokensPartialResult) -> Self
fn from(value: SemanticTokensPartialResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SemanticTokensResponse
impl PartialEq for SemanticTokensResponse
Source§impl Serialize for SemanticTokensResponse
impl Serialize for SemanticTokensResponse
impl StructuralPartialEq for SemanticTokensResponse
Auto Trait Implementations§
impl Freeze for SemanticTokensResponse
impl RefUnwindSafe for SemanticTokensResponse
impl Send for SemanticTokensResponse
impl Sync for SemanticTokensResponse
impl Unpin for SemanticTokensResponse
impl UnsafeUnpin for SemanticTokensResponse
impl UnwindSafe for SemanticTokensResponse
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