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