Trait MinMax

Source
pub trait MinMax {
    // Required methods
    fn min() -> Self;
    fn max() -> Self;
}
Expand description

Trait used for default values with ClosedInterval

Required Methods§

Source

fn min() -> Self

Source

fn max() -> 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.

Implementors§