[][src]Trait broccoli::query::NotSortedQueries

pub trait NotSortedQueries<'a> {
    type A: Axis;
    type T: Aabb<Num = Self::Num> + 'a;
    type Num: Num;
#[must_use]    pub fn vistr_mut(&mut self) -> VistrMut<'_, Node<'a, Self::T>>;
#[must_use] pub fn vistr(&self) -> Vistr<'_, Node<'a, Self::T>>;
#[must_use] pub fn axis(&self) -> Self::A; pub fn new_colfind_builder<'c>(
        &'c mut self
    ) -> NotSortedQueryBuilder<'c, 'a, Self::A, Self::T> { ... }
pub fn find_colliding_pairs_mut(
        &mut self,
        func: impl FnMut(PMut<'_, Self::T>, PMut<'_, Self::T>)
    ) { ... }
pub fn find_colliding_pairs_mut_par(
        &mut self,
        func: impl Fn(PMut<'_, Self::T>, PMut<'_, Self::T>) + Clone + Send + Sync
    )
    where
        Self::T: Send + Sync,
        Self::Num: Send + Sync
, { ... } }

Queries that can be performed on a tree that is not sorted These functions are not documented since they match the same behavior as those in the Queries trait.

Associated Types

type A: Axis[src]

type T: Aabb<Num = Self::Num> + 'a[src]

type Num: Num[src]

Loading content...

Required methods

#[must_use]pub fn vistr_mut(&mut self) -> VistrMut<'_, Node<'a, Self::T>>[src]

#[must_use]pub fn vistr(&self) -> Vistr<'_, Node<'a, Self::T>>[src]

#[must_use]pub fn axis(&self) -> Self::A[src]

Loading content...

Provided methods

pub fn new_colfind_builder<'c>(
    &'c mut self
) -> NotSortedQueryBuilder<'c, 'a, Self::A, Self::T>
[src]

pub fn find_colliding_pairs_mut(
    &mut self,
    func: impl FnMut(PMut<'_, Self::T>, PMut<'_, Self::T>)
)
[src]

pub fn find_colliding_pairs_mut_par(
    &mut self,
    func: impl Fn(PMut<'_, Self::T>, PMut<'_, Self::T>) + Clone + Send + Sync
) where
    Self::T: Send + Sync,
    Self::Num: Send + Sync
[src]

Loading content...

Implementors

impl<'a, A: Axis, T: Aabb> NotSortedQueries<'a> for NotSorted<'a, A, T>[src]

type A = A

type T = T

type Num = T::Num

Loading content...