pub struct PixelFormats;Expand description
The well-known pixel formats.
Implementations§
Source§impl PixelFormats
impl PixelFormats
pub const RGB565: PixelFormat
pub const RGBA8888: PixelFormat
pub const RGBA64: PixelFormat
pub const BGRA8888: PixelFormat
pub const BLACK_WHITE: PixelFormat
pub const GRAY2: PixelFormat
pub const GRAY4: PixelFormat
pub const GRAY8: PixelFormat
pub const GRAY16: PixelFormat
pub const GRAY32_FLOAT: PixelFormat
pub const RGB24: PixelFormat
pub const RGB32: PixelFormat
pub const BGR24: PixelFormat
pub const BGR32: PixelFormat
pub const BGR555: PixelFormat
pub const BGR565: PixelFormat
Auto Trait Implementations§
impl Freeze for PixelFormats
impl RefUnwindSafe for PixelFormats
impl Send for PixelFormats
impl Sync for PixelFormats
impl Unpin for PixelFormats
impl UnsafeUnpin for PixelFormats
impl UnwindSafe for PixelFormats
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more