pub struct Decoded {
pub info: BlobInfo,
pub pixels: PixelData,
pub mask: Option<Vec<u8>>,
}Fields§
§info: BlobInfo§pixels: PixelData§mask: Option<Vec<u8>>Implementations§
Source§impl Decoded
impl Decoded
pub fn into_ndarray<T: NdArrayElement>(self) -> Result<ArrayD<T>>
pub fn into_mask_ndarray(self) -> Result<Option<ArrayD<u8>>>
Trait Implementations§
impl StructuralPartialEq for Decoded
Auto Trait Implementations§
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decoded
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