pub enum TextDocumentSync {
Options(TextDocumentSyncOptions),
Kind(TextDocumentSyncKind),
}Variants§
Options(TextDocumentSyncOptions)
Kind(TextDocumentSyncKind)
Trait Implementations§
Source§impl Clone for TextDocumentSync
impl Clone for TextDocumentSync
Source§fn clone(&self) -> TextDocumentSync
fn clone(&self) -> TextDocumentSync
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 TextDocumentSync
impl Debug for TextDocumentSync
Source§impl<'de> Deserialize<'de> for TextDocumentSync
impl<'de> Deserialize<'de> for TextDocumentSync
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<TextDocumentSyncKind> for TextDocumentSync
impl From<TextDocumentSyncKind> for TextDocumentSync
Source§fn from(v: TextDocumentSyncKind) -> Self
fn from(v: TextDocumentSyncKind) -> Self
Converts to this type from the input type.
Source§impl From<TextDocumentSyncOptions> for TextDocumentSync
impl From<TextDocumentSyncOptions> for TextDocumentSync
Source§fn from(v: TextDocumentSyncOptions) -> Self
fn from(v: TextDocumentSyncOptions) -> Self
Converts to this type from the input type.
Source§impl Hash for TextDocumentSync
impl Hash for TextDocumentSync
Source§impl PartialEq for TextDocumentSync
impl PartialEq for TextDocumentSync
Source§fn eq(&self, other: &TextDocumentSync) -> bool
fn eq(&self, other: &TextDocumentSync) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextDocumentSync
impl Serialize for TextDocumentSync
impl Copy for TextDocumentSync
impl Eq for TextDocumentSync
impl StructuralPartialEq for TextDocumentSync
Auto Trait Implementations§
impl Freeze for TextDocumentSync
impl RefUnwindSafe for TextDocumentSync
impl Send for TextDocumentSync
impl Sync for TextDocumentSync
impl Unpin for TextDocumentSync
impl UnsafeUnpin for TextDocumentSync
impl UnwindSafe for TextDocumentSync
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