pub struct StaticPreparedGrid { /* private fields */ }Expand description
Immutable grid snapshot with metadata for repeated online search.
Each PreparedGridSearch::search runs AStar on the owned clone. No
shared open set or cache is retained between queries.
Implementations§
Source§impl StaticPreparedGrid
impl StaticPreparedGrid
Sourcepub fn builder() -> StaticPreparedGridBuilder
pub fn builder() -> StaticPreparedGridBuilder
Convenience constructor for the matching pass-through builder.
Trait Implementations§
Source§impl Clone for StaticPreparedGrid
impl Clone for StaticPreparedGrid
Source§fn clone(&self) -> StaticPreparedGrid
fn clone(&self) -> StaticPreparedGrid
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StaticPreparedGrid
impl Debug for StaticPreparedGrid
impl Eq for StaticPreparedGrid
Source§impl PartialEq for StaticPreparedGrid
impl PartialEq for StaticPreparedGrid
Source§impl PreparedGridSearch for StaticPreparedGrid
impl PreparedGridSearch for StaticPreparedGrid
Source§fn metadata(&self) -> &PreprocessedGridMetadata
fn metadata(&self) -> &PreprocessedGridMetadata
Build-time summary of shape, walkability counts, and cost model labels.
Source§fn search(&self, request: SearchRequest) -> SearchResult
fn search(&self, request: SearchRequest) -> SearchResult
Point-to-point search on the prepared snapshot.
impl StructuralPartialEq for StaticPreparedGrid
Auto Trait Implementations§
impl Freeze for StaticPreparedGrid
impl RefUnwindSafe for StaticPreparedGrid
impl Send for StaticPreparedGrid
impl Sync for StaticPreparedGrid
impl Unpin for StaticPreparedGrid
impl UnsafeUnpin for StaticPreparedGrid
impl UnwindSafe for StaticPreparedGrid
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