pub enum TextDocumentSyncCapability {
Kind(TextDocumentSyncKind),
Options(TextDocumentSyncOptions),
}Expand description
Text document sync capability.
Variants§
Kind(TextDocumentSyncKind)
Options(TextDocumentSyncOptions)
Trait Implementations§
Source§impl Clone for TextDocumentSyncCapability
impl Clone for TextDocumentSyncCapability
Source§fn clone(&self) -> TextDocumentSyncCapability
fn clone(&self) -> TextDocumentSyncCapability
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 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
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