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