Enum fuel_core::state::IterDirection
source · pub enum IterDirection {
Forward,
Reverse,
}Variants§
Trait Implementations§
source§impl Clone for IterDirection
impl Clone for IterDirection
source§fn clone(&self) -> IterDirection
fn clone(&self) -> IterDirection
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 IterDirection
impl Debug for IterDirection
source§impl Default for IterDirection
impl Default for IterDirection
source§impl From<IterDirection> for Direction
impl From<IterDirection> for Direction
source§fn from(d: IterDirection) -> Self
fn from(d: IterDirection) -> Self
Converts to this type from the input type.
source§impl PartialEq<IterDirection> for IterDirection
impl PartialEq<IterDirection> for IterDirection
source§fn eq(&self, other: &IterDirection) -> bool
fn eq(&self, other: &IterDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<IterDirection> for IterDirection
impl PartialOrd<IterDirection> for IterDirection
source§fn partial_cmp(&self, other: &IterDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &IterDirection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for IterDirection
impl Eq for IterDirection
impl StructuralEq for IterDirection
impl StructuralPartialEq for IterDirection
Auto Trait Implementations§
impl RefUnwindSafe for IterDirection
impl Send for IterDirection
impl Sync for IterDirection
impl Unpin for IterDirection
impl UnwindSafe for IterDirection
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.