[−][src]Struct eyros::Mix5
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.
v4: Mix<E>
Access the i-th element.
Implementations
impl<A, B, C, D, E> Mix5<A, B, C, D, E>
[src]
pub fn new(v0: Mix<A>, v1: Mix<B>, v2: Mix<C>, v3: Mix<D>, v4: Mix<E>) -> 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, E: Clone> Clone for Mix5<A, B, C, D, E>
[src]
impl<A: Copy, B: Copy, C: Copy, D: Copy, E: Copy> Copy for Mix5<A, B, C, D, E>
[src]
impl<A, B, C, D, E> CountBytes for Mix5<A, B, C, D, E> where
A: CountBytes,
B: CountBytes,
C: CountBytes,
D: CountBytes,
E: CountBytes,
[src]
A: CountBytes,
B: CountBytes,
C: CountBytes,
D: CountBytes,
E: CountBytes,
fn count_bytes(&self) -> usize
[src]
fn count_from_bytes(buf: &[u8]) -> Result<usize, Error>
[src]
fn count_from_bytes_more(buf: &[u8]) -> Result<Option<usize>, Error>
[src]
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug> Debug for Mix5<A, B, C, D, E>
[src]
impl<A: Eq, B: Eq, C: Eq, D: Eq, E: Eq> Eq for Mix5<A, B, C, D, E>
[src]
impl<A, B, C, D, E> FromBytes for Mix5<A, B, C, D, E> where
A: FromBytes,
B: FromBytes,
C: FromBytes,
D: FromBytes,
E: FromBytes,
[src]
A: FromBytes,
B: FromBytes,
C: FromBytes,
D: FromBytes,
E: FromBytes,
impl<A, B, C, D, E> Into<(Mix<A>, Mix<B>, Mix<C>, Mix<D>, Mix<E>)> for Mix5<A, B, C, D, E>
[src]
impl<A, B, C, D, E> Into<Mix5<A, B, C, D, E>> for (Mix<A>, Mix<B>, Mix<C>, Mix<D>, Mix<E>)
[src]
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq> PartialEq<Mix5<A, B, C, D, E>> for Mix5<A, B, C, D, E>
[src]
fn eq(&self, other: &Mix5<A, B, C, D, E>) -> bool
[src]
fn ne(&self, other: &Mix5<A, B, C, D, E>) -> bool
[src]
impl<A, B, C, D, E> Point for Mix5<A, B, C, D, E> where
((A, A), (B, B), (C, C), (D, D), (E, E)): 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>,
E: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = E> + Div<Output = E> + From<u8>,
[src]
((A, A), (B, B), (C, C), (D, D), (E, E)): 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>,
E: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = E> + Div<Output = E> + From<u8>,
type Bounds = ((A, B, C, D, E), (A, B, C, D, E))
Bounding-box corresponding to (min,max)
as used by db.query(bbox)
.
type Range = ((A, A), (B, B), (C, C), (D, D), (E, E))
Range corresponding to ((minX,maxX),(minY,maxY),...)
fn cmp_at(&self, other: &Self, level: usize) -> Ordering where
Self: Sized,
[src]
Self: Sized,
fn midpoint_upper(&self, other: &Self) -> Self where
Self: Sized,
[src]
Self: Sized,
fn serialize_at(&self, level: usize, dst: &mut [u8]) -> Result<usize, Error>
[src]
fn dim() -> usize
[src]
fn overlaps(&self, bbox: &Self::Bounds) -> bool
[src]
fn query_branch(
buf: &[u8],
bbox: &Self::Bounds,
bf: usize,
level: usize
) -> Result<(Vec<Cursor>, Vec<Block>), Error>
[src]
buf: &[u8],
bbox: &Self::Bounds,
bf: usize,
level: usize
) -> Result<(Vec<Cursor>, Vec<Block>), Error>
fn pivot_bytes_at(&self, level: usize) -> usize
[src]
fn count_bytes_at(buf: &[u8], level: usize) -> Result<usize, Error>
[src]
fn bounds(points: &Vec<Self>) -> Option<Self::Bounds>
[src]
fn bounds_to_range(bbox: Self::Bounds) -> Self::Range
[src]
fn format_at(_buf: &[u8], _level: usize) -> Result<String, Error>
[src]
impl<A, B, C, D, E> StructuralEq for Mix5<A, B, C, D, E>
[src]
impl<A, B, C, D, E> StructuralPartialEq for Mix5<A, B, C, D, E>
[src]
impl<A, B, C, D, E> ToBytes for Mix5<A, B, C, D, E> where
A: ToBytes + CountBytes,
B: ToBytes + CountBytes,
C: ToBytes + CountBytes,
D: ToBytes + CountBytes,
E: ToBytes + CountBytes,
[src]
A: ToBytes + CountBytes,
B: ToBytes + CountBytes,
C: ToBytes + CountBytes,
D: ToBytes + CountBytes,
E: ToBytes + CountBytes,
Auto Trait Implementations
impl<A, B, C, D, E> RefUnwindSafe for Mix5<A, B, C, D, E> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, B, C, D, E> Send for Mix5<A, B, C, D, E> where
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
impl<A, B, C, D, E> Sync for Mix5<A, B, C, D, E> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
impl<A, B, C, D, E> Unpin for Mix5<A, B, C, D, E> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
impl<A, B, C, D, E> UnwindSafe for Mix5<A, B, C, D, E> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Value for T where
T: Debug + Clone + Send + Sync + ToBytes + FromBytes + CountBytes,
[src]
T: Debug + Clone + Send + Sync + ToBytes + FromBytes + CountBytes,