pub struct ScreenRect {
pub x: usize,
pub y: usize,
pub width: usize,
pub height: usize,
}Fields§
§x: usize§y: usize§width: usize§height: usizeImplementations§
Trait Implementations§
Source§impl Clone for ScreenRect
impl Clone for ScreenRect
Source§fn clone(&self) -> ScreenRect
fn clone(&self) -> ScreenRect
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 ScreenRect
Source§impl Debug for ScreenRect
impl Debug for ScreenRect
impl Eq for ScreenRect
Source§impl PartialEq for ScreenRect
impl PartialEq for ScreenRect
Source§fn eq(&self, other: &ScreenRect) -> bool
fn eq(&self, other: &ScreenRect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScreenRect
Auto Trait Implementations§
impl Freeze for ScreenRect
impl RefUnwindSafe for ScreenRect
impl Send for ScreenRect
impl Sync for ScreenRect
impl Unpin for ScreenRect
impl UnsafeUnpin for ScreenRect
impl UnwindSafe for ScreenRect
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