[][src]Struct eyros::Mix2

pub struct Mix2<A, B> {
    pub v0: Mix<A>,
    pub v1: Mix<B>,
}

Mix coordinate container

Fields

v0: Mix<A>

Access the i-th element.

v1: Mix<B>

Access the i-th element.

Implementations

impl<A, B> Mix2<A, B>[src]

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

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

Trait Implementations

impl<A: Clone, B: Clone> Clone for Mix2<A, B>[src]

impl<A: Copy, B: Copy> Copy for Mix2<A, B>[src]

impl<A, B> CountBytes for Mix2<A, B> where
    A: CountBytes,
    B: CountBytes
[src]

impl<A: Debug, B: Debug> Debug for Mix2<A, B>[src]

impl<A: Eq, B: Eq> Eq for Mix2<A, B>[src]

impl<A, B> FromBytes for Mix2<A, B> where
    A: FromBytes,
    B: FromBytes
[src]

impl<A, B> Into<(Mix<A>, Mix<B>)> for Mix2<A, B>[src]

impl<A, B> Into<Mix2<A, B>> for (Mix<A>, Mix<B>)[src]

impl<A: PartialEq, B: PartialEq> PartialEq<Mix2<A, B>> for Mix2<A, B>[src]

impl<A, B> Point for Mix2<A, B> where
    ((A, A), (B, B)): 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>, 
[src]

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

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

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

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

impl<A, B> StructuralEq for Mix2<A, B>[src]

impl<A, B> StructuralPartialEq for Mix2<A, B>[src]

impl<A, B> ToBytes for Mix2<A, B> where
    A: ToBytes + CountBytes,
    B: ToBytes + CountBytes
[src]

Auto Trait Implementations

impl<A, B> RefUnwindSafe for Mix2<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe

impl<A, B> Send for Mix2<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for Mix2<A, B> where
    A: Sync,
    B: Sync

impl<A, B> Unpin for Mix2<A, B> where
    A: Unpin,
    B: Unpin

impl<A, B> UnwindSafe for Mix2<A, B> where
    A: UnwindSafe,
    B: 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]