pub struct SegmentIndex { /* private fields */ }Expand description
A uniform grid over the segments of a set of polylines, sized for about
one segment per cell. Street-network segments are short relative to the
extent, so each occupies a handful of cells; the few that span many cells
go into an oversize list scanned on every query.
Implementations§
Auto Trait Implementations§
impl Freeze for SegmentIndex
impl RefUnwindSafe for SegmentIndex
impl Send for SegmentIndex
impl Sync for SegmentIndex
impl Unpin for SegmentIndex
impl UnsafeUnpin for SegmentIndex
impl UnwindSafe for SegmentIndex
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