pub struct ImageMutRef<'a, C> { /* private fields */ }
Expand description

Mutable reference to an image or another mutable reference

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Pixel type

Shape of the image

Data containing image

Image size

Image width

Image height

Get pixel at the specified row and column

Create sub-image bounded by constraints, _max values are not inclusive.

Create immutable view to the image of the concrete type of ImageRef

Iterate over pixels

Get a mutable slice of image data

Get a mutable reference to the specified pixel

Create mutable sub-image bounded by constraints, _max values are not inclusive.

Create concrete type reference to the image

Create iterator over mutable references to all the pixel of the image

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.