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>),
}
impl<'a, T> !Send for Op<'a, T>
impl<'a, T> !Sync for Op<'a, T>
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T> Downcast<T> for T
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.