Struct luminance::shader::AdaptationFailure[][src]

pub struct AdaptationFailure<B, Sem, Out, Uni> where
    B: Shader
{ pub program: Program<B, Sem, Out, Uni>, pub error: ProgramError, }
Expand description

A Program uniform adaptation that has failed.

Parametricity

Fields

program: Program<B, Sem, Out, Uni>

Program used before trying to adapt.

error: ProgramError

Program error that prevented to adapt.

Implementations

Get the program and ignore the error.

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.