pub struct Meander1D(pub UnitSinusoid, pub UnitSinusoid, pub UnitSinusoid);
Expand description
Represents a curve that meanders through 1-dimensional space. Consists of 3 sinusoids whose values are averaged.
This can be generated randomly using rand::random()
.
Tuple Fields§
§0: UnitSinusoid
§1: UnitSinusoid
§2: UnitSinusoid
Implementations§
Trait Implementations§
Source§impl Distribution<Meander1D> for Standard
impl Distribution<Meander1D> for Standard
impl Copy for Meander1D
Auto Trait Implementations§
impl Freeze for Meander1D
impl RefUnwindSafe for Meander1D
impl Send for Meander1D
impl Sync for Meander1D
impl Unpin for Meander1D
impl UnwindSafe for Meander1D
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more