[][src]Trait gut::ops::Absorb

pub trait Absorb<RHS = Self> {
    type Output;
    fn absorb(self, rhs: RHS) -> Self::Output;
}

Associated Types

type Output

Loading content...

Required methods

fn absorb(self, rhs: RHS) -> Self::Output

Absorb another object. For example if a = [-1, 2] and b = [3, 4] is are closed intervals, then a.absorb(b) == [-1 4].

Loading content...

Implementors

impl<'a, T: Float> Absorb<BBox<T>> for &'a mut BBox<T>[src]

type Output = &'a mut BBox<T>

impl<'a, T: Float, P> Absorb<P> for &'a mut BBox<T> where
    P: Into<[T; 3]>, 
[src]

type Output = &'a mut BBox<T>

impl<T: Float> Absorb<T> for ClosedInterval<T>[src]

type Output = Self

impl<T: Float> Absorb<ClosedInterval<T>> for ClosedInterval<T>[src]

type Output = Self

impl<T: Float> Absorb<OpenInterval<T>> for OpenInterval<T>[src]

type Output = Self

Loading content...