[−][src]Struct eyros::Mix8
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.
v5: Mix<F>
Access the i-th element.
v6: Mix<G>
Access the i-th element.
v7: Mix<H>
Access the i-th element.
Implementations
impl<A, B, C, D, E, F, G, H> Mix8<A, B, C, D, E, F, G, H>
[src]
pub fn new(
v0: Mix<A>,
v1: Mix<B>,
v2: Mix<C>,
v3: Mix<D>,
v4: Mix<E>,
v5: Mix<F>,
v6: Mix<G>,
v7: Mix<H>
) -> Self
[src]
v0: Mix<A>,
v1: Mix<B>,
v2: Mix<C>,
v3: Mix<D>,
v4: Mix<E>,
v5: Mix<F>,
v6: Mix<G>,
v7: Mix<H>
) -> Self
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, F: Clone, G: Clone, H: Clone> Clone for Mix8<A, B, C, D, E, F, G, H>
[src]
fn clone(&self) -> Mix8<A, B, C, D, E, F, G, H>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A: Copy, B: Copy, C: Copy, D: Copy, E: Copy, F: Copy, G: Copy, H: Copy> Copy for Mix8<A, B, C, D, E, F, G, H>
[src]
impl<A, B, C, D, E, F, G, H> CountBytes for Mix8<A, B, C, D, E, F, G, H> where
A: CountBytes,
B: CountBytes,
C: CountBytes,
D: CountBytes,
E: CountBytes,
F: CountBytes,
G: CountBytes,
H: CountBytes,
[src]
A: CountBytes,
B: CountBytes,
C: CountBytes,
D: CountBytes,
E: CountBytes,
F: CountBytes,
G: CountBytes,
H: 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, F: Debug, G: Debug, H: Debug> Debug for Mix8<A, B, C, D, E, F, G, H>
[src]
impl<A: Eq, B: Eq, C: Eq, D: Eq, E: Eq, F: Eq, G: Eq, H: Eq> Eq for Mix8<A, B, C, D, E, F, G, H>
[src]
impl<A, B, C, D, E, F, G, H> FromBytes for Mix8<A, B, C, D, E, F, G, H> where
A: FromBytes,
B: FromBytes,
C: FromBytes,
D: FromBytes,
E: FromBytes,
F: FromBytes,
G: FromBytes,
H: FromBytes,
[src]
A: FromBytes,
B: FromBytes,
C: FromBytes,
D: FromBytes,
E: FromBytes,
F: FromBytes,
G: FromBytes,
H: FromBytes,
impl<A, B, C, D, E, F, G, H> Into<(Mix<A>, Mix<B>, Mix<C>, Mix<D>, Mix<E>, Mix<F>, Mix<G>, Mix<H>)> for Mix8<A, B, C, D, E, F, G, H>
[src]
impl<A, B, C, D, E, F, G, H> Into<Mix8<A, B, C, D, E, F, G, H>> for (Mix<A>, Mix<B>, Mix<C>, Mix<D>, Mix<E>, Mix<F>, Mix<G>, Mix<H>)
[src]
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq> PartialEq<Mix8<A, B, C, D, E, F, G, H>> for Mix8<A, B, C, D, E, F, G, H>
[src]
fn eq(&self, other: &Mix8<A, B, C, D, E, F, G, H>) -> bool
[src]
fn ne(&self, other: &Mix8<A, B, C, D, E, F, G, H>) -> bool
[src]
impl<A, B, C, D, E, F, G, H> Point for Mix8<A, B, C, D, E, F, G, H> where
((A, A), (B, B), (C, C), (D, D), (E, E), (F, F), (G, G), (H, H)): 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>,
F: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = F> + Div<Output = F> + From<u8>,
G: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = G> + Div<Output = G> + From<u8>,
H: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = H> + Div<Output = H> + From<u8>,
[src]
((A, A), (B, B), (C, C), (D, D), (E, E), (F, F), (G, G), (H, H)): 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>,
F: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = F> + Div<Output = F> + From<u8>,
G: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = G> + Div<Output = G> + From<u8>,
H: ToBytes + FromBytes + CountBytes + Copy + Send + Sync + Debug + PartialOrd + Add<Output = H> + Div<Output = H> + From<u8>,
type Bounds = ((A, B, C, D, E, F, G, H), (A, B, C, D, E, F, G, H))
Bounding-box corresponding to (min,max)
as used by db.query(bbox)
.
type Range = ((A, A), (B, B), (C, C), (D, D), (E, E), (F, F), (G, G), (H, H))
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, F, G, H> StructuralEq for Mix8<A, B, C, D, E, F, G, H>
[src]
impl<A, B, C, D, E, F, G, H> StructuralPartialEq for Mix8<A, B, C, D, E, F, G, H>
[src]
impl<A, B, C, D, E, F, G, H> ToBytes for Mix8<A, B, C, D, E, F, G, H> where
A: ToBytes + CountBytes,
B: ToBytes + CountBytes,
C: ToBytes + CountBytes,
D: ToBytes + CountBytes,
E: ToBytes + CountBytes,
F: ToBytes + CountBytes,
G: ToBytes + CountBytes,
H: ToBytes + CountBytes,
[src]
A: ToBytes + CountBytes,
B: ToBytes + CountBytes,
C: ToBytes + CountBytes,
D: ToBytes + CountBytes,
E: ToBytes + CountBytes,
F: ToBytes + CountBytes,
G: ToBytes + CountBytes,
H: ToBytes + CountBytes,
Auto Trait Implementations
impl<A, B, C, D, E, F, G, H> RefUnwindSafe for Mix8<A, B, C, D, E, F, G, H> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
G: RefUnwindSafe,
H: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
G: RefUnwindSafe,
H: RefUnwindSafe,
impl<A, B, C, D, E, F, G, H> Send for Mix8<A, B, C, D, E, F, G, H> where
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
F: Send,
G: Send,
H: Send,
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
F: Send,
G: Send,
H: Send,
impl<A, B, C, D, E, F, G, H> Sync for Mix8<A, B, C, D, E, F, G, H> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
F: Sync,
G: Sync,
H: Sync,
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
F: Sync,
G: Sync,
H: Sync,
impl<A, B, C, D, E, F, G, H> Unpin for Mix8<A, B, C, D, E, F, G, H> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
F: Unpin,
G: Unpin,
H: Unpin,
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
F: Unpin,
G: Unpin,
H: Unpin,
impl<A, B, C, D, E, F, G, H> UnwindSafe for Mix8<A, B, C, D, E, F, G, H> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
G: UnwindSafe,
H: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
G: UnwindSafe,
H: 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,