pub mod bounded;
pub mod centered;
pub use self::bounded::*;
pub use self::centered::*;
pub trait Interval<F>: PartialOrd<Self> + PartialOrd<F> {
#[must_use]
fn mean(&self) -> F;
#[must_use]
fn margin(&self) -> F;
#[must_use]
fn lower(&self) -> F;
#[must_use]
fn upper(&self) -> F;
#[must_use]
fn bounds(&self) -> (F, F);
#[must_use]
fn contains(&self, point: F) -> bool;
}