pub trait BoundExt<T>{
// Required methods
fn into_left_closed(&self) -> T;
fn into_right_closed(&self) -> T;
}Expand description
Extend bound adding few methods.
Required Methods§
Sourcefn into_left_closed(&self) -> T
fn into_left_closed(&self) -> T
Convert bound to an integer to resemble left bound of a closed interval.
Sourcefn into_right_closed(&self) -> T
fn into_right_closed(&self) -> T
Convert bound to an integer to resemble right bound of a closed interval.