Trait rust_rcs_core::util::ranges::RangeOperations
source · pub trait RangeOperations<Rhs: ?Sized = Self>where
Self: Sized,{
// Required methods
fn intersects(&self, rhs: &Rhs) -> bool;
fn covering(&self, rhs: &Rhs) -> bool;
fn covered_by(&self, rhs: &Rhs) -> bool;
fn union(&self, rhs: &Rhs) -> Option<Self>;
}