Trait Parameter

Source
pub trait Parameter {
    // Required method
    fn new(x: f64) -> Self;
}
Expand description

A Parameter is a typed wrapper around a f64.

Required Methods§

Source

fn new(x: f64) -> Self

Return a new parameter from the provided f64.

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.

Implementors§