[][src]Struct eyros::Mix4

pub struct Mix4<A, B, C, D> {
    pub v0: Mix<A>,
    pub v1: Mix<B>,
    pub v2: Mix<C>,
    pub v3: Mix<D>,
}

Mix coordinate container

Fields

v0: Mix<A>

Access the i-th element.

v1: Mix<B>

Access the i-th element.

v2: Mix<C>

Access the i-th element.

v3: Mix<D>

Access the i-th element.

Implementations

impl<A, B, C, D> Mix4<A, B, C, D>[src]

pub fn new(v0: Mix<A>, v1: Mix<B>, v2: Mix<C>, v3: Mix<D>) -> Self[src]

Create a new Mix container from a Mix element for each dimension.

Trait Implementations

impl<A: Clone, B: Clone, C: Clone, D: Clone> Clone for Mix4<A, B, C, D>[src]

impl<A: Copy, B: Copy, C: Copy, D: Copy> Copy for Mix4<A, B, C, D>[src]

impl<A, B, C, D> CountBytes for Mix4<A, B, C, D> where
    A: CountBytes,
    B: CountBytes,
    C: CountBytes,
    D: CountBytes
[src]

impl<A: Debug, B: Debug, C: Debug, D: Debug> Debug for Mix4<A, B, C, D>[src]

impl<A: Eq, B: Eq, C: Eq, D: Eq> Eq for Mix4<A, B, C, D>[src]

impl<A, B, C, D> FromBytes for Mix4<A, B, C, D> where
    A: FromBytes,
    B: FromBytes,
    C: FromBytes,
    D: FromBytes
[src]

impl<A, B, C, D> Into<(Mix<A>, Mix<B>, Mix<C>, Mix<D>)> for Mix4<A, B, C, D>[src]

impl<A, B, C, D> Into<Mix4<A, B, C, D>> for (Mix<A>, Mix<B>, Mix<C>, Mix<D>)[src]

impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq> PartialEq<Mix4<A, B, C, D>> for Mix4<A, B, C, D>[src]

impl<A, B, C, D> Point for Mix4<A, B, C, D> where
    ((A, A), (B, B), (C, C), (D, D)): Point,
    A: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = A> + Div<Output = A> + From<u8>,
    B: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = B> + Div<Output = B> + From<u8>,
    C: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = C> + Div<Output = C> + From<u8>,
    D: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = D> + Div<Output = D> + From<u8>, 
[src]

type Bounds = ((A, B, C, D), (A, B, C, D))

Bounding-box corresponding to (min,max) as used by db.query(bbox).

type Range = ((A, A), (B, B), (C, C), (D, D))

Range corresponding to ((minX,maxX),(minY,maxY),...)

impl<A, B, C, D> StructuralEq for Mix4<A, B, C, D>[src]

impl<A, B, C, D> StructuralPartialEq for Mix4<A, B, C, D>[src]

impl<A, B, C, D> ToBytes for Mix4<A, B, C, D> where
    A: ToBytes + CountBytes,
    B: ToBytes + CountBytes,
    C: ToBytes + CountBytes,
    D: ToBytes + CountBytes
[src]

Auto Trait Implementations

impl<A, B, C, D> RefUnwindSafe for Mix4<A, B, C, D> where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
    C: RefUnwindSafe,
    D: RefUnwindSafe

impl<A, B, C, D> Send for Mix4<A, B, C, D> where
    A: Send,
    B: Send,
    C: Send,
    D: Send

impl<A, B, C, D> Sync for Mix4<A, B, C, D> where
    A: Sync,
    B: Sync,
    C: Sync,
    D: Sync

impl<A, B, C, D> Unpin for Mix4<A, B, C, D> where
    A: Unpin,
    B: Unpin,
    C: Unpin,
    D: Unpin

impl<A, B, C, D> UnwindSafe for Mix4<A, B, C, D> where
    A: UnwindSafe,
    B: UnwindSafe,
    C: UnwindSafe,
    D: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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> Value for T where
    T: Debug + Clone + Send + Sync + ToBytes + FromBytes + CountBytes
[src]