Trait machine_vision_formats::ImageMutData [−][src]
pub trait ImageMutData<F>: ImageData<F> {
fn buffer_mut_ref(&mut self) -> ImageBufferMutRef<'_, F>;
}
Expand description
A mutable image.
The pixel format is specified as the type F
.
Required methods
fn buffer_mut_ref(&mut self) -> ImageBufferMutRef<'_, F>
fn buffer_mut_ref(&mut self) -> ImageBufferMutRef<'_, F>
Returns the image mutable buffer specified by pixel format F
.
This does not copy the data but returns a mutable view of it.