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).