pub struct MechanicalProps {
pub youngs_modulus: Pressure,
pub poisson_ratio: f64,
pub yield_strength: Pressure,
}Expand description
What it does under load.
Fields§
§youngs_modulus: PressureYoung’s modulus.
poisson_ratio: f64Poisson’s ratio, dimensionless — how much it bulges sideways when squeezed.
yield_strength: PressureWhere it stops coming back. For a brittle material this is the fracture stress, and there is no plastic region before it.
Trait Implementations§
Source§impl Clone for MechanicalProps
impl Clone for MechanicalProps
Source§fn clone(&self) -> MechanicalProps
fn clone(&self) -> MechanicalProps
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 MechanicalProps
Source§impl Debug for MechanicalProps
impl Debug for MechanicalProps
Source§impl<'de> Deserialize<'de> for MechanicalProps
impl<'de> Deserialize<'de> for MechanicalProps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MechanicalProps
impl PartialEq for MechanicalProps
Source§impl Serialize for MechanicalProps
impl Serialize for MechanicalProps
impl StructuralPartialEq for MechanicalProps
Auto Trait Implementations§
impl Freeze for MechanicalProps
impl RefUnwindSafe for MechanicalProps
impl Send for MechanicalProps
impl Sync for MechanicalProps
impl Unpin for MechanicalProps
impl UnsafeUnpin for MechanicalProps
impl UnwindSafe for MechanicalProps
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