pub enum SuggestionValue {
Integer(i32),
Text(String),
}
Variants§
Implementations§
Source§impl SuggestionValue
impl SuggestionValue
pub fn cmp_ignore_case(&self, other: &Self) -> Ordering
Trait Implementations§
Source§impl Clone for SuggestionValue
impl Clone for SuggestionValue
Source§fn clone(&self) -> SuggestionValue
fn clone(&self) -> SuggestionValue
Returns a copy 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 SuggestionValue
impl Debug for SuggestionValue
Source§impl Display for SuggestionValue
impl Display for SuggestionValue
Source§impl Hash for SuggestionValue
impl Hash for SuggestionValue
Source§impl Ord for SuggestionValue
impl Ord for SuggestionValue
Source§impl PartialEq for SuggestionValue
impl PartialEq for SuggestionValue
Source§impl PartialOrd for SuggestionValue
impl PartialOrd for SuggestionValue
impl Eq for SuggestionValue
impl StructuralPartialEq for SuggestionValue
Auto Trait Implementations§
impl Freeze for SuggestionValue
impl RefUnwindSafe for SuggestionValue
impl Send for SuggestionValue
impl Sync for SuggestionValue
impl Unpin for SuggestionValue
impl UnwindSafe for SuggestionValue
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.