#[repr(transparent)]pub struct Pixels(_);
Implementations§
Trait Implementations§
source§impl AddAssign<Pixels> for Pixels
impl AddAssign<Pixels> for Pixels
source§fn add_assign(&mut self, rhs: Pixels)
fn add_assign(&mut self, rhs: Pixels)
Performs the
+=
operation. Read moresource§impl<'de> Deserialize<'de> for Pixels
impl<'de> Deserialize<'de> for Pixels
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl DivAssign<Pixels> for Pixels
impl DivAssign<Pixels> for Pixels
source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moresource§impl<__RhsT> DivAssign<__RhsT> for Pixelswhere
f32: DivAssign<__RhsT>,
impl<__RhsT> DivAssign<__RhsT> for Pixelswhere f32: DivAssign<__RhsT>,
source§fn div_assign(&mut self, rhs: __RhsT)
fn div_assign(&mut self, rhs: __RhsT)
Performs the
/=
operation. Read moresource§impl From<Pixels> for AbsoluteLength
impl From<Pixels> for AbsoluteLength
source§impl From<Pixels> for AvailableSpace
impl From<Pixels> for AvailableSpace
source§impl From<Pixels> for DefiniteLength
impl From<Pixels> for DefiniteLength
source§impl MulAssign<f32> for Pixels
impl MulAssign<f32> for Pixels
source§fn mul_assign(&mut self, other: f32)
fn mul_assign(&mut self, other: f32)
Performs the
*=
operation. Read moresource§impl Ord for Pixels
impl Ord for Pixels
source§impl PartialEq<Pixels> for Pixels
impl PartialEq<Pixels> for Pixels
source§impl PartialOrd<Pixels> for Pixels
impl PartialOrd<Pixels> for Pixels
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RemAssign<Pixels> for Pixels
impl RemAssign<Pixels> for Pixels
source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%=
operation. Read moresource§impl SubAssign<Pixels> for Pixels
impl SubAssign<Pixels> for Pixels
source§fn sub_assign(&mut self, rhs: Pixels)
fn sub_assign(&mut self, rhs: Pixels)
Performs the
-=
operation. Read moreimpl Copy for Pixels
impl Eq for Pixels
impl StructuralPartialEq for Pixels
Auto Trait Implementations§
impl RefUnwindSafe for Pixels
impl Send for Pixels
impl Sync for Pixels
impl Unpin for Pixels
impl UnwindSafe for Pixels
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.