pub struct Planes {
pub width: u32,
pub height: u32,
pub bytes_per_sample: usize,
pub planes: [Vec<u8>; 4],
}Expand description
Four half-resolution planes decomposed from a mosaic, as raw sample bytes in the source’s own byte order.
Fields§
§width: u32Width of each plane (half the mosaic width).
height: u32Height of each plane (half the mosaic height).
bytes_per_sample: usize§planes: [Vec<u8>; 4]Trait Implementations§
impl Eq for Planes
impl StructuralPartialEq for Planes
Auto Trait Implementations§
impl Freeze for Planes
impl RefUnwindSafe for Planes
impl Send for Planes
impl Sync for Planes
impl Unpin for Planes
impl UnsafeUnpin for Planes
impl UnwindSafe for Planes
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