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