pub struct Plane<'a> { /* private fields */ }
Expand description
Picture plane (i.e. a planar array of pixel components).
Implementations§
Source§impl Plane<'_>
impl Plane<'_>
Sourcepub fn lines_mut(&mut self) -> LinesIterMut<'_> ⓘ
pub fn lines_mut(&mut self) -> LinesIterMut<'_> ⓘ
Get an iterator over all mutable lines.
Sourcepub fn line_size(&self) -> usize
pub fn line_size(&self) -> usize
Get line size (note: the line size doesn’t necessarily need to be equal to picture width).
Sourcepub fn line_count(&self) -> usize
pub fn line_count(&self) -> usize
Get number of lines (note: the number of lines doesn’t necessarily need to be equal to to picture height).
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