Struct webrender_api::units::LayoutPixel
source · pub struct LayoutPixel;
Expand description
Geometry in a stacking context’s local coordinate space (logical pixels).
Trait Implementations§
source§impl Clone for LayoutPixel
impl Clone for LayoutPixel
source§fn clone(&self) -> LayoutPixel
fn clone(&self) -> LayoutPixel
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 LayoutPixel
impl Debug for LayoutPixel
source§impl<'de> Deserialize<'de> for LayoutPixel
impl<'de> Deserialize<'de> for LayoutPixel
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 LayoutPixel
impl Hash for LayoutPixel
source§impl MallocSizeOf for LayoutPixel
impl MallocSizeOf for LayoutPixel
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 LayoutPixel
impl Ord for LayoutPixel
source§fn cmp(&self, other: &LayoutPixel) -> Ordering
fn cmp(&self, other: &LayoutPixel) -> 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 LayoutPixel
impl PartialEq for LayoutPixel
source§impl PartialOrd for LayoutPixel
impl PartialOrd for LayoutPixel
source§impl Peek for LayoutPixel
impl Peek for LayoutPixel
source§impl Poke for LayoutPixel
impl Poke for LayoutPixel
source§impl Serialize for LayoutPixel
impl Serialize for LayoutPixel
impl Copy for LayoutPixel
impl Eq for LayoutPixel
impl StructuralPartialEq for LayoutPixel
Auto Trait Implementations§
impl Freeze for LayoutPixel
impl RefUnwindSafe for LayoutPixel
impl Send for LayoutPixel
impl Sync for LayoutPixel
impl Unpin for LayoutPixel
impl UnwindSafe for LayoutPixel
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
)