[][src]Struct dinotree::dinotree::DinoTree

#[repr(transparent)]
pub struct DinoTree<'a, A: AxisTrait, N: NumTrait, T> { /* fields omitted */ }

Version of dinotree that makes a copy of all the elements.

Methods

impl<'a, A: AxisTrait, N: NumTrait, T> DinoTree<'a, A, N, T>[src]

pub fn get_bots_mut(&mut self) -> ElemSliceMut<BBoxMut<'a, N, T>>[src]

pub fn get_bots(&self) -> &ElemSlice<BBoxMut<'a, N, T>>[src]

Trait Implementations

impl<'a, A: AxisTrait, N: NumTrait, T> DinoTreeRefTrait for DinoTree<'a, A, N, T>[src]

type Item = BBoxMut<'a, N, T>

type Axis = A

type Num = N

type Inner = T

fn height(&self) -> usize[src]

Return the height of the dinotree.

fn num_nodes(&self) -> usize[src]

Return the number of nodes of the dinotree.

fn num_bots(&self) -> usize[src]

Return the number of bots in the tree.

impl<'a, A: AxisTrait, N: NumTrait + 'a, T: 'a> DinoTreeRefMutTrait for DinoTree<'a, A, N, T>[src]

Auto Trait Implementations

impl<'a, A, N, T> Unpin for DinoTree<'a, A, N, T> where
    A: Unpin,
    N: Unpin

impl<'a, A, N, T> Sync for DinoTree<'a, A, N, T> where
    T: Sync

impl<'a, A, N, T> Send for DinoTree<'a, A, N, T> where
    T: Send

impl<'a, A, N, T> !UnwindSafe for DinoTree<'a, A, N, T>

impl<'a, A, N, T> RefUnwindSafe for DinoTree<'a, A, N, T> where
    A: RefUnwindSafe,
    N: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for 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]