Trait machine_vision_formats::Stride

source ·
pub trait Stride {
    // Required method
    fn stride(&self) -> usize;
}
Expand description

An image whose data is stored such that successive rows are a stride apart.

This is sometimes also called “pitch”.

Required Methods§

source

fn stride(&self) -> usize

the width (in bytes) of each row of image data

This is sometimes also called “pitch”.

Implementors§