pub enum CursorDirection {
Next,
NextUnique,
Prev,
PrevUnique,
}
Expand description
The direction for a cursor
Variants§
Next
Advance one by one
NextUnique
Advance, skipping duplicate elements
Prev
Go back, one by one
PrevUnique
Go back, skipping duplicate elements
Auto Trait Implementations§
impl Freeze for CursorDirection
impl RefUnwindSafe for CursorDirection
impl Send for CursorDirection
impl Sync for CursorDirection
impl Unpin for CursorDirection
impl UnwindSafe for CursorDirection
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