pub struct SoftMaterial {
pub stretch: f32,
pub shear: f32,
pub bend: f32,
pub volume: f32,
pub yield_strain: f32,
pub break_strain: f32,
pub plastic_flow: f32,
}Fields§
§stretch: f32§shear: f32§bend: f32§volume: f32§yield_strain: f32§break_strain: f32§plastic_flow: f32Implementations§
Trait Implementations§
Source§impl Clone for SoftMaterial
impl Clone for SoftMaterial
Source§fn clone(&self) -> SoftMaterial
fn clone(&self) -> SoftMaterial
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SoftMaterial
Source§impl Debug for SoftMaterial
impl Debug for SoftMaterial
Source§impl PartialEq for SoftMaterial
impl PartialEq for SoftMaterial
impl StructuralPartialEq for SoftMaterial
Auto Trait Implementations§
impl Freeze for SoftMaterial
impl RefUnwindSafe for SoftMaterial
impl Send for SoftMaterial
impl Sync for SoftMaterial
impl Unpin for SoftMaterial
impl UnsafeUnpin for SoftMaterial
impl UnwindSafe for SoftMaterial
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