pub enum KdNode {
Leaf,
Node {
point: Point2D,
left: Box<KdNode>,
right: Box<KdNode>,
axis: u8,
},
}Expand description
A node in a 2D k-d tree
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KdNode
impl RefUnwindSafe for KdNode
impl Send for KdNode
impl Sync for KdNode
impl Unpin for KdNode
impl UnsafeUnpin for KdNode
impl UnwindSafe for KdNode
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