pub enum HighlightingMethod {
Direct,
Indirect,
}Expand description
How should highlighting be sent to the user interface?
Variants§
Trait Implementations§
Source§impl Clone for HighlightingMethod
impl Clone for HighlightingMethod
Source§fn clone(&self) -> HighlightingMethod
fn clone(&self) -> HighlightingMethod
Returns a duplicate of the value. Read more
1.0.0 · 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 HighlightingMethod
impl Debug for HighlightingMethod
Source§impl Default for HighlightingMethod
impl Default for HighlightingMethod
Source§impl Hash for HighlightingMethod
impl Hash for HighlightingMethod
Source§impl Ord for HighlightingMethod
impl Ord for HighlightingMethod
Source§fn cmp(&self, other: &HighlightingMethod) -> Ordering
fn cmp(&self, other: &HighlightingMethod) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HighlightingMethod
impl PartialEq for HighlightingMethod
Source§impl PartialOrd for HighlightingMethod
impl PartialOrd for HighlightingMethod
impl Copy for HighlightingMethod
impl Eq for HighlightingMethod
impl StructuralPartialEq for HighlightingMethod
Auto Trait Implementations§
impl Freeze for HighlightingMethod
impl RefUnwindSafe for HighlightingMethod
impl Send for HighlightingMethod
impl Sync for HighlightingMethod
impl Unpin for HighlightingMethod
impl UnwindSafe for HighlightingMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more