Struct sdl2::pixels::PixelMasks
source · pub struct PixelMasks {
pub bpp: u8,
pub rmask: u32,
pub gmask: u32,
pub bmask: u32,
pub amask: u32,
}
Fields§
§bpp: u8
Bits per pixel; usually 15, 16, or 32
rmask: u32
The red mask
gmask: u32
The green mask
bmask: u32
The blue mask
amask: u32
The alpha mask
Auto Trait Implementations§
impl Freeze for PixelMasks
impl RefUnwindSafe for PixelMasks
impl Send for PixelMasks
impl Sync for PixelMasks
impl Unpin for PixelMasks
impl UnwindSafe for PixelMasks
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