pub struct ShellMaterial {
pub youngs_modulus_pa: f64,
pub poisson_ratio: f64,
pub shear_modulus_pa: f64,
}Fields§
§youngs_modulus_pa: f64§poisson_ratio: f64§shear_modulus_pa: f64Implementations§
Source§impl ShellMaterial
impl ShellMaterial
pub fn validate(self) -> Result<(), ShellElementError>
Trait Implementations§
Source§impl Clone for ShellMaterial
impl Clone for ShellMaterial
Source§fn clone(&self) -> ShellMaterial
fn clone(&self) -> ShellMaterial
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 ShellMaterial
Source§impl Debug for ShellMaterial
impl Debug for ShellMaterial
Source§impl<'de> Deserialize<'de> for ShellMaterial
impl<'de> Deserialize<'de> for ShellMaterial
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 ShellMaterial
impl PartialEq for ShellMaterial
Source§impl Serialize for ShellMaterial
impl Serialize for ShellMaterial
impl StructuralPartialEq for ShellMaterial
Auto Trait Implementations§
impl Freeze for ShellMaterial
impl RefUnwindSafe for ShellMaterial
impl Send for ShellMaterial
impl Sync for ShellMaterial
impl Unpin for ShellMaterial
impl UnsafeUnpin for ShellMaterial
impl UnwindSafe for ShellMaterial
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