pub struct PhysicalSize(/* private fields */);
Expand description
A size represented in physical pixels.
Implementations§
Trait Implementations§
source§impl Clone for PhysicalSize
impl Clone for PhysicalSize
source§fn clone(&self) -> PhysicalSize
fn clone(&self) -> PhysicalSize
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 PhysicalSize
impl Debug for PhysicalSize
source§impl From<PhysicalSize> for Size
impl From<PhysicalSize> for Size
source§fn from(size: PhysicalSize) -> Self
fn from(size: PhysicalSize) -> Self
Converts to this type from the input type.
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)