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<'de> Deserialize<'de> for WorldPixel
impl<'de> Deserialize<'de> for WorldPixel
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 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 for WorldPixel
impl PartialEq for WorldPixel
source§impl PartialOrd for WorldPixel
impl PartialOrd for WorldPixel
source§impl Serialize for WorldPixel
impl Serialize for WorldPixel
impl Copy for WorldPixel
impl Eq for WorldPixel
impl StructuralPartialEq for WorldPixel
Auto Trait Implementations§
impl Freeze for WorldPixel
impl RefUnwindSafe for WorldPixel
impl Send for WorldPixel
impl Sync for WorldPixel
impl Unpin for WorldPixel
impl UnwindSafe for WorldPixel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)