Struct noise::permutationtable::PermutationTable
source · [−]pub struct PermutationTable { /* private fields */ }
Expand description
A seed table, required by all noise functions.
Table creation is expensive, so in most circumstances you’ll only want to create one of these per generator.
Implementations
Trait Implementations
sourceimpl Clone for PermutationTable
impl Clone for PermutationTable
sourcefn clone(&self) -> PermutationTable
fn clone(&self) -> PermutationTable
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PermutationTable
impl Debug for PermutationTable
sourceimpl Distribution<PermutationTable> for Standard
impl Distribution<PermutationTable> for Standard
sourceimpl NoiseHasher for PermutationTable
impl NoiseHasher for PermutationTable
impl Copy for PermutationTable
Auto Trait Implementations
impl RefUnwindSafe for PermutationTable
impl Send for PermutationTable
impl Sync for PermutationTable
impl Unpin for PermutationTable
impl UnwindSafe for PermutationTable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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