Skip to main content

IntWrt

Trait IntWrt 

Source
pub trait IntWrt<Var> {
    type Output;

    // Required method
    fn integrate_wrt(&self, var: &Var) -> Self::Output;
}
Expand description

Typed integration. Integrating Self with respect to Var produces Self::Output with the correct physical dimension.

Required Associated Types§

Source

type Output

The output quantity type after integration.

Required Methods§

Source

fn integrate_wrt(&self, var: &Var) -> Self::Output

Integrate this quantity with respect to the given variable.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§