pub struct LcdMask {
pub data: Vec<u8>,
pub width: u32,
pub height: u32,
}Expand description
3-byte-per-pixel LCD coverage mask. Callers composite via
composite_lcd_mask. The distinction from a normal RGBA image is
crucial: the three channels are independent coverage values, not
an RGB colour — they drive a per-channel blend where each subpixel
mixes the source colour with the destination colour by its own amount.
Fields§
§data: Vec<u8>§width: u32§height: u32Auto Trait Implementations§
impl Freeze for LcdMask
impl RefUnwindSafe for LcdMask
impl Send for LcdMask
impl Sync for LcdMask
impl Unpin for LcdMask
impl UnsafeUnpin for LcdMask
impl UnwindSafe for LcdMask
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