#[non_exhaustive]pub enum StripEvent {
Begin {
width: u32,
height: u32,
descriptor: PixelDescriptor,
},
Strip {
meta: BatchMeta,
pixels: PixelBuffer,
},
Finish,
}Expand description
What a ChannelRowSink sends to the async side.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Begin
The decoder announced the output geometry.
Fields
§
descriptor: PixelDescriptorOutput pixel format.
Strip
One finished strip.
Finish
The decoder finished.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StripEvent
impl RefUnwindSafe for StripEvent
impl Send for StripEvent
impl Sync for StripEvent
impl Unpin for StripEvent
impl UnsafeUnpin for StripEvent
impl UnwindSafe for StripEvent
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