pub struct SoftElementInit {
pub kind: u32,
pub particles: [u32; 4],
pub rest: f32,
pub compliance: f32,
pub yield_strain: f32,
pub break_strain: f32,
pub plastic_flow: f32,
}Fields§
§kind: u32§particles: [u32; 4]§rest: f32§compliance: f32§yield_strain: f32§break_strain: f32§plastic_flow: f32Auto Trait Implementations§
impl Freeze for SoftElementInit
impl RefUnwindSafe for SoftElementInit
impl Send for SoftElementInit
impl Sync for SoftElementInit
impl Unpin for SoftElementInit
impl UnsafeUnpin for SoftElementInit
impl UnwindSafe for SoftElementInit
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