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