[][src]Trait math::interval::traits::Coalesce

pub trait Coalesce<T>: Sized {
    pub fn coalesce_with(&self, other: &T) -> Option<Self>;
}

Required methods

pub fn coalesce_with(&self, other: &T) -> Option<Self>[src]

Loading content...

Implementors

impl<E: Integer + Copy> Coalesce<ContiguousIntegerSet<E>> for ContiguousIntegerSet<E>[src]

returns an interval if only if the two intervals can be merged into a single non-empty interval. An empty interval can be merged with any other non-empty interval

impl<E: Integer + Copy> Coalesce<E> for ContiguousIntegerSet<E>[src]

Loading content...