pub struct ForceDebugSample {
pub position: Vec3,
pub total_force: Vec3,
pub per_field: Vec<(ForceFieldId, Vec3)>,
}Expand description
Debug information about forces acting on a particle at a given point.
Fields§
§position: Vec3§total_force: Vec3§per_field: Vec<(ForceFieldId, Vec3)>Trait Implementations§
Source§impl Clone for ForceDebugSample
impl Clone for ForceDebugSample
Source§fn clone(&self) -> ForceDebugSample
fn clone(&self) -> ForceDebugSample
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ForceDebugSample
impl RefUnwindSafe for ForceDebugSample
impl Send for ForceDebugSample
impl Sync for ForceDebugSample
impl Unpin for ForceDebugSample
impl UnsafeUnpin for ForceDebugSample
impl UnwindSafe for ForceDebugSample
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