pub trait ElasticElement<C>where
C: Elastic,
Self: SolidElement,{
type Forces;
type Stiffnesses;
type Error;
// Required methods
fn nodal_forces(
&self,
constitutive_model: &C,
nodal_coordinates: &Self::Coordinates,
) -> Result<Self::Forces, Self::Error>;
fn nodal_stiffnesses(
&self,
constitutive_model: &C,
nodal_coordinates: &Self::Coordinates,
) -> Result<Self::Stiffnesses, Self::Error>;
}Required Associated Types§
Required Methods§
fn nodal_forces( &self, constitutive_model: &C, nodal_coordinates: &Self::Coordinates, ) -> Result<Self::Forces, Self::Error>
fn nodal_stiffnesses( &self, constitutive_model: &C, nodal_coordinates: &Self::Coordinates, ) -> Result<Self::Stiffnesses, Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".