Enum subtr_actor::SearchDirection
source · 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 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 SearchDirection
impl Debug for SearchDirection
source§impl PartialEq<SearchDirection> for SearchDirection
impl PartialEq<SearchDirection> for SearchDirection
source§fn eq(&self, other: &SearchDirection) -> bool
fn eq(&self, other: &SearchDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SearchDirection
impl Serialize for SearchDirection
impl Copy for SearchDirection
impl StructuralPartialEq for SearchDirection
Auto Trait Implementations§
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