pub trait IntervalBound: Clone {
// Required methods
fn min_limit() -> Self;
fn max_limit() -> Self;
// Provided method
fn empty_value() -> Option<Self> { ... }
}Expand description
main trait to implement `Interval
Required Methods§
Provided Methods§
Sourcefn empty_value() -> Option<Self>
fn empty_value() -> Option<Self>
defaulting to None
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl IntervalBound for i8
default implementation of IntervalBound for i8
impl IntervalBound for i8
default implementation of IntervalBound for i8
Source§impl IntervalBound for i16
default implementation of IntervalBound for i16
impl IntervalBound for i16
default implementation of IntervalBound for i16
Source§impl IntervalBound for i32
default implementation of IntervalBound for i32
impl IntervalBound for i32
default implementation of IntervalBound for i32
Source§impl IntervalBound for i64
default implementation of IntervalBound for i64
impl IntervalBound for i64
default implementation of IntervalBound for i64
Source§impl IntervalBound for i128
default implementation of IntervalBound for i128
impl IntervalBound for i128
default implementation of IntervalBound for i128
Source§impl IntervalBound for u8
default implementation of IntervalBound for u8
impl IntervalBound for u8
default implementation of IntervalBound for u8
Source§impl IntervalBound for u16
default implementation of IntervalBound for u16
impl IntervalBound for u16
default implementation of IntervalBound for u16
Source§impl IntervalBound for u32
default implementation of IntervalBound for u32
impl IntervalBound for u32
default implementation of IntervalBound for u32
Source§impl IntervalBound for u64
default implementation of IntervalBound for u64
impl IntervalBound for u64
default implementation of IntervalBound for u64
Source§impl IntervalBound for u128
default implementation of IntervalBound for u128
impl IntervalBound for u128
default implementation of IntervalBound for u128