pub struct SemanticTokensDeltaPartialResult {
pub edits: Vec<SemanticTokensEdit>,
}Expand description
@since 3.16.0
Fields§
§edits: Vec<SemanticTokensEdit>Implementations§
Source§impl SemanticTokensDeltaPartialResult
impl SemanticTokensDeltaPartialResult
pub const fn new(edits: Vec<SemanticTokensEdit>) -> Self
Trait Implementations§
Source§impl Clone for SemanticTokensDeltaPartialResult
impl Clone for SemanticTokensDeltaPartialResult
Source§fn clone(&self) -> SemanticTokensDeltaPartialResult
fn clone(&self) -> SemanticTokensDeltaPartialResult
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 SemanticTokensDeltaPartialResult
impl Default for SemanticTokensDeltaPartialResult
Source§fn default() -> SemanticTokensDeltaPartialResult
fn default() -> SemanticTokensDeltaPartialResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SemanticTokensDeltaPartialResult
impl<'de> Deserialize<'de> for SemanticTokensDeltaPartialResult
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<SemanticTokensDeltaPartialResult> for SemanticTokensDeltaPartialResponse
impl From<SemanticTokensDeltaPartialResult> for SemanticTokensDeltaPartialResponse
Source§fn from(v: SemanticTokensDeltaPartialResult) -> Self
fn from(v: SemanticTokensDeltaPartialResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SemanticTokensDeltaPartialResult
impl PartialEq for SemanticTokensDeltaPartialResult
Source§fn eq(&self, other: &SemanticTokensDeltaPartialResult) -> bool
fn eq(&self, other: &SemanticTokensDeltaPartialResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SemanticTokensDeltaPartialResult
impl StructuralPartialEq for SemanticTokensDeltaPartialResult
Auto Trait Implementations§
impl Freeze for SemanticTokensDeltaPartialResult
impl RefUnwindSafe for SemanticTokensDeltaPartialResult
impl Send for SemanticTokensDeltaPartialResult
impl Sync for SemanticTokensDeltaPartialResult
impl Unpin for SemanticTokensDeltaPartialResult
impl UnsafeUnpin for SemanticTokensDeltaPartialResult
impl UnwindSafe for SemanticTokensDeltaPartialResult
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