[][src]Struct dinotree_alg::node::NodeRef

pub struct NodeRef<'a, T: HasAabb> {
    pub bots: &'a [T],
    pub cont: &'a Option<Range<T::Num>>,
    pub div: &'a Option<T::Num>,
}

Reference to a node in the dinotree.

Fields

bots: &'a [T]

The bots that belong to this node.

cont: &'a Option<Range<T::Num>>

Is None iff bots is empty.

div: &'a Option<T::Num>

Is None if node is a leaf, or there are no bots in this node or in any decendants.

Auto Trait Implementations

impl<'a, T> Unpin for NodeRef<'a, T>

impl<'a, T> Send for NodeRef<'a, T> where
    T: Sync,
    <T as HasAabb>::Num: Sync

impl<'a, T> Sync for NodeRef<'a, T> where
    T: Sync,
    <T as HasAabb>::Num: Sync

impl<'a, T> UnwindSafe for NodeRef<'a, T> where
    T: RefUnwindSafe,
    <T as HasAabb>::Num: RefUnwindSafe

impl<'a, T> RefUnwindSafe for NodeRef<'a, T> where
    T: RefUnwindSafe,
    <T as HasAabb>::Num: RefUnwindSafe

Blanket Implementations

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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