pub struct CookedSoa {
pub natoms: u32,
pub positions: Vec<[f64; 3]>,
pub forces: Option<Vec<[f64; 3]>>,
pub velocities: Option<Vec<[f64; 3]>>,
}Expand description
Decoded cooked numerics (always f64 for v1).
Fields§
§natoms: u32§positions: Vec<[f64; 3]>§forces: Option<Vec<[f64; 3]>>§velocities: Option<Vec<[f64; 3]>>Implementations§
Trait Implementations§
impl StructuralPartialEq for CookedSoa
Auto Trait Implementations§
impl Freeze for CookedSoa
impl RefUnwindSafe for CookedSoa
impl Send for CookedSoa
impl Sync for CookedSoa
impl Unpin for CookedSoa
impl UnsafeUnpin for CookedSoa
impl UnwindSafe for CookedSoa
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