pub struct Wave {
pub psi_prev: Vec<f64>,
pub psi: Vec<f64>,
pub alpha: f64,
}Expand description
Simulates a wave traveling across the shape
Fields§
§psi_prev: Vec<f64>§psi: Vec<f64>§alpha: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Wave
impl RefUnwindSafe for Wave
impl Send for Wave
impl Sync for Wave
impl Unpin for Wave
impl UnwindSafe for Wave
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