#[repr(C)]pub struct BootPixelMasks {
    pub red_mask: u32,
    pub green_mask: u32,
    pub blue_mask: u32,
    pub alpha_mask: u32,
}Expand description
Bit masks for BootPixelFormat::Bitmask.
For Rgb/Bgr, these are set to zero.
Fields§
§red_mask: u32Mask of the red channel within a pixel (e.g., 0x00ff0000).
green_mask: u32Mask of the green channel within a pixel (e.g., 0x0000ff00).
blue_mask: u32Mask of the blue channel within a pixel (e.g., 0x000000ff).
alpha_mask: u32Mask of the alpha channel within a pixel (often 0x00000000 if opaque).
Trait Implementations§
Source§impl Clone for BootPixelMasks
 
impl Clone for BootPixelMasks
Source§fn clone(&self) -> BootPixelMasks
 
fn clone(&self) -> BootPixelMasks
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreimpl Copy for BootPixelMasks
Auto Trait Implementations§
impl Freeze for BootPixelMasks
impl RefUnwindSafe for BootPixelMasks
impl Send for BootPixelMasks
impl Sync for BootPixelMasks
impl Unpin for BootPixelMasks
impl UnwindSafe for BootPixelMasks
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