pub struct QueryArgs<P> {
pub num_seq_fallback: usize,
pub splitter: P,
}
Fields
num_seq_fallback: usize
splitter: P
Implementations
sourceimpl QueryArgs<EmptySplitter>
impl QueryArgs<EmptySplitter>
sourceimpl<P: Splitter> QueryArgs<P>
impl<P: Splitter> QueryArgs<P>
pub fn with_splitter<K: Splitter>(self, splitter: K) -> QueryArgs<K>
pub fn with_num_seq_fallback(self, num_seq_fallback: usize) -> Self
pub fn query<T: Aabb, SO>(
self,
vistr: VistrMutPin<'_, Node<'_, T>>,
handler: &mut SO
) -> P where
SO: NodeHandler<T>,
pub fn par_query<T: Aabb, SO>(
self,
vistr: VistrMutPin<'_, Node<'_, T>>,
handler: &mut SO
) -> P where
P: Splitter,
SO: NodeHandler<T>,
T: Send,
T::Num: Send,
SO: Splitter + Send,
P: Send,
Trait Implementations
Auto Trait Implementations
impl<P> RefUnwindSafe for QueryArgs<P> where
P: RefUnwindSafe,
impl<P> Send for QueryArgs<P> where
P: Send,
impl<P> Sync for QueryArgs<P> where
P: Sync,
impl<P> Unpin for QueryArgs<P> where
P: Unpin,
impl<P> UnwindSafe for QueryArgs<P> where
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more