#[repr(C)]
pub enum PixelFormat {
ARGB1555,
ARGB8888,
RGB565,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for PixelFormat
impl Clone for PixelFormat
source§fn clone(&self) -> PixelFormat
fn clone(&self) -> PixelFormat
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 PixelFormat
impl Debug for PixelFormat
source§impl Hash for PixelFormat
impl Hash for PixelFormat
source§impl Ord for PixelFormat
impl Ord for PixelFormat
source§fn cmp(&self, other: &PixelFormat) -> Ordering
fn cmp(&self, other: &PixelFormat) -> 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<PixelFormat> for PixelFormat
impl PartialEq<PixelFormat> for PixelFormat
source§fn eq(&self, other: &PixelFormat) -> bool
fn eq(&self, other: &PixelFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<PixelFormat> for PixelFormat
impl PartialOrd<PixelFormat> for PixelFormat
source§fn partial_cmp(&self, other: &PixelFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &PixelFormat) -> 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 more