Enum crater::kdtree::QueryBound
source · pub enum QueryBound<'a, R: KdRegion> {
SqDist(<R::Point as KdPoint>::Distance),
Region(&'a R),
None,
}
Expand description
Represents an inner / outer limit for a query within the tree (KdTree::k_closest
).
See QueryOptions
for more info
Variants§
Auto Trait Implementations§
impl<'a, R> RefUnwindSafe for QueryBound<'a, R>
impl<'a, R> Send for QueryBound<'a, R>
impl<'a, R> Sync for QueryBound<'a, R>
impl<'a, R> Unpin for QueryBound<'a, R>
impl<'a, R> UnwindSafe for QueryBound<'a, R>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more