pub enum HighlightStrategy {
Exactmatch,
V1,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for HighlightStrategy
impl Clone for HighlightStrategy
Source§fn clone(&self) -> HighlightStrategy
fn clone(&self) -> HighlightStrategy
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 moreimpl Copy for HighlightStrategy
Source§impl Debug for HighlightStrategy
impl Debug for HighlightStrategy
Source§impl Default for HighlightStrategy
impl Default for HighlightStrategy
Source§fn default() -> HighlightStrategy
fn default() -> HighlightStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HighlightStrategy
impl<'de> Deserialize<'de> for HighlightStrategy
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 HighlightStrategy
Source§impl Hash for HighlightStrategy
impl Hash for HighlightStrategy
Source§impl Ord for HighlightStrategy
impl Ord for HighlightStrategy
Source§fn cmp(&self, other: &HighlightStrategy) -> Ordering
fn cmp(&self, other: &HighlightStrategy) -> Ordering
1.21.0 (const: unstable) · 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 HighlightStrategy
impl PartialEq for HighlightStrategy
Source§fn eq(&self, other: &HighlightStrategy) -> bool
fn eq(&self, other: &HighlightStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HighlightStrategy
impl PartialOrd for HighlightStrategy
Source§impl Serialize for HighlightStrategy
impl Serialize for HighlightStrategy
impl StructuralPartialEq for HighlightStrategy
Auto Trait Implementations§
impl Freeze for HighlightStrategy
impl RefUnwindSafe for HighlightStrategy
impl Send for HighlightStrategy
impl Sync for HighlightStrategy
impl Unpin for HighlightStrategy
impl UnsafeUnpin for HighlightStrategy
impl UnwindSafe for HighlightStrategy
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.