[][src]Struct piet_embedded_graphics::batch::PixelBlock

pub struct PixelBlock {
    pub x_left: u8,
    pub x_right: u8,
    pub y_top: u8,
    pub y_bottom: u8,
    pub colors: Vec<u16, U100>,
}

A block of contiguous pixel rows with the same start and end column number

Fields

x_left: u8

Start column number

x_right: u8

End column number

y_top: u8

Start row number

y_bottom: u8

End row number

colors: Vec<u16, U100>

List of pixel colours for the entire block, row by row

Auto Trait Implementations

impl Send for PixelBlock

impl Sync for PixelBlock

impl Unpin for PixelBlock

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RoundFrom<T> for T[src]

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.