[][src]Struct worldgen::noisemap::ScaledNoiseMap

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

A scaled noise map.

Created when a noise map is multiplied:


let snm = nm * 5;

Implementations

impl<T> ScaledNoiseMap<T>[src]

pub fn new(nm: T, scale: i64) -> ScaledNoiseMap<T>[src]

pub fn scale(&self) -> i64[src]

Trait Implementations

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

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

The resulting type after applying the + operator.

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

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

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

impl<T: NoiseMapGenerator> Mul<i64> for ScaledNoiseMap<T>[src]

type Output = ScaledNoiseMap<ScaledNoiseMap<T>>

The resulting type after applying the * operator.

impl<T: NoiseMapGenerator> NoiseMapGenerator for ScaledNoiseMap<T>[src]

impl<T: NoiseMapGenerator> NoiseMapGeneratorBase for ScaledNoiseMap<T>[src]

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for ScaledNoiseMap<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.