pub enum Direction {
Forward,
Backward,
}Expand description
Iteration order relative to the anchor.
Variants§
Forward
Increasing offsets from the anchor (useful for asks / forward scans).
Backward
Decreasing offsets from the anchor (useful for bids / backward scans).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
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