Struct greenglas::image::Image[][src]

pub struct Image { /* fields omitted */ }
Expand description

The Transformable Data Type Image

Implementations

Create a new Image from a DynamicImage

Create a new Image from a Path

Create a new Image from Buffer

Create a new Image from RGB style pixel container such as Vec

Create a new Image from RGBa style pixel container such as Vec

Create a new Image from Luma (greyscale) style pixel container such as Vec

Create a new Image from LumaA style pixel container such as Vec

Trait Implementations

Modify F with self.

Modify F with self.

Modify F with self.

Modify self using the provided modifier.

Modify self through a mutable reference with the provided modifier.

Transforms the non-numeric data into a numeric Vec

Transforms non-numeric data into a numeric SharedTensor Read more

Write into a native Coaster Memory.

Write into a native Coaster Memory with a offset.

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

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.