pub struct BppMask {
pub bpp: c_int,
pub r_mask: u32,
pub g_mask: u32,
pub b_mask: u32,
pub a_mask: u32,
}Expand description
Bpp and RGBA mask.
Fields§
§bpp: c_intBits per pixel, normally 15, 16 or 32.
r_mask: u32Mask for the red component.
g_mask: u32Mask for the green component.
b_mask: u32Mask for the blue component.
a_mask: u32Mask for the alpha component.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BppMask
impl Send for BppMask
impl Sync for BppMask
impl Unpin for BppMask
impl UnwindSafe for BppMask
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