[−][src]Struct dinotree::DinoTreeNoCopy
A version where the bots are not copied. This means that the slice borrowed from the user must remain borrowed for the entire lifetime of the tree.
Methods
impl<'a, A: AxisTrait, T: HasAabb + Copy> DinoTreeNoCopy<'a, A, T>
[src]
impl<'a, A: AxisTrait, T: HasAabb + Copy> DinoTreeNoCopy<'a, A, T>
pub fn into_original(self) -> &'a mut [T] | [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 get_bots_mut(&mut self) -> &mut [T] | [src] |
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.
Auto Trait Implementations
impl<'a, A, T> Send for DinoTreeNoCopy<'a, A, T> where
T: Send,
<T as HasAabb>::Num: Send,
impl<'a, A, T> Send for DinoTreeNoCopy<'a, A, T> where
T: Send,
<T as HasAabb>::Num: Send,
impl<'a, A, T> Sync for DinoTreeNoCopy<'a, A, T> where
T: Sync,
<T as HasAabb>::Num: Sync,
impl<'a, A, T> Sync for DinoTreeNoCopy<'a, 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] |