pub struct Softness {
pub bias_rate: f32,
pub mass_scale: f32,
pub impulse_scale: f32,
}Expand description
Soft constraint coefficients. (b3Softness)
Fields§
§bias_rate: f32§mass_scale: f32§impulse_scale: f32Trait Implementations§
impl Copy for Softness
impl StructuralPartialEq for Softness
Auto Trait Implementations§
impl Freeze for Softness
impl RefUnwindSafe for Softness
impl Send for Softness
impl Sync for Softness
impl Unpin for Softness
impl UnsafeUnpin for Softness
impl UnwindSafe for Softness
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