pub struct SearchKey<V = Comparand> {
pub ascending: bool,
pub key: V,
pub value: V,
pub how: Compare,
}Expand description
key as the WHEN term names it, and the value it must equal.
Fields§
§ascending: bool§key: V§value: V§how: CompareTrait Implementations§
impl<V: Copy> Copy for SearchKey<V>
impl<V: Eq> Eq for SearchKey<V>
impl<V: PartialEq> StructuralPartialEq for SearchKey<V>
Auto Trait Implementations§
impl<V> Freeze for SearchKey<V>where
V: Freeze,
impl<V> RefUnwindSafe for SearchKey<V>where
V: RefUnwindSafe,
impl<V> Send for SearchKey<V>where
V: Send,
impl<V> Sync for SearchKey<V>where
V: Sync,
impl<V> Unpin for SearchKey<V>where
V: Unpin,
impl<V> UnsafeUnpin for SearchKey<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for SearchKey<V>where
V: UnwindSafe,
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