pub struct ClientSemanticTokensRequestOptions {
pub range: Option<BooleanOrLiteral57f9bf6390bb37d9>,
pub full: Option<BooleanOrClientSemanticTokensRequestFullDelta>,
}Expand description
@since 3.18.0
Fields§
§range: Option<BooleanOrLiteral57f9bf6390bb37d9>The client will send the textDocument/semanticTokens/range request if
the server provides a corresponding handler.
full: Option<BooleanOrClientSemanticTokensRequestFullDelta>The client will send the textDocument/semanticTokens/full request if
the server provides a corresponding handler.
Trait Implementations§
Source§impl Clone for ClientSemanticTokensRequestOptions
impl Clone for ClientSemanticTokensRequestOptions
Source§fn clone(&self) -> ClientSemanticTokensRequestOptions
fn clone(&self) -> ClientSemanticTokensRequestOptions
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<'de> Deserialize<'de> for ClientSemanticTokensRequestOptions
impl<'de> Deserialize<'de> for ClientSemanticTokensRequestOptions
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 PartialEq for ClientSemanticTokensRequestOptions
impl PartialEq for ClientSemanticTokensRequestOptions
Source§fn eq(&self, other: &ClientSemanticTokensRequestOptions) -> bool
fn eq(&self, other: &ClientSemanticTokensRequestOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientSemanticTokensRequestOptions
Auto Trait Implementations§
impl Freeze for ClientSemanticTokensRequestOptions
impl RefUnwindSafe for ClientSemanticTokensRequestOptions
impl Send for ClientSemanticTokensRequestOptions
impl Sync for ClientSemanticTokensRequestOptions
impl Unpin for ClientSemanticTokensRequestOptions
impl UnsafeUnpin for ClientSemanticTokensRequestOptions
impl UnwindSafe for ClientSemanticTokensRequestOptions
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