pub struct Mover<'a> {
pub seed: u64,
pub emitter: u32,
pub input: &'a dyn Fn(u32) -> f32,
}Expand description
Whose motion NodeMotion::advance steps: the system’s seed and the emitter’s number, which key its random draws,
and the system’s inputs its values may read.
Fields§
§seed: u64§emitter: u32§input: &'a dyn Fn(u32) -> f32Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Mover<'a>
impl<'a> !Send for Mover<'a>
impl<'a> !Sync for Mover<'a>
impl<'a> !UnwindSafe for Mover<'a>
impl<'a> Forget for Mover<'a>
impl<'a> Freeze for Mover<'a>
impl<'a> Unpin for Mover<'a>
impl<'a> UnsafeUnpin for Mover<'a>
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