Enum allegro::color::PixelFormat
source · #[repr(u32)]
pub enum PixelFormat {
Show 27 variants
PixelFormatAny,
PixelFormatAnyNoAlpha,
PixelFormatAnyWithAlpha,
PixelFormatAny15NoAlpha,
PixelFormatAny16NoAlpha,
PixelFormatAny16WithAlpha,
PixelFormatAny24NoAlpha,
PixelFormatAny32NoAlpha,
PixelFormatAny32WithAlpha,
PixelFormatArgb8888,
PixelFormatRgba8888,
PixelFormatArgb4444,
PixelFormatRgb888,
PixelFormatRgb565,
PixelFormatRgb555,
PixelFormatRgba5551,
PixelFormatArgb1555,
PixelFormatAbgr8888,
PixelFormatXbgr8888,
PixelFormatBgr888,
PixelFormatBgr565,
PixelFormatBgr555,
PixelFormatRgbx8888,
PixelFormatXrgb888,
PixelFormatAbgrF32,
PixelFormatAbgr8888Le,
PixelFormatRgba4444,
}
Variants
PixelFormatAny
PixelFormatAnyNoAlpha
PixelFormatAnyWithAlpha
PixelFormatAny15NoAlpha
PixelFormatAny16NoAlpha
PixelFormatAny16WithAlpha
PixelFormatAny24NoAlpha
PixelFormatAny32NoAlpha
PixelFormatAny32WithAlpha
PixelFormatArgb8888
PixelFormatRgba8888
PixelFormatArgb4444
PixelFormatRgb888
PixelFormatRgb565
PixelFormatRgb555
PixelFormatRgba5551
PixelFormatArgb1555
PixelFormatAbgr8888
PixelFormatXbgr8888
PixelFormatBgr888
PixelFormatBgr565
PixelFormatBgr555
PixelFormatRgbx8888
PixelFormatXrgb888
PixelFormatAbgrF32
PixelFormatAbgr8888Le
PixelFormatRgba4444
Implementations
Trait Implementations
sourceimpl Clone for PixelFormat
impl Clone for PixelFormat
sourcefn clone(&self) -> PixelFormat
fn clone(&self) -> PixelFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PixelFormat
Auto Trait Implementations
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more