pub trait ImageMutData<F>: ImageData<F> {
// Required method
fn buffer_mut_ref(&mut self) -> ImageBufferMutRef<'_, F>;
}Expand description
A mutable image.
The pixel format is specified as the type F.
Required Methods§
Sourcefn 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.