[][src]Struct spaces::TwoSpace

pub struct TwoSpace<D>(_);

2-dimensional homogeneous space.

Methods

impl<D> TwoSpace<D>[src]

pub fn new(ds: [D; 2]) -> Self[src]

pub fn iter(&self) -> SliceIter<D>[src]

impl TwoSpace<Interval>[src]

Trait Implementations

impl<D: Space> Space for TwoSpace<D>[src]

type Value = [D::Value; 2]

The data representation of the space.

impl<D, X> Surjection<[X; 2], [<D as Space>::Value; 2]> for TwoSpace<D> where
    D: Space + Surjection<X, <D as Space>::Value>,
    X: Clone
[src]

impl<D: Union + Clone> Union<TwoSpace<D>> for TwoSpace<D>[src]

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

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

impl<D: Intersection + Clone> Intersection<TwoSpace<D>> for TwoSpace<D>[src]

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

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

impl<D: Clone> From<[D; 2]> for TwoSpace<D>[src]

impl<D: Clone> Clone for TwoSpace<D>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<D: Copy> Copy for TwoSpace<D>[src]

impl<D: Debug> Debug for TwoSpace<D>[src]

impl<D: Space + Display> Display for TwoSpace<D>[src]

impl<D> Index<usize> for TwoSpace<D>[src]

type Output = D

The returned type after indexing.

Auto Trait Implementations

impl<D> Unpin for TwoSpace<D> where
    D: Unpin

impl<D> Send for TwoSpace<D> where
    D: Send

impl<D> Sync for TwoSpace<D> where
    D: Sync

impl<D> RefUnwindSafe for TwoSpace<D> where
    D: RefUnwindSafe

impl<D> UnwindSafe for TwoSpace<D> where
    D: UnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]