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