pub trait Solid<'a>where
Self: Constitutive<'a>,{
// Required methods
fn bulk_modulus(&self) -> &Scalar;
fn shear_modulus(&self) -> &Scalar;
}
Expand description
Required methods for solid constitutive models.
Required Methods§
Sourcefn bulk_modulus(&self) -> &Scalar
fn bulk_modulus(&self) -> &Scalar
Returns the bulk modulus.
Sourcefn shear_modulus(&self) -> &Scalar
fn shear_modulus(&self) -> &Scalar
Returns the shear modulus.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.