Struct webrender_api::units::PicturePixel
source · pub struct PicturePixel;
Expand description
Geometry in the coordinate system of a Picture.
Trait Implementations§
source§impl Clone for PicturePixel
impl Clone for PicturePixel
source§fn clone(&self) -> PicturePixel
fn clone(&self) -> PicturePixel
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 PicturePixel
impl Debug for PicturePixel
source§impl Hash for PicturePixel
impl Hash for PicturePixel
source§impl Ord for PicturePixel
impl Ord for PicturePixel
source§fn cmp(&self, other: &PicturePixel) -> Ordering
fn cmp(&self, other: &PicturePixel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PicturePixel
impl PartialEq for PicturePixel
source§fn eq(&self, other: &PicturePixel) -> bool
fn eq(&self, other: &PicturePixel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PicturePixel
impl PartialOrd for PicturePixel
source§fn partial_cmp(&self, other: &PicturePixel) -> Option<Ordering>
fn partial_cmp(&self, other: &PicturePixel) -> Option<Ordering>
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 moreimpl Copy for PicturePixel
impl Eq for PicturePixel
impl StructuralPartialEq for PicturePixel
Auto Trait Implementations§
impl Freeze for PicturePixel
impl RefUnwindSafe for PicturePixel
impl Send for PicturePixel
impl Sync for PicturePixel
impl Unpin for PicturePixel
impl UnwindSafe for PicturePixel
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