[][src]Struct worldgen::noisemap::NoiseMapCombination

pub struct NoiseMapCombination<T1, T2> { /* fields omitted */ }

A combination of noise maps.

Created when two noise maps are added together. The resulting noise map values will be normalised to between -1 and 1. This will take on the size of the largest noise map in the combination, meaning you only have to set the size once.


let nmc = nm1 + nm2 * 5;

Trait Implementations

impl<T: NoiseProvider, T1: NoiseMapGenerator, T2: NoiseMapGenerator> Add<NoiseMap<T>> for NoiseMapCombination<T1, T2>[src]

type Output = NoiseMapCombination<NoiseMap<T>, NoiseMapCombination<T1, T2>>

The resulting type after applying the + operator.

impl<L1: NoiseMapGenerator, L2: NoiseMapGenerator, R1: NoiseMapGenerator, R2: NoiseMapGenerator> Add<NoiseMapCombination<R1, R2>> for NoiseMapCombination<L1, L2>[src]

type Output = NoiseMapCombination<NoiseMapCombination<L1, L2>, NoiseMapCombination<R1, R2>>

The resulting type after applying the + operator.

impl<T: NoiseProvider, T1: NoiseMapGenerator, T2: NoiseMapGenerator> Add<NoiseMapCombination<T1, T2>> for NoiseMap<T>[src]

type Output = NoiseMapCombination<NoiseMap<T>, NoiseMapCombination<T1, T2>>

The resulting type after applying the + operator.

impl<T: NoiseMapGenerator, T1: NoiseMapGenerator, T2: NoiseMapGenerator> Add<NoiseMapCombination<T1, T2>> for ScaledNoiseMap<T>[src]

type Output = NoiseMapCombination<ScaledNoiseMap<T>, NoiseMapCombination<T1, T2>>

The resulting type after applying the + operator.

impl<T: NoiseMapGenerator, T1: NoiseMapGenerator, T2: NoiseMapGenerator> Add<ScaledNoiseMap<T>> for NoiseMapCombination<T1, T2>[src]

type Output = NoiseMapCombination<ScaledNoiseMap<T>, NoiseMapCombination<T1, T2>>

The resulting type after applying the + operator.

impl<T1: Clone, T2: Clone> Clone for NoiseMapCombination<T1, T2>[src]

impl<T1: Copy, T2: Copy> Copy for NoiseMapCombination<T1, T2>[src]

impl<T1: Debug, T2: Debug> Debug for NoiseMapCombination<T1, T2>[src]

impl<T1: NoiseMapGenerator, T2: NoiseMapGenerator> Mul<i64> for NoiseMapCombination<T1, T2>[src]

type Output = ScaledNoiseMap<NoiseMapCombination<T1, T2>>

The resulting type after applying the * operator.

impl<T1: NoiseMapGenerator, T2: NoiseMapGenerator> NoiseMapGenerator for NoiseMapCombination<T1, T2>[src]

impl<T1: NoiseMapGenerator, T2: NoiseMapGenerator> NoiseMapGeneratorBase for NoiseMapCombination<T1, T2>[src]

Auto Trait Implementations

impl<T1, T2> RefUnwindSafe for NoiseMapCombination<T1, T2> where
    T1: RefUnwindSafe,
    T2: RefUnwindSafe

impl<T1, T2> Send for NoiseMapCombination<T1, T2> where
    T1: Send,
    T2: Send

impl<T1, T2> Sync for NoiseMapCombination<T1, T2> where
    T1: Sync,
    T2: Sync

impl<T1, T2> Unpin for NoiseMapCombination<T1, T2> where
    T1: Unpin,
    T2: Unpin

impl<T1, T2> UnwindSafe for NoiseMapCombination<T1, T2> where
    T1: UnwindSafe,
    T2: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.