pub struct TreeCell<const D: usize> {
pub level: u8,
pub coords: [u32; D],
}Expand description
A cell in a quadtree/octree forest.
Fields§
§level: u8Refinement level (0 is root).
coords: [u32; D]Integer coordinates at the given level.
Implementations§
Trait Implementations§
impl<const D: usize> Copy for TreeCell<D>
impl<const D: usize> Eq for TreeCell<D>
Source§impl<const D: usize> Ord for TreeCell<D>
impl<const D: usize> Ord for TreeCell<D>
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<const D: usize> PartialOrd for TreeCell<D>
impl<const D: usize> PartialOrd for TreeCell<D>
impl<const D: usize> StructuralPartialEq for TreeCell<D>
Auto Trait Implementations§
impl<const D: usize> Freeze for TreeCell<D>
impl<const D: usize> RefUnwindSafe for TreeCell<D>
impl<const D: usize> Send for TreeCell<D>
impl<const D: usize> Sync for TreeCell<D>
impl<const D: usize> Unpin for TreeCell<D>
impl<const D: usize> UnsafeUnpin for TreeCell<D>
impl<const D: usize> UnwindSafe for TreeCell<D>
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
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