pub struct Power<T, Source1, Source2, const DIM: usize>where
    Source1: NoiseFn<T, DIM>,
    Source2: NoiseFn<T, DIM>,
{ pub source1: Source1, pub source2: Source2, /* private fields */ }
Expand description

Noise function that raises the output value from the first source function to the power of the output value of the second source function.

Fields

source1: Source1

Outputs a value.

source2: Source2

Outputs a value.

Implementations

Trait Implementations

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.