Skip to main content

State

Trait State 

Source
pub trait State:
    Clone
    + Send
    + Sync
    + 'static
    + Add<Output = Self>
    + Mul<f64, Output = Self> {
    // Required method
    fn zero() -> Self;
}
Expand description

Algebraic requirements for SDE state types. f64 and nalgebra::SVector<f64, N> both satisfy this automatically.

Required Methods§

Source

fn zero() -> Self

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.

Implementations on Foreign Types§

Source§

impl State for f64

Source§

fn zero() -> Self

Source§

impl<const N: usize> State for SVector<f64, N>

Source§

fn zero() -> Self

Implementors§