[][src]Enum rstar::RTreeNode

pub enum RTreeNode<T> where
    T: RTreeObject
{ Leaf(T), Parent(ParentNode<T>), }

An internal tree node.

For most applications, using this type should not be required.



A leaf node, only containing the r-tree object


A parent node containing several child nodes

Trait Implementations

impl<T: Clone> Clone for RTreeNode<T> where
    T: RTreeObject

impl<T: Debug> Debug for RTreeNode<T> where
    T: RTreeObject

impl<T> RTreeObject for RTreeNode<T> where
    T: RTreeObject

type Envelope = T::Envelope

The object's envelope type. Usually, AABB will be the right choice. This type also defines the objects dimensionality. Read more

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

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.