pub struct Plane<'a> {
pub stride: i32,
pub data: &'a [u8],
}Expand description
A single plane of an image.
Fields§
§stride: i32The plane’s stride (the number of bytes for each row).
data: &'a [u8]The plane’s pixel data.
Auto 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