Struct poisson::Generator [] [src]

pub struct Generator<F, V, R, A> where
    F: Float,
    V: Vector<F>,
    R: Rng,
    A: Creator<F, V>, 
{ /* fields omitted */ }

Generates poisson-disk distribution in [0, 1]d area.

Methods

impl<F, V, R, A> Generator<F, V, R, A> where
    F: Float,
    V: Vector<F>,
    R: Rng,
    A: Creator<F, V>, 
[src]

[src]

Sets the radius of the generator.

[src]

Returns the radius of the generator.

[src]

Returns the type of the generator.

impl<F, V, R, A> Generator<F, V, R, A> where
    F: Float,
    V: Vector<F>,
    R: Rng + Clone,
    A: Creator<F, V>, 
[src]

[src]

Generates Poisson-disk distribution.

Trait Implementations

impl<F: Clone, V: Clone, R: Clone, A: Clone> Clone for Generator<F, V, R, A> where
    F: Float,
    V: Vector<F>,
    R: Rng,
    A: Creator<F, V>, 
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Debug, V: Debug, R: Debug, A: Debug> Debug for Generator<F, V, R, A> where
    F: Float,
    V: Vector<F>,
    R: Rng,
    A: Creator<F, V>, 
[src]

[src]

Formats the value using the given formatter.

impl<F, V, R, A> IntoIterator for Generator<F, V, R, A> where
    F: Float,
    V: Vector<F>,
    R: Rng,
    A: Creator<F, V>, 
[src]

Which kind of iterator are we turning this into?

The type of the elements being iterated over.

[src]

Creates an iterator from a value. Read more