enum RTreeNode {
Leaf {
parameter_space: [Parameter; 7],
value_index: usize,
},
SubTree {
parameter_space: [Parameter; 7],
children: Vec<RTreeNode>,
},
}Expand description
R-Tree node used during construction only. After building, the tree is
flattened into a Vec<FlatNode> for search.
Variants§
Leaf
Leaf node containing a single biome entry.
SubTree
Internal node with children and a bounding box.
Implementations§
Auto Trait Implementations§
impl Freeze for RTreeNode
impl RefUnwindSafe for RTreeNode
impl Send for RTreeNode
impl Sync for RTreeNode
impl Unpin for RTreeNode
impl UnsafeUnpin for RTreeNode
impl UnwindSafe for RTreeNode
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