pub enum Pixels {
Float(Vec<f32>),
Uint8(Vec<u8>),
Uint16(Vec<u16>),
Float16(Vec<f16>),
}Expand description
Pixels returned from the decoder
Variants§
Float(Vec<f32>)
f32 pixels
Uint8(Vec<u8>)
u8 pixels
Uint16(Vec<u16>)
u16 pixels
Float16(Vec<f16>)
f16 pixels
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pixels
impl RefUnwindSafe for Pixels
impl Send for Pixels
impl Sync for Pixels
impl Unpin for Pixels
impl UnwindSafe for Pixels
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