[][src]Struct cpurender::Paint

pub struct Paint {
    pub x: usize,
    pub y: usize,
    pub r: u8,
    pub g: u8,
    pub b: u8,
    pub a: u8,
}

Instruction to paint a single pixel.

Fields

x: usizey: usizer: u8g: u8b: u8a: u8

Trait Implementations

impl Clone for Paint[src]

impl Copy for Paint[src]

impl Debug for Paint[src]

impl Eq for Paint[src]

impl Hash for Paint[src]

impl Ord for Paint[src]

impl PartialEq<Paint> for Paint[src]

impl PartialOrd<Paint> for Paint[src]

impl StructuralEq for Paint[src]

impl StructuralPartialEq for Paint[src]

Auto Trait Implementations

impl RefUnwindSafe for Paint

impl Send for Paint

impl Sync for Paint

impl Unpin for Paint

impl UnwindSafe for Paint

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> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

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

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

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,