pub struct StaticPreparedGridBuilder;Expand description
Pass-through builder that clones the grid and delegates queries to AStar.
Establishes the preprocess/query API without abstract indexing. Useful as a baseline for multi-query amortization measurements against heavier builders.
Implementations§
Trait Implementations§
Source§impl Clone for StaticPreparedGridBuilder
impl Clone for StaticPreparedGridBuilder
Source§fn clone(&self) -> StaticPreparedGridBuilder
fn clone(&self) -> StaticPreparedGridBuilder
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 moreimpl Copy for StaticPreparedGridBuilder
Source§impl Debug for StaticPreparedGridBuilder
impl Debug for StaticPreparedGridBuilder
Source§impl Default for StaticPreparedGridBuilder
impl Default for StaticPreparedGridBuilder
Source§fn default() -> StaticPreparedGridBuilder
fn default() -> StaticPreparedGridBuilder
Returns the “default value” for a type. Read more
Source§impl PreprocessedGridBuilder for StaticPreparedGridBuilder
impl PreprocessedGridBuilder for StaticPreparedGridBuilder
Source§type Map = StaticPreparedGrid
type Map = StaticPreparedGrid
Prepared map type this builder produces.
Source§fn preprocess(
&self,
grid: &Grid,
) -> Result<Self::Map, PreprocessedGridBuildError>
fn preprocess( &self, grid: &Grid, ) -> Result<Self::Map, PreprocessedGridBuildError>
Snapshot
grid into a prepared search structure. Read moreAuto Trait Implementations§
impl Freeze for StaticPreparedGridBuilder
impl RefUnwindSafe for StaticPreparedGridBuilder
impl Send for StaticPreparedGridBuilder
impl Sync for StaticPreparedGridBuilder
impl Unpin for StaticPreparedGridBuilder
impl UnsafeUnpin for StaticPreparedGridBuilder
impl UnwindSafe for StaticPreparedGridBuilder
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