[−][src]Trait dinotree::notsorted::NotSortedRefTrait
The trait through which algorithms can use the not sorted version of the dinotree
Associated Types
type Item: HasAabbMut<Num = Self::Num, Inner = Self::Inner>
type Axis: AxisTrait
type Num: NumTrait
type Inner
Required methods
fn axis(&self) -> Self::Axis
fn vistr(&self) -> Vistr<Self::Item>
fn height(&self) -> usize
Return the height of the dinotree.
fn num_nodes(&self) -> usize
Return the number of nodes of the dinotree.
fn num_bots(&self) -> usize
Return the number of bots in the tree.
Implementations on Foreign Types
impl<'_, K: NotSortedRefTrait> NotSortedRefTrait for &'_ K
[src]
type Item = K::Item
type Axis = K::Axis
type Num = K::Num
type Inner = K::Inner
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<'_, K: NotSortedRefMutTrait> NotSortedRefTrait for &'_ mut K
[src]
type Item = K::Item
type Axis = K::Axis
type Num = K::Num
type Inner = K::Inner
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.
Implementors
impl<'a, A: AxisTrait, N: NumTrait, T> NotSortedRefTrait for NotSorted<'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.