pub struct Cube {
pub corner: Vec<usize>,
pub dirs: Vec<usize>,
}Expand description
An elementary cube: the minimal corner, and the sorted set of axes it extends along (each by one unit). The dimension is the number of free axes; fixed axes hold the corner’s value.
Fields§
§corner: Vec<usize>§dirs: Vec<usize>Implementations§
Trait Implementations§
Source§impl Ord for Cube
impl Ord for Cube
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 PartialOrd for Cube
impl PartialOrd for Cube
impl Eq for Cube
impl StructuralPartialEq for Cube
Auto Trait Implementations§
impl Freeze for Cube
impl RefUnwindSafe for Cube
impl Send for Cube
impl Sync for Cube
impl Unpin for Cube
impl UnsafeUnpin for Cube
impl UnwindSafe for Cube
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