pub struct PreprocessedGridMetadata {
pub builder_name: &'static str,
pub query_algorithm: &'static str,
pub width: usize,
pub height: usize,
pub cell_count: usize,
pub walkable_cell_count: usize,
pub blocked_cell_count: usize,
pub movement_model: &'static str,
pub cost_model: &'static str,
}Expand description
Build-time summary of grid shape, walkability, and movement model.
Recorded once at preprocess for catalogs and multi-query reports; not updated by individual searches.
Fields§
§builder_name: &'static strBuilder that produced the map.
query_algorithm: &'static strOnline or abstract algorithm used at query time.
width: usize§height: usize§cell_count: usize§walkable_cell_count: usize§blocked_cell_count: usize§movement_model: &'static strMovement neighborhood label (starter maps use "4-way").
cost_model: &'static str"uniform" when every walkable cell has traversal_cost == 1, else "weighted".
Trait Implementations§
Source§impl Clone for PreprocessedGridMetadata
impl Clone for PreprocessedGridMetadata
Source§fn clone(&self) -> PreprocessedGridMetadata
fn clone(&self) -> PreprocessedGridMetadata
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 PreprocessedGridMetadata
Source§impl Debug for PreprocessedGridMetadata
impl Debug for PreprocessedGridMetadata
impl Eq for PreprocessedGridMetadata
Source§impl PartialEq for PreprocessedGridMetadata
impl PartialEq for PreprocessedGridMetadata
impl StructuralPartialEq for PreprocessedGridMetadata
Auto Trait Implementations§
impl Freeze for PreprocessedGridMetadata
impl RefUnwindSafe for PreprocessedGridMetadata
impl Send for PreprocessedGridMetadata
impl Sync for PreprocessedGridMetadata
impl Unpin for PreprocessedGridMetadata
impl UnsafeUnpin for PreprocessedGridMetadata
impl UnwindSafe for PreprocessedGridMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more