Skip to main content

FreeBodyLoads

Trait FreeBodyLoads 

Source
pub trait FreeBodyLoads {
    // Required method
    fn loads(&self, inputs: &LoadInputs) -> Result<Loads, SimError>;
}
Expand description

The loads a caller puts on a free body, formed at each state the integrator evaluates. Any Fn(&LoadInputs) -> Result<Loads, SimError> is one; NoLoads is none.

Required Methods§

Source

fn loads(&self, inputs: &LoadInputs) -> Result<Loads, SimError>

The loads at inputs.

§Errors

Whatever the caller’s loads refuse; the flight stops with it.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§