Struct termwiz::widgets::ScreenRelativeCoords
source · pub struct ScreenRelativeCoords {
pub x: usize,
pub y: usize,
}
Expand description
Relative to the top left of the screen
Fields§
§x: usize
§y: usize
Implementations§
Trait Implementations§
source§impl Clone for ScreenRelativeCoords
impl Clone for ScreenRelativeCoords
source§fn clone(&self) -> ScreenRelativeCoords
fn clone(&self) -> ScreenRelativeCoords
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 ScreenRelativeCoords
impl Debug for ScreenRelativeCoords
source§impl Default for ScreenRelativeCoords
impl Default for ScreenRelativeCoords
source§fn default() -> ScreenRelativeCoords
fn default() -> ScreenRelativeCoords
Returns the “default value” for a type. Read more
source§impl PartialEq for ScreenRelativeCoords
impl PartialEq for ScreenRelativeCoords
source§fn eq(&self, other: &ScreenRelativeCoords) -> bool
fn eq(&self, other: &ScreenRelativeCoords) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScreenRelativeCoords
impl Eq for ScreenRelativeCoords
impl StructuralEq for ScreenRelativeCoords
impl StructuralPartialEq for ScreenRelativeCoords
Auto Trait Implementations§
impl RefUnwindSafe for ScreenRelativeCoords
impl Send for ScreenRelativeCoords
impl Sync for ScreenRelativeCoords
impl Unpin for ScreenRelativeCoords
impl UnwindSafe for ScreenRelativeCoords
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