[][src]Struct dinotree::NodeRef

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

Reference to a node in the dinotree.

Fields

bots: &'a [T]

The bots that belong to this node.

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

Is None iff bots is empty.

div: Option<&'a 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> 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

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.