pub struct Plane<'a> {
pub data: &'a [u8],
pub bytes_per_row: usize,
}Expand description
A single plane of image data.
Fields§
§data: &'a [u8]§bytes_per_row: usizeAuto Trait Implementations§
impl<'a> Freeze for Plane<'a>
impl<'a> RefUnwindSafe for Plane<'a>
impl<'a> Send for Plane<'a>
impl<'a> Sync for Plane<'a>
impl<'a> Unpin for Plane<'a>
impl<'a> UnwindSafe for Plane<'a>
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