Trait IsBetween01

Source
pub trait IsBetween01:
    IsBetween
    + Zero
    + One { }
Expand description

A value that can tell whether or not it is between 0 and 1 (inclusive).

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> IsBetween01 for T
where T: IsBetween + Zero + One,