[][src]Struct noise_fn::helpers::IgnoreSeed

pub struct IgnoreSeed<Seed, Inner> { /* fields omitted */ }

This is a workaround for allowing both seedable and non-seedable noise functions in combining types.

This will be replaced by making Noise and Seedable mutually exclusive once this is possible. This will allow the combining types to distinguish between seedable and non-seedable noise functions and seed only the seedable ones.

Implementations

impl<Seed, Inner> IgnoreSeed<Seed, Inner>[src]

pub fn new(inner: Inner) -> Self[src]

Trait Implementations

impl<Seed: Clone, Inner: Clone> Clone for IgnoreSeed<Seed, Inner>[src]

impl<Seed: Copy, Inner: Copy> Copy for IgnoreSeed<Seed, Inner>[src]

impl<Seed, Inner: Noise> Noise for IgnoreSeed<Seed, Inner>[src]

type Value = Inner::Value

type Unseeded = Self

impl<Arg, Seed, Inner: NoiseDomain<Arg>> NoiseDomain<Arg> for IgnoreSeed<Seed, Inner>[src]

impl<Seed, Inner> Seedable for IgnoreSeed<Seed, Inner>[src]

type Seed = Seed

type Seeded = Self

impl<Seed, Inner> Seeded for IgnoreSeed<Seed, Inner>[src]

type Config = Self

Auto Trait Implementations

impl<Seed, Inner> RefUnwindSafe for IgnoreSeed<Seed, Inner> where
    Inner: RefUnwindSafe

impl<Seed, Inner> Send for IgnoreSeed<Seed, Inner> where
    Inner: Send

impl<Seed, Inner> Sync for IgnoreSeed<Seed, Inner> where
    Inner: Sync

impl<Seed, Inner> Unpin for IgnoreSeed<Seed, Inner> where
    Inner: Unpin

impl<Seed, Inner> UnwindSafe for IgnoreSeed<Seed, Inner> where
    Inner: 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<TNoise> Noise for TNoise where
    TNoise: SeedOnlyNoise
[src]

type Value = <TNoise as SeedOnlyNoise>::Value

type Unseeded = EmptyConfig<TNoise>

impl<Noise> Seeded for Noise where
    Noise: SeedOnlyNoise
[src]

type Config = EmptyConfig<Noise>

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,