pub struct ScreenRelativeCoords {
pub x: usize,
pub y: usize,
}Expand description
Relative to the top left of the screen
Fields§
§x: usize§y: usizeImplementations§
Trait Implementations§
Source§impl Clone for ScreenRelativeCoords
impl Clone for ScreenRelativeCoords
Source§fn clone(&self) -> ScreenRelativeCoords
fn clone(&self) -> ScreenRelativeCoords
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 ScreenRelativeCoords
Source§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
impl Eq for ScreenRelativeCoords
Source§impl PartialEq for ScreenRelativeCoords
impl PartialEq for ScreenRelativeCoords
impl StructuralPartialEq for ScreenRelativeCoords
Auto Trait Implementations§
impl Freeze for ScreenRelativeCoords
impl RefUnwindSafe for ScreenRelativeCoords
impl Send for ScreenRelativeCoords
impl Sync for ScreenRelativeCoords
impl Unpin for ScreenRelativeCoords
impl UnsafeUnpin 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