pub struct ClientSemanticTokensRequestOptions {
pub range: Option<ClientSemanticTokensRequestOptionsRange>,
pub full: Option<ClientSemanticTokensRequestOptionsFull>,
}Expand description
@since 3.18.0
Fields§
§range: Option<ClientSemanticTokensRequestOptionsRange>The client will send the textDocument/semanticTokens/range request if
the server provides a corresponding handler.
full: Option<ClientSemanticTokensRequestOptionsFull>The client will send the textDocument/semanticTokens/full request if
the server provides a corresponding handler.
Implementations§
Source§impl ClientSemanticTokensRequestOptions
impl ClientSemanticTokensRequestOptions
pub const fn new( range: Option<ClientSemanticTokensRequestOptionsRange>, full: Option<ClientSemanticTokensRequestOptionsFull>, ) -> Self
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 Default for ClientSemanticTokensRequestOptions
impl Default for ClientSemanticTokensRequestOptions
Source§fn default() -> ClientSemanticTokensRequestOptions
fn default() -> ClientSemanticTokensRequestOptions
Returns the “default value” for a type. Read more
Source§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 Eq for ClientSemanticTokensRequestOptions
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