[−][src]Struct worldgen::noisemap::NoiseMapCombination
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.
fn add(self, rhs: NoiseMap<T>) -> Self::Output
[src]
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.
fn add(self, rhs: NoiseMapCombination<R1, R2>) -> Self::Output
[src]
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.
fn add(self, rhs: NoiseMapCombination<T1, T2>) -> Self::Output
[src]
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.
fn add(self, rhs: NoiseMapCombination<T1, T2>) -> Self::Output
[src]
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.
fn add(self, rhs: ScaledNoiseMap<T>) -> Self::Output
[src]
impl<T1: Clone, T2: Clone> Clone for NoiseMapCombination<T1, T2>
[src]
fn clone(&self) -> NoiseMapCombination<T1, T2>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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.
fn mul(self, scale: i64) -> ScaledNoiseMap<NoiseMapCombination<T1, T2>>
[src]
impl<T1: NoiseMapGenerator, T2: NoiseMapGenerator> NoiseMapGenerator for NoiseMapCombination<T1, T2>
[src]
fn set<P: Property>(self, property: P) -> NoiseMapCombination<T1, T2>
[src]
fn get_size(&self) -> Size
[src]
fn set_seed(self, seed: Seed) -> NoiseMapCombination<T1, T2>
[src]
fn set_step(self, step: Step) -> NoiseMapCombination<T1, T2>
[src]
fn set_size(self, size: Size) -> 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,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
impl<T1, T2> Send for NoiseMapCombination<T1, T2> where
T1: Send,
T2: Send,
T1: Send,
T2: Send,
impl<T1, T2> Sync for NoiseMapCombination<T1, T2> where
T1: Sync,
T2: Sync,
T1: Sync,
T2: Sync,
impl<T1, T2> Unpin for NoiseMapCombination<T1, T2> where
T1: Unpin,
T2: Unpin,
T1: Unpin,
T2: Unpin,
impl<T1, T2> UnwindSafe for NoiseMapCombination<T1, T2> where
T1: UnwindSafe,
T2: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,