Enum easygpu::renderer::Op[][src]

pub enum Op<'a, T> {
    Clear(&'a dyn Canvas<Color = T>, T),
    Fill(&'a dyn Canvas<Color = T>, &'a [T]),
    Transfer {
        f: &'a dyn Canvas<Color = T>,
        buf: &'a [T],
        rect: SizedRect<i32, ScreenSpace>,
    },
    Blit(&'a dyn Canvas<Color = T>, SizedRect<u32, ScreenSpace>, SizedRect<u32, ScreenSpace>),
}

Variants

Clear(&'a dyn Canvas<Color = T>, T)

Tuple Fields of Clear

0: &'a dyn Canvas<Color = T>1: T
Fill(&'a dyn Canvas<Color = T>, &'a [T])

Tuple Fields of Fill

0: &'a dyn Canvas<Color = T>1: &'a [T]
Transfer

Fields of Transfer

f: &'a dyn Canvas<Color = T>buf: &'a [T]rect: SizedRect<i32, ScreenSpace>
Blit(&'a dyn Canvas<Color = T>, SizedRect<u32, ScreenSpace>, SizedRect<u32, ScreenSpace>)

Tuple Fields of Blit

0: &'a dyn Canvas<Color = T>1: SizedRect<u32, ScreenSpace>2: SizedRect<u32, ScreenSpace>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.