pub enum RTreeNode<T>where
T: RTreeObject,{
Leaf(T),
Parent(ParentNode<T>),
}
Expand description
An internal tree node.
For most applications, using this type should not be required.
Variants§
Leaf(T)
A leaf node, only containing the r-tree object
Parent(ParentNode<T>)
A parent node containing several child nodes
Trait Implementations§
source§impl<T> RTreeObject for RTreeNode<T>where
T: RTreeObject,
impl<T> RTreeObject for RTreeNode<T>where T: RTreeObject,
Auto Trait Implementations§
impl<T> RefUnwindSafe for RTreeNode<T>where T: RefUnwindSafe, <T as RTreeObject>::Envelope: RefUnwindSafe,
impl<T> Send for RTreeNode<T>where T: Send, <T as RTreeObject>::Envelope: Send,
impl<T> Sync for RTreeNode<T>where T: Sync, <T as RTreeObject>::Envelope: Sync,
impl<T> Unpin for RTreeNode<T>where T: Unpin, <T as RTreeObject>::Envelope: Unpin,
impl<T> UnwindSafe for RTreeNode<T>where T: UnwindSafe, <T as RTreeObject>::Envelope: 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