pub struct PhysicalRect {
pub left: i32,
pub top: i32,
pub right: i32,
pub bottom: i32,
}Fields§
§left: i32§top: i32§right: i32§bottom: i32Implementations§
Source§impl PhysicalRect
impl PhysicalRect
Trait Implementations§
Source§impl Clone for PhysicalRect
impl Clone for PhysicalRect
Source§fn clone(&self) -> PhysicalRect
fn clone(&self) -> PhysicalRect
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 PhysicalRect
Source§impl Debug for PhysicalRect
impl Debug for PhysicalRect
Source§impl Default for PhysicalRect
impl Default for PhysicalRect
Source§fn default() -> PhysicalRect
fn default() -> PhysicalRect
Returns the “default value” for a type. Read more
impl Eq for PhysicalRect
Source§impl Hash for PhysicalRect
impl Hash for PhysicalRect
Source§impl PartialEq for PhysicalRect
impl PartialEq for PhysicalRect
impl StructuralPartialEq for PhysicalRect
Auto Trait Implementations§
impl Freeze for PhysicalRect
impl RefUnwindSafe for PhysicalRect
impl Send for PhysicalRect
impl Sync for PhysicalRect
impl Unpin for PhysicalRect
impl UnsafeUnpin for PhysicalRect
impl UnwindSafe for PhysicalRect
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