pub struct Planes8<'a> { /* private fields */ }Expand description
8-bit pixel plane accessor
Implementations§
Source§impl<'a> Planes8<'a>
impl<'a> Planes8<'a>
Sourcepub fn y(&self) -> PlaneView8<'a>
pub fn y(&self) -> PlaneView8<'a>
Y (luma) plane as a 2D strided view
Sourcepub fn u(&self) -> Option<PlaneView8<'a>>
pub fn u(&self) -> Option<PlaneView8<'a>>
U (chroma) plane, if present (None for grayscale)
Sourcepub fn v(&self) -> Option<PlaneView8<'a>>
pub fn v(&self) -> Option<PlaneView8<'a>>
V (chroma) plane, if present (None for grayscale)
Auto Trait Implementations§
impl<'a> Freeze for Planes8<'a>
impl<'a> !RefUnwindSafe for Planes8<'a>
impl<'a> Send for Planes8<'a>
impl<'a> Sync for Planes8<'a>
impl<'a> Unpin for Planes8<'a>
impl<'a> UnsafeUnpin for Planes8<'a>
impl<'a> !UnwindSafe for Planes8<'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