pub struct DecodeResult {
pub dims: Dims,
pub pixels: Vec<u8>,
}Expand description
Decoded image: dims + RGB8 pixels.
Fields§
§dims: DimsDecoded dimensions.
pixels: Vec<u8>RGB8 pixels, row-major.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecodeResult
impl RefUnwindSafe for DecodeResult
impl Send for DecodeResult
impl Sync for DecodeResult
impl Unpin for DecodeResult
impl UnsafeUnpin for DecodeResult
impl UnwindSafe for DecodeResult
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