[][src]Struct sdl2::pixels::PixelMasks

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 RefUnwindSafe for PixelMasks

impl Send for PixelMasks

impl Sync for PixelMasks

impl Unpin for PixelMasks

impl UnwindSafe for PixelMasks

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.