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