pub struct Example<'a> { /* private fields */ }
Expand description

An example to be used in texture generation

Implementations

Creates a new example builder from the specified image source

Creates a new example input from the specified image source

Use a guide map that describe a ‘FROM’ transformation.

Note: If any one example has a guide, then they all must have a guide, otherwise a session will not be created.

Specify how the example image is sampled during texture generation.

By default, all pixels in the example can be sampled.

Trait Implementations

Performs the conversion.

Performs the conversion.

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 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.