[][src]Struct meander::Meander1D

pub struct Meander1D(pub UnitSinusoid, pub UnitSinusoid, pub UnitSinusoid);

Represents a curve that meanders through 1-dimensional space. Consists of 3 sinusoids whose values are averaged.

Methods

impl Meander1D[src]

pub fn evaluate(self, t: f64) -> f64[src]

Find the value of the curve at a given point in time.

Trait Implementations

impl Copy for Meander1D[src]

impl Clone for Meander1D[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Meander1D[src]

impl Distribution<Meander1D> for Standard[src]

fn sample_iter<R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
    R: Rng
[src]

Create an iterator that generates random values of T, using rng as the source of randomness. Read more

Auto Trait Implementations

impl Send for Meander1D

impl Sync for Meander1D

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto 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<T> Same for T

type Output = T

Should always be Self