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