#[repr(transparent)]pub struct GraphicsPixelFormat(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl GraphicsPixelFormat
impl GraphicsPixelFormat
pub const PIXEL_RED_GREEN_BLUE_RESERVED_8_BIT_PER_COLOR: GraphicsPixelFormat = _
pub const PIXEL_BLUE_GREEN_RED_RESERVED_8_BIT_PER_COLOR: GraphicsPixelFormat = _
pub const PIXEL_BIT_MASK: GraphicsPixelFormat = _
pub const PIXEL_BLT_ONLY: GraphicsPixelFormat = _
pub const PIXEL_FORMAT_MAX: GraphicsPixelFormat = _
Trait Implementations§
source§impl Clone for GraphicsPixelFormat
impl Clone for GraphicsPixelFormat
source§fn clone(&self) -> GraphicsPixelFormat
fn clone(&self) -> GraphicsPixelFormat
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 GraphicsPixelFormat
impl Debug for GraphicsPixelFormat
source§impl Default for GraphicsPixelFormat
impl Default for GraphicsPixelFormat
source§fn default() -> GraphicsPixelFormat
fn default() -> GraphicsPixelFormat
Returns the “default value” for a type. Read more
source§impl Hash for GraphicsPixelFormat
impl Hash for GraphicsPixelFormat
source§impl Ord for GraphicsPixelFormat
impl Ord for GraphicsPixelFormat
source§fn cmp(&self, other: &GraphicsPixelFormat) -> Ordering
fn cmp(&self, other: &GraphicsPixelFormat) -> 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 GraphicsPixelFormat
impl PartialEq for GraphicsPixelFormat
source§impl PartialOrd for GraphicsPixelFormat
impl PartialOrd for GraphicsPixelFormat
impl Copy for GraphicsPixelFormat
impl Eq for GraphicsPixelFormat
impl StructuralPartialEq for GraphicsPixelFormat
Auto Trait Implementations§
impl Freeze for GraphicsPixelFormat
impl RefUnwindSafe for GraphicsPixelFormat
impl Send for GraphicsPixelFormat
impl Sync for GraphicsPixelFormat
impl Unpin for GraphicsPixelFormat
impl UnwindSafe for GraphicsPixelFormat
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
)