Struct webrender_api::units::WorldPixel
source · pub struct WorldPixel;
Expand description
Geometry in the document’s coordinate space (logical pixels).
Trait Implementations§
source§impl Clone for WorldPixel
impl Clone for WorldPixel
source§fn clone(&self) -> WorldPixel
fn clone(&self) -> WorldPixel
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 WorldPixel
impl Debug for WorldPixel
source§impl Hash for WorldPixel
impl Hash for WorldPixel
source§impl MallocSizeOf for WorldPixel
impl MallocSizeOf for WorldPixel
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl Ord for WorldPixel
impl Ord for WorldPixel
source§fn cmp(&self, other: &WorldPixel) -> Ordering
fn cmp(&self, other: &WorldPixel) -> 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<WorldPixel> for WorldPixel
impl PartialEq<WorldPixel> for WorldPixel
source§fn eq(&self, other: &WorldPixel) -> bool
fn eq(&self, other: &WorldPixel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<WorldPixel> for WorldPixel
impl PartialOrd<WorldPixel> for WorldPixel
source§fn partial_cmp(&self, other: &WorldPixel) -> Option<Ordering>
fn partial_cmp(&self, other: &WorldPixel) -> 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 more