pub struct CellBox { /* private fields */ }Expand description
A box of primary cells: lo[a] ≤ cell[a] < hi[a] (node indices).
Implementations§
Source§impl CellBox
impl CellBox
Sourcepub fn new(a: [usize; 3], b: [usize; 3]) -> Self
pub fn new(a: [usize; 3], b: [usize; 3]) -> Self
The cells between the nodes a and b (corners in any order).
Along an axis where a and b coincide the box is extended to the
cell above the node (or below it at the last node), so that every
box holds at least one cell per axis.
Trait Implementations§
impl Copy for CellBox
impl Eq for CellBox
impl StructuralPartialEq for CellBox
Auto Trait Implementations§
impl Freeze for CellBox
impl RefUnwindSafe for CellBox
impl Send for CellBox
impl Sync for CellBox
impl Unpin for CellBox
impl UnsafeUnpin for CellBox
impl UnwindSafe for CellBox
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