pub enum Predicate {
Intersects(Bounds),
Within(Bounds),
Contains(Bounds),
}Expand description
A spatial query against the index, expressed on bounding boxes.
Mirrors the index::detail::predicates family
(index/predicates.hpp). Each variant carries the query box.
Variants§
Intersects(Bounds)
Values whose bounds intersect the query box. Boost’s
index::intersects.
Within(Bounds)
Values whose bounds are fully inside the query box. Boost’s
index::within.
Contains(Bounds)
Values whose bounds fully contain the query box. Boost’s
index::contains.
Implementations§
Trait Implementations§
impl Copy for Predicate
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl Freeze for Predicate
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnsafeUnpin for Predicate
impl UnwindSafe for Predicate
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