[][src]Struct worldgen::noisemap::NoiseMap

pub struct NoiseMap<T> { /* fields omitted */ }

The standard noise map.

This is the base noise map, and is created by wrapping a noise source. It has properties that allow the setting of the generation seed, the size of the generated chunks, and the coordinate scale.

Implementations

impl<T: NoiseProvider> NoiseMap<T>[src]

pub fn new(noise: T) -> NoiseMap<T>[src]

Construct a new noise map with the default properties.

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<T1: NoiseProvider, T2: NoiseProvider> Add<NoiseMap<T2>> for NoiseMap<T1>[src]

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

The resulting type after applying the + operator.

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

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

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<T1: NoiseProvider, T2: NoiseMapGenerator> Add<ScaledNoiseMap<T2>> for NoiseMap<T1>[src]

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

The resulting type after applying the + operator.

impl<T: Clone> Clone for NoiseMap<T>[src]

impl<T: Copy> Copy for NoiseMap<T>[src]

impl<T: Debug> Debug for NoiseMap<T>[src]

impl<T: Default> Default for NoiseMap<T>[src]

impl<T: NoiseProvider> Mul<i64> for NoiseMap<T>[src]

type Output = ScaledNoiseMap<NoiseMap<T>>

The resulting type after applying the * operator.

impl<T: NoiseProvider> NoiseMapGenerator for NoiseMap<T>[src]

impl<T: NoiseProvider> NoiseMapGeneratorBase for NoiseMap<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for NoiseMap<T> where
    T: RefUnwindSafe

impl<T> Send for NoiseMap<T> where
    T: Send

impl<T> Sync for NoiseMap<T> where
    T: Sync

impl<T> Unpin for NoiseMap<T> where
    T: Unpin

impl<T> UnwindSafe for NoiseMap<T> where
    T: 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.