Constant PIXEL_STRIDE

Source
pub const PIXEL_STRIDE: usize = 4;
Expand description

The total number of bytes occupied by a pixel in memory.

All [VideoFormat]s supported by VirtIO have a pixel stride of 4.