pub enum RangeTree1D {
Empty,
Node {
key: f64,
point: Point2D,
left: Box<RangeTree1D>,
right: Box<RangeTree1D>,
},
}Expand description
A node in a 1D range tree (sorted by x for the primary tree).
Variants§
Trait Implementations§
Source§impl Clone for RangeTree1D
impl Clone for RangeTree1D
Source§fn clone(&self) -> RangeTree1D
fn clone(&self) -> RangeTree1D
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RangeTree1D
impl RefUnwindSafe for RangeTree1D
impl Send for RangeTree1D
impl Sync for RangeTree1D
impl Unpin for RangeTree1D
impl UnsafeUnpin for RangeTree1D
impl UnwindSafe for RangeTree1D
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