pub enum TextPixelRows<'a> {
Rgba(&'a mut [[u8; 4]]),
Rgb565Le(&'a mut [Rgb565Le]),
Rgb565Be(&'a mut [Rgb565Be]),
}Expand description
The pixels of a TextPixelWindow, in the format the renderer draws.
Variants§
Rgba(&'a mut [[u8; 4]])
Straight-alpha RGBA bytes.
Rgb565Le(&'a mut [Rgb565Le])
16-bit pixels stored low byte first.
Rgb565Be(&'a mut [Rgb565Be])
16-bit pixels stored high byte first.
Auto Trait Implementations§
impl<'a> !UnwindSafe for TextPixelRows<'a>
impl<'a> Forget for TextPixelRows<'a>
impl<'a> Freeze for TextPixelRows<'a>
impl<'a> Move for TextPixelRows<'a>
impl<'a> RefUnwindSafe for TextPixelRows<'a>
impl<'a> Send for TextPixelRows<'a>
impl<'a> Sync for TextPixelRows<'a>
impl<'a> Unpin for TextPixelRows<'a>
impl<'a> UnsafeUnpin for TextPixelRows<'a>
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