pub enum TextDocumentSyncKindOrTextDocumentSyncOptions {
TextDocumentSyncOptions(TextDocumentSyncOptions),
TextDocumentSyncKind(TextDocumentSyncKind),
}Variants§
TextDocumentSyncOptions(TextDocumentSyncOptions)
TextDocumentSyncKind(TextDocumentSyncKind)
Trait Implementations§
Source§impl Clone for TextDocumentSyncKindOrTextDocumentSyncOptions
impl Clone for TextDocumentSyncKindOrTextDocumentSyncOptions
Source§fn clone(&self) -> TextDocumentSyncKindOrTextDocumentSyncOptions
fn clone(&self) -> TextDocumentSyncKindOrTextDocumentSyncOptions
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 TextDocumentSyncKindOrTextDocumentSyncOptions
impl<'de> Deserialize<'de> for TextDocumentSyncKindOrTextDocumentSyncOptions
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 TextDocumentSyncKindOrTextDocumentSyncOptions
impl PartialEq for TextDocumentSyncKindOrTextDocumentSyncOptions
Source§fn eq(&self, other: &TextDocumentSyncKindOrTextDocumentSyncOptions) -> bool
fn eq(&self, other: &TextDocumentSyncKindOrTextDocumentSyncOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextDocumentSyncKindOrTextDocumentSyncOptions
Auto Trait Implementations§
impl Freeze for TextDocumentSyncKindOrTextDocumentSyncOptions
impl RefUnwindSafe for TextDocumentSyncKindOrTextDocumentSyncOptions
impl Send for TextDocumentSyncKindOrTextDocumentSyncOptions
impl Sync for TextDocumentSyncKindOrTextDocumentSyncOptions
impl Unpin for TextDocumentSyncKindOrTextDocumentSyncOptions
impl UnsafeUnpin for TextDocumentSyncKindOrTextDocumentSyncOptions
impl UnwindSafe for TextDocumentSyncKindOrTextDocumentSyncOptions
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