pub struct FluidFrame {
pub time: f32,
pub density: Vec<f32>,
pub vx: Vec<f32>,
pub vy: Vec<f32>,
}Expand description
A single snapshot of the fluid state.
Fields§
§time: f32§density: Vec<f32>§vx: Vec<f32>§vy: Vec<f32>Auto Trait Implementations§
impl Freeze for FluidFrame
impl RefUnwindSafe for FluidFrame
impl Send for FluidFrame
impl Sync for FluidFrame
impl Unpin for FluidFrame
impl UnsafeUnpin for FluidFrame
impl UnwindSafe for FluidFrame
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