pub struct ScreenPosition {
pub row: u16,
pub column: u16,
}Expand description
A position on the terminal screen.
Fields§
§row: u16§column: u16Trait Implementations§
Source§impl Clone for ScreenPosition
impl Clone for ScreenPosition
Source§fn clone(&self) -> ScreenPosition
fn clone(&self) -> ScreenPosition
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 moreimpl Copy for ScreenPosition
Source§impl Debug for ScreenPosition
impl Debug for ScreenPosition
Source§impl Default for ScreenPosition
impl Default for ScreenPosition
Source§fn default() -> ScreenPosition
fn default() -> ScreenPosition
Returns the “default value” for a type. Read more
impl Eq for ScreenPosition
Source§impl PartialEq for ScreenPosition
impl PartialEq for ScreenPosition
impl StructuralPartialEq for ScreenPosition
Auto Trait Implementations§
impl Freeze for ScreenPosition
impl RefUnwindSafe for ScreenPosition
impl Send for ScreenPosition
impl Sync for ScreenPosition
impl Unpin for ScreenPosition
impl UnsafeUnpin for ScreenPosition
impl UnwindSafe for ScreenPosition
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