pub trait MaxValueSubOne {
    // Required method
    fn max_value_sub_one() -> Self;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> MaxValueSubOne for T
where T: Sub<Output = Self> + Bounded + One,