[][src]Trait mss_saliency::ImgExtMut

pub trait ImgExtMut<Pixel> {
    fn rows_padded_mut(&mut self) -> ChunksMut<'_, Pixel>;
}

Additional methods that depend on buffer size

To use these methods you need:

use imgref::*;

Required methods

fn rows_padded_mut(&mut self) -> ChunksMut<'_, Pixel>

Iterate over the entire buffer as rows, including all padding

Rows will have up to stride width, but the last row may be shorter.

Loading content...

Implementors

impl<Pixel, Container> ImgExtMut<Pixel> for Img<Container> where
    Container: AsMut<[Pixel]>, 
[src]

#[must_use]fn rows_padded_mut(&mut self) -> ChunksMut<'_, Pixel>[src]

Iterate over the entire buffer as rows, including all padding

Rows will have up to stride width, but the last row may be shorter.

Panics

If stride is 0

Loading content...