pub struct CursorPosition(/* private fields */);Expand description
A cursor position label.
Implementations§
Trait Implementations§
Source§impl Clone for CursorPosition
impl Clone for CursorPosition
Source§fn clone(&self) -> CursorPosition
fn clone(&self) -> CursorPosition
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 CursorPosition
impl Debug for CursorPosition
Source§impl Hash for CursorPosition
impl Hash for CursorPosition
Source§impl Ord for CursorPosition
impl Ord for CursorPosition
Source§fn cmp(&self, other: &CursorPosition) -> Ordering
fn cmp(&self, other: &CursorPosition) -> 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 CursorPosition
impl PartialEq for CursorPosition
Source§fn eq(&self, other: &CursorPosition) -> bool
fn eq(&self, other: &CursorPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CursorPosition
impl PartialOrd for CursorPosition
impl Eq for CursorPosition
impl StructuralPartialEq for CursorPosition
Auto Trait Implementations§
impl Freeze for CursorPosition
impl RefUnwindSafe for CursorPosition
impl Send for CursorPosition
impl Sync for CursorPosition
impl Unpin for CursorPosition
impl UnsafeUnpin for CursorPosition
impl UnwindSafe for CursorPosition
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