[−][src]Struct dinotree_alg::owned::DinoTreeOwned
An owned dinotree componsed of T:Aabb
Methods
impl<T: Aabb> DinoTreeOwned<DefaultA, T>
[src]
pub fn new(bots: Vec<T>) -> DinoTreeOwned<DefaultA, T>
[src]
impl<T: Aabb + Send + Sync> DinoTreeOwned<DefaultA, T>
[src]
pub fn new_par(bots: Vec<T>) -> DinoTreeOwned<DefaultA, T>
[src]
impl<A: Axis, T: Aabb + Send + Sync> DinoTreeOwned<A, T>
[src]
pub fn with_axis_par(axis: A, bots: Vec<T>) -> DinoTreeOwned<A, T>
[src]
Create an owned dinotree in one thread.
impl<A: Axis, T: Aabb> DinoTreeOwned<A, T>
[src]
pub fn with_axis(axis: A, bots: Vec<T>) -> DinoTreeOwned<A, T>
[src]
Create an owned dinotree in one thread.
pub fn as_tree(&self) -> &DinoTree<A, T>
[src]
pub fn as_tree_mut(&mut self) -> &mut DinoTree<A, T>
[src]
pub fn get_bots(&self) -> &[T]
[src]
pub fn rebuild(&mut self, func: impl FnMut(&mut [T]))
[src]
pub fn get_bots_mut(&mut self) -> PMut<[T]>
[src]
Auto Trait Implementations
impl<A, T> RefUnwindSafe for DinoTreeOwned<A, T> where
A: RefUnwindSafe,
T: RefUnwindSafe,
<T as Aabb>::Num: RefUnwindSafe,
A: RefUnwindSafe,
T: RefUnwindSafe,
<T as Aabb>::Num: RefUnwindSafe,
impl<A, T> Send for DinoTreeOwned<A, T> where
T: Send,
T: Send,
impl<A, T> Sync for DinoTreeOwned<A, T> where
T: Sync,
T: Sync,
impl<A, T> Unpin for DinoTreeOwned<A, T> where
A: Unpin,
T: Unpin,
<T as Aabb>::Num: Unpin,
A: Unpin,
T: Unpin,
<T as Aabb>::Num: Unpin,
impl<A, T> UnwindSafe for DinoTreeOwned<A, T> where
A: UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
<T as Aabb>::Num: UnwindSafe,
A: UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
<T as Aabb>::Num: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,