[−][src]Struct dinotree::DinoTree
The datastructure this crate revolves around.
Methods
impl<A: AxisTrait, T: HasAabb> DinoTree<A, T>
[src]
impl<A: AxisTrait, T: HasAabb> DinoTree<A, T>
pub fn as_ref_mut(&mut self) -> DinoTreeRefMut<A, T> | [src] |
Return a mutable reference to the tree.
pub fn as_ref(&self) -> DinoTreeRef<A, T> | [src] |
Return a reference to the tree.
pub fn apply<X>( | [src] |
Returns the bots to their original ordering. This is what you would call after you used this tree to make the changes you made while querying the tree (through use of vistr_mut) be copied back into the original list.
pub fn apply_into<X>( | [src] |
Apply changes to the bots in the tree (not the aabb) without recreating the tree.
Auto Trait Implementations
impl<A, T> Send for DinoTree<A, T> where
T: Send,
<T as HasAabb>::Num: Send,
impl<A, T> Send for DinoTree<A, T> where
T: Send,
<T as HasAabb>::Num: Send,
impl<A, T> Sync for DinoTree<A, T> where
T: Sync,
<T as HasAabb>::Num: Sync,
impl<A, T> Sync for DinoTree<A, T> where
T: Sync,
<T as HasAabb>::Num: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
ⓘImportant traits for &'_ mut I
ⓘImportant traits for &'_ mut I
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |