Struct pax_runtime_api::SizePixels
source · pub struct SizePixels(pub Numeric);
Tuple Fields§
§0: Numeric
Trait Implementations§
source§impl Clone for SizePixels
impl Clone for SizePixels
source§fn clone(&self) -> SizePixels
fn clone(&self) -> SizePixels
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 Default for SizePixels
impl Default for SizePixels
source§impl From<&SizePixels> for f64
impl From<&SizePixels> for f64
source§fn from(value: &SizePixels) -> Self
fn from(value: &SizePixels) -> Self
Converts to this type from the input type.
source§impl From<Size> for SizePixels
impl From<Size> for SizePixels
source§impl PartialEq<Numeric> for SizePixels
impl PartialEq<Numeric> for SizePixels
source§impl PartialEq<SizePixels> for Numeric
impl PartialEq<SizePixels> for Numeric
source§fn eq(&self, other: &SizePixels) -> bool
fn eq(&self, other: &SizePixels) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SizePixels
Auto Trait Implementations§
impl RefUnwindSafe for SizePixels
impl Send for SizePixels
impl Sync for SizePixels
impl Unpin for SizePixels
impl UnwindSafe for SizePixels
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