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