Trait Middle

Source
pub trait Middle {
    // Required methods
    fn low() -> Self;
    fn high() -> Self;
}

Required Methods§

Source

fn low() -> Self

Source

fn high() -> 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§

Source§

impl<T> Middle for T
where T: Add<Output = Self> + Div<Output = Self> + Bounded + One + Two,