pub struct PhysicsConfig {
pub gravity: [f32; 3],
pub damping: f32,
pub angular_damping: f32,
pub solve_iterations: u32,
pub relaxation: f32,
pub slop: f32,
pub restitution_threshold: f32,
}Fields§
§gravity: [f32; 3]§damping: f32§angular_damping: f32§solve_iterations: u32§relaxation: f32§slop: f32§restitution_threshold: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for PhysicsConfig
impl RefUnwindSafe for PhysicsConfig
impl Send for PhysicsConfig
impl Sync for PhysicsConfig
impl Unpin for PhysicsConfig
impl UnsafeUnpin for PhysicsConfig
impl UnwindSafe for PhysicsConfig
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