Struct noise_fn::helpers::IgnoreSeed
source · [−]pub struct IgnoreSeed<Seed, Inner> { /* private fields */ }
Expand description
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
sourceimpl<Seed, Inner> IgnoreSeed<Seed, Inner>
impl<Seed, Inner> IgnoreSeed<Seed, Inner>
Trait Implementations
sourceimpl<Seed: Clone, Inner: Clone> Clone for IgnoreSeed<Seed, Inner>
impl<Seed: Clone, Inner: Clone> Clone for IgnoreSeed<Seed, Inner>
sourcefn clone(&self) -> IgnoreSeed<Seed, Inner>
fn clone(&self) -> IgnoreSeed<Seed, Inner>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<Seed, Inner: Noise> Noise for IgnoreSeed<Seed, Inner>
impl<Seed, Inner: Noise> Noise for IgnoreSeed<Seed, Inner>
type Value = <Inner as Noise>::Value
type Unseeded = IgnoreSeed<Seed, Inner>
sourceimpl<Arg, Seed, Inner: NoiseDomain<Arg>> NoiseDomain<Arg> for IgnoreSeed<Seed, Inner>
impl<Arg, Seed, Inner: NoiseDomain<Arg>> NoiseDomain<Arg> for IgnoreSeed<Seed, Inner>
sourceimpl<Seed, Inner> Seedable for IgnoreSeed<Seed, Inner>
impl<Seed, Inner> Seedable for IgnoreSeed<Seed, Inner>
sourceimpl<Seed, Inner> Seeded for IgnoreSeed<Seed, Inner>
impl<Seed, Inner> Seeded for IgnoreSeed<Seed, Inner>
type Config = IgnoreSeed<Seed, Inner>
impl<Seed: Copy, Inner: Copy> Copy for IgnoreSeed<Seed, Inner>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more