pub struct BlockCoord(pub Vec<usize>);Expand description
N-dimensional block coordinate.
Each element is an index into the corresponding QNIndex.blocks.
Ord is derived (lexicographic) to define a deterministic sort order
for Vec<BlockMeta>.
Tuple Fields§
§0: Vec<usize>Trait Implementations§
Source§impl Clone for BlockCoord
impl Clone for BlockCoord
Source§fn clone(&self) -> BlockCoord
fn clone(&self) -> BlockCoord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockCoord
impl Debug for BlockCoord
impl Eq for BlockCoord
Source§impl Hash for BlockCoord
impl Hash for BlockCoord
Source§impl Ord for BlockCoord
impl Ord for BlockCoord
Source§fn cmp(&self, other: &BlockCoord) -> Ordering
fn cmp(&self, other: &BlockCoord) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BlockCoord
impl PartialEq for BlockCoord
Source§fn eq(&self, other: &BlockCoord) -> bool
fn eq(&self, other: &BlockCoord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BlockCoord
impl PartialOrd for BlockCoord
impl StructuralPartialEq for BlockCoord
Auto Trait Implementations§
impl Freeze for BlockCoord
impl RefUnwindSafe for BlockCoord
impl Send for BlockCoord
impl Sync for BlockCoord
impl Unpin for BlockCoord
impl UnsafeUnpin for BlockCoord
impl UnwindSafe for BlockCoord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more