[][src]Struct rstar::ParentNode

pub struct ParentNode<T> where
    T: RTreeObject
{ /* fields omitted */ }

Represents an internal parent node.

For most applications, using this type should not be required. Allows read access to this node's envelope and its children.


impl<T> ParentNode<T> where
    T: RTreeObject

pub fn children(&self) -> &[RTreeNode<T>][src]

Returns this node's children

pub fn envelope(&self) -> T::Envelope[src]

Returns the smallest envelope that encompasses all children.

Trait Implementations

impl<T: Clone> Clone for ParentNode<T> where
    T: RTreeObject,
    T::Envelope: Clone

impl<T: Debug> Debug for ParentNode<T> where
    T: RTreeObject,
    T::Envelope: Debug

Auto Trait Implementations

impl<T> RefUnwindSafe for ParentNode<T> where
    T: RefUnwindSafe,
    <T as RTreeObject>::Envelope: RefUnwindSafe

impl<T> Send for ParentNode<T> where
    T: Send,
    <T as RTreeObject>::Envelope: Send

impl<T> Sync for ParentNode<T> where
    T: Sync,
    <T as RTreeObject>::Envelope: Sync

impl<T> Unpin for ParentNode<T> where
    T: Unpin,
    <T as RTreeObject>::Envelope: Unpin

impl<T> UnwindSafe for ParentNode<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.