#[repr(i32)]pub enum PixelFormat {
_0Rgb1555 = 0,
Xrgb8888 = 1,
Rgb565 = 2,
}Variants§
Trait Implementations§
Source§impl Clone for retro_pixel_format
impl Clone for retro_pixel_format
Source§fn clone(&self) -> retro_pixel_format
fn clone(&self) -> retro_pixel_format
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 retro_pixel_format
impl Debug for retro_pixel_format
Source§impl Default for retro_pixel_format
impl Default for retro_pixel_format
Source§fn default() -> retro_pixel_format
fn default() -> retro_pixel_format
Returns the “default value” for a type. Read more
Source§impl PartialEq for retro_pixel_format
impl PartialEq for retro_pixel_format
Source§fn eq(&self, other: &retro_pixel_format) -> bool
fn eq(&self, other: &retro_pixel_format) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for retro_pixel_format
impl Eq for retro_pixel_format
impl StructuralPartialEq for retro_pixel_format
Auto Trait Implementations§
impl Freeze for retro_pixel_format
impl RefUnwindSafe for retro_pixel_format
impl Send for retro_pixel_format
impl Sync for retro_pixel_format
impl Unpin for retro_pixel_format
impl UnsafeUnpin for retro_pixel_format
impl UnwindSafe for retro_pixel_format
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