pub trait Coalesce<T>: Sized {
// Required method
fn coalesce_with(&self, other: &T) -> Option<Self>;
}
Required Methods§
fn coalesce_with(&self, other: &T) -> Option<Self>
Object Safety§
This trait is not object safe.
Implementors§
impl<E: Integer + Copy> Coalesce<ContiguousIntegerSet<E>> for ContiguousIntegerSet<E>
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