pub enum KDNode<PlaneType: FloatIsh, ValueType> {
Empty,
Inner {
plane_value: PlaneType,
plane: KDAxis,
lesser_or_eq: Box<KDNode<PlaneType, ValueType>>,
greater: Box<KDNode<PlaneType, ValueType>>,
size: usize,
depth: usize,
},
Value {
value: ValueType,
geometry: GeometryType<PlaneType>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl<PlaneType: PartialEq + FloatIsh, ValueType: PartialEq> PartialEq for KDNode<PlaneType, ValueType>
impl<PlaneType: PartialEq + FloatIsh, ValueType: PartialEq> PartialEq for KDNode<PlaneType, ValueType>
impl<PlaneType: FloatIsh, ValueType> StructuralPartialEq for KDNode<PlaneType, ValueType>
Auto Trait Implementations§
impl<PlaneType, ValueType> Freeze for KDNode<PlaneType, ValueType>
impl<PlaneType, ValueType> RefUnwindSafe for KDNode<PlaneType, ValueType>where
PlaneType: RefUnwindSafe,
ValueType: RefUnwindSafe,
impl<PlaneType, ValueType> Send for KDNode<PlaneType, ValueType>
impl<PlaneType, ValueType> Sync for KDNode<PlaneType, ValueType>
impl<PlaneType, ValueType> Unpin for KDNode<PlaneType, ValueType>
impl<PlaneType, ValueType> UnwindSafe for KDNode<PlaneType, ValueType>where
PlaneType: UnwindSafe,
ValueType: UnwindSafe,
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