pub struct PointIndexSpec {
pub label: String,
pub property: String,
}Expand description
Declarative spec for a point / spatial index on a single
Property::Point property. A point index accelerates bounding-box
containment and distance-radius queries via a Z-order (Morton)
cell quantizer — points map to sortable u64 cell IDs, so bbox
queries reduce to a cell-range scan plus a per-row precision
filter.
Single-property for now; a future “composite point index” would have to pick a curve that extends cleanly to N spatial axes and so gets its own spec shape when it lands.
Fields§
§label: String§property: StringTrait Implementations§
Source§impl Clone for PointIndexSpec
impl Clone for PointIndexSpec
Source§fn clone(&self) -> PointIndexSpec
fn clone(&self) -> PointIndexSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointIndexSpec
impl Debug for PointIndexSpec
Source§impl Hash for PointIndexSpec
impl Hash for PointIndexSpec
Source§impl PartialEq for PointIndexSpec
impl PartialEq for PointIndexSpec
impl Eq for PointIndexSpec
impl StructuralPartialEq for PointIndexSpec
Auto Trait Implementations§
impl Freeze for PointIndexSpec
impl RefUnwindSafe for PointIndexSpec
impl Send for PointIndexSpec
impl Sync for PointIndexSpec
impl Unpin for PointIndexSpec
impl UnsafeUnpin for PointIndexSpec
impl UnwindSafe for PointIndexSpec
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