pub enum Interval {
Open,
Closed,
}Variants§
Implementations§
Source§impl Interval
impl Interval
pub fn outer(&self, rhs: &Self) -> bool
pub fn lb_sign(&self) -> &'static str
pub fn ub_sign(&self) -> &'static str
pub fn union(&self, rhs: &Self) -> Self
pub fn intersect(&self, rhs: &Self) -> Self
pub fn lb_op<T: 'static + PartialOrd<Rhs>, Rhs: 'static>( self, ) -> Box<dyn ComparisonOperator<T, Rhs>>
pub fn lb_op_with<T: 'static + PartialOrd<Rhs>, Rhs: 'static>( self, precision: T, ) -> Box<dyn ComparisonOperator<T, Rhs>>
pub fn ub_op<T: 'static + PartialOrd<Rhs>, Rhs: 'static>( self, ) -> Box<dyn ComparisonOperator<T, Rhs>>
pub fn ub_op_with<T: 'static + PartialOrd<Rhs>, Rhs: 'static>( self, precision: T, ) -> Box<dyn ComparisonOperator<T, Rhs>>
Trait Implementations§
impl Copy for Interval
impl Eq for Interval
impl StructuralPartialEq for Interval
Auto Trait Implementations§
impl Freeze for Interval
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnwindSafe for Interval
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more