#[repr(C)]pub struct BltPixel {
pub blue: u8,
pub green: u8,
pub red: u8,
/* private fields */
}
Expand description
Format of pixel data used for blitting.
This is a BGR 24-bit format with an 8-bit padding, to keep each pixel 32-bit in size.
Fields§
§blue: u8
§green: u8
§red: u8
Implementations§
Trait Implementations§
impl Copy for BltPixel
Auto Trait Implementations§
impl Freeze for BltPixel
impl RefUnwindSafe for BltPixel
impl Send for BltPixel
impl Sync for BltPixel
impl Unpin for BltPixel
impl UnwindSafe for BltPixel
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