pub struct SoftParticleInit {
pub position: [f32; 3],
pub prev_position: [f32; 3],
pub velocity: [f32; 3],
pub radius: f32,
pub inverse_mass: f32,
pub friction: f32,
pub support: f32,
pub rest_spacing: f32,
pub neighbour_offset: u32,
pub neighbour_count: u32,
pub owner: u32,
pub generation: u32,
}Fields§
§position: [f32; 3]§prev_position: [f32; 3]§velocity: [f32; 3]§radius: f32§inverse_mass: f32§friction: f32§support: f32§rest_spacing: f32§neighbour_offset: u32§neighbour_count: u32§owner: u32§generation: u32Auto Trait Implementations§
impl Freeze for SoftParticleInit
impl RefUnwindSafe for SoftParticleInit
impl Send for SoftParticleInit
impl Sync for SoftParticleInit
impl Unpin for SoftParticleInit
impl UnsafeUnpin for SoftParticleInit
impl UnwindSafe for SoftParticleInit
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