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§impl PartialOrd for FramebufferPixel
impl PartialOrd for FramebufferPixel
source§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
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
)