pub enum DocumentRangeFormattingProvider {
Bool(bool),
Options(DocumentRangeFormattingOptions),
}Variants§
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
impl Eq for DocumentRangeFormattingProvider
Source§impl From<DocumentRangeFormattingOptions> for DocumentRangeFormattingProvider
impl From<DocumentRangeFormattingOptions> for DocumentRangeFormattingProvider
Source§fn from(value: DocumentRangeFormattingOptions) -> Self
fn from(value: DocumentRangeFormattingOptions) -> Self
Converts to this type from the input type.
Source§impl From<bool> for DocumentRangeFormattingProvider
impl From<bool> 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