Type Definition imgref::ImgRef
[−]
[src]
type ImgRef<'a, Pixel> = Img<&'a [Pixel]>;
Reference to pixels inside another image.
Pass this structure by value (i.e. ImgRef
, not &ImgRef
).
Only width
of pixels of every stride
can be modified. The buf
may be longer than height
*stride
, but the extra space should be ignored.