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