[][src]Trait spaces::Enclose

pub trait Enclose<S = Self> {
    fn enclose(self, other: &S) -> Self;

    fn enclose_many(self, other_spaces: &[S]) -> Self
    where
        Self: Sized
, { ... } }

Required methods

fn enclose(self, other: &S) -> Self

Return the smallest space enclosing self and other of type Self.

Loading content...

Provided methods

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized

Return the smallest space enclosing self and all other_spaces of type Self.

Loading content...

Implementors

impl Enclose<NonNegativeReals> for NonNegativeReals[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl Enclose<PositiveReals> for PositiveReals[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl Enclose<Reals> for Reals[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl Enclose<Binary> for Binary[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl Enclose<Integers> for Integers[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl Enclose<Naturals> for Naturals[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl Enclose<NonNegativeIntegers> for NonNegativeIntegers[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl Enclose<NonZeroIntegers> for NonZeroIntegers[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl Enclose<Ordinal> for Ordinal[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl Enclose<Partition> for Partition[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl<D1: Enclose, D2: Enclose> Enclose<PairSpace<D1, D2>> for PairSpace<D1, D2>[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl<D: Enclose + Clone> Enclose<DoubleSpace<D>> for DoubleSpace<D>[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl<D: Space + Enclose + Clone + Debug> Enclose<NamedSpace<D>> for NamedSpace<D>[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl<D: Space + Enclose + Clone> Enclose<LinearSpace<D>> for LinearSpace<D>[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

impl<T: Clone + PartialOrd> Enclose<Interval<T>> for Interval<T>[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

Loading content...