Trait interval_adapter::BoundExt
source · 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.