[−][src]Struct dinotree::dinotree::DinoTree
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 axis(&self) -> Self::Axis
[src]
fn vistr(&self) -> Vistr<Self::Item>
[src]
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,
A: Unpin,
N: Unpin,
impl<'a, A, N, T> Sync for DinoTree<'a, A, N, T> where
T: Sync,
T: Sync,
impl<'a, A, N, T> Send for DinoTree<'a, A, N, T> where
T: Send,
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,
A: RefUnwindSafe,
N: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut I
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,