pub enum CursorDirection {
Forward,
Backward,
}Expand description
Cursor traversal direction labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CursorDirection
impl Clone for CursorDirection
Source§fn clone(&self) -> CursorDirection
fn clone(&self) -> CursorDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CursorDirection
impl Debug for CursorDirection
Source§impl Default for CursorDirection
impl Default for CursorDirection
Source§impl Display for CursorDirection
impl Display for CursorDirection
Source§impl FromStr for CursorDirection
impl FromStr for CursorDirection
Source§impl Hash for CursorDirection
impl Hash for CursorDirection
Source§impl Ord for CursorDirection
impl Ord for CursorDirection
Source§fn cmp(&self, other: &CursorDirection) -> Ordering
fn cmp(&self, other: &CursorDirection) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CursorDirection
impl PartialEq for CursorDirection
Source§fn eq(&self, other: &CursorDirection) -> bool
fn eq(&self, other: &CursorDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CursorDirection
impl PartialOrd for CursorDirection
impl Copy for CursorDirection
impl Eq for CursorDirection
impl StructuralPartialEq for CursorDirection
Auto Trait Implementations§
impl Freeze for CursorDirection
impl RefUnwindSafe for CursorDirection
impl Send for CursorDirection
impl Sync for CursorDirection
impl Unpin for CursorDirection
impl UnsafeUnpin 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