pub enum CursorPosition {
OutOfWindow,
Uninitialized,
InWindow(LogicalPosition),
}
Variants§
Implementations§
Source§impl CursorPosition
impl CursorPosition
pub fn get_position(&self) -> Option<LogicalPosition>
Trait Implementations§
Source§impl Clone for CursorPosition
impl Clone for CursorPosition
Source§fn clone(&self) -> CursorPosition
fn clone(&self) -> CursorPosition
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 CursorPosition
impl Debug for CursorPosition
Source§impl Default for CursorPosition
impl Default for CursorPosition
Source§fn default() -> CursorPosition
fn default() -> CursorPosition
Returns the “default value” for a type. Read more
Source§impl PartialEq for CursorPosition
impl PartialEq for CursorPosition
Source§impl PartialOrd for CursorPosition
impl PartialOrd for CursorPosition
impl Copy 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)