pub enum SearchDirection {
Forward,
Backward,
}Expand description
Enum to define the direction of searching within a collection.
Variants§
Trait Implementations§
Source§impl Clone for SearchDirection
impl Clone for SearchDirection
Source§fn clone(&self) -> SearchDirection
fn clone(&self) -> SearchDirection
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 SearchDirection
impl Debug for SearchDirection
Source§impl PartialEq for SearchDirection
impl PartialEq for SearchDirection
Source§impl Serialize for SearchDirection
impl Serialize for SearchDirection
impl Copy for SearchDirection
impl StructuralPartialEq for SearchDirection
Auto Trait Implementations§
impl Freeze for SearchDirection
impl RefUnwindSafe for SearchDirection
impl Send for SearchDirection
impl Sync for SearchDirection
impl Unpin for SearchDirection
impl UnwindSafe for SearchDirection
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