Struct webrender_api::units::FramebufferPixel
source · pub struct FramebufferPixel;
Expand description
Geometry in the coordinate system of the framebuffer in physical pixels. It’s Y-flipped comparing to DevicePixel.
Trait Implementations§
source§impl Clone for FramebufferPixel
impl Clone for FramebufferPixel
source§fn clone(&self) -> FramebufferPixel
fn clone(&self) -> FramebufferPixel
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 FramebufferPixel
impl Debug for FramebufferPixel
source§impl<'de> Deserialize<'de> for FramebufferPixel
impl<'de> Deserialize<'de> for FramebufferPixel
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 FramebufferPixel
impl Hash for FramebufferPixel
source§impl Ord for FramebufferPixel
impl Ord for FramebufferPixel
source§fn cmp(&self, other: &FramebufferPixel) -> Ordering
fn cmp(&self, other: &FramebufferPixel) -> 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 FramebufferPixel
impl PartialEq for FramebufferPixel
source§fn eq(&self, other: &FramebufferPixel) -> bool
fn eq(&self, other: &FramebufferPixel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FramebufferPixel
impl PartialOrd for FramebufferPixel
source§fn partial_cmp(&self, other: &FramebufferPixel) -> Option<Ordering>
fn partial_cmp(&self, other: &FramebufferPixel) -> 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 moresource§impl Serialize for FramebufferPixel
impl Serialize for FramebufferPixel
impl Copy for FramebufferPixel
impl Eq for FramebufferPixel
impl StructuralPartialEq for FramebufferPixel
Auto Trait Implementations§
impl Freeze for FramebufferPixel
impl RefUnwindSafe for FramebufferPixel
impl Send for FramebufferPixel
impl Sync for FramebufferPixel
impl Unpin for FramebufferPixel
impl UnwindSafe for FramebufferPixel
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