Struct webrender_api::units::RasterPixel
source · pub struct RasterPixel;
Expand description
Geometry gets rasterized in a given root coordinate space. This is often the root spatial node (world space), but may be a local space for a variety of reasons (e.g. perspective).
Trait Implementations§
source§impl Clone for RasterPixel
impl Clone for RasterPixel
source§fn clone(&self) -> RasterPixel
fn clone(&self) -> RasterPixel
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 RasterPixel
impl Debug for RasterPixel
source§impl Hash for RasterPixel
impl Hash for RasterPixel
source§impl Ord for RasterPixel
impl Ord for RasterPixel
source§fn cmp(&self, other: &RasterPixel) -> Ordering
fn cmp(&self, other: &RasterPixel) -> 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 RasterPixel
impl PartialEq for RasterPixel
source§fn eq(&self, other: &RasterPixel) -> bool
fn eq(&self, other: &RasterPixel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RasterPixel
impl PartialOrd for RasterPixel
source§fn partial_cmp(&self, other: &RasterPixel) -> Option<Ordering>
fn partial_cmp(&self, other: &RasterPixel) -> 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 RasterPixel
impl Eq for RasterPixel
impl StructuralPartialEq for RasterPixel
Auto Trait Implementations§
impl Freeze for RasterPixel
impl RefUnwindSafe for RasterPixel
impl Send for RasterPixel
impl Sync for RasterPixel
impl Unpin for RasterPixel
impl UnwindSafe for RasterPixel
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