pub struct DynamicPreparedNavmeshQueryMetadata {
pub builder_name: &'static str,
pub applied_update_count: usize,
pub prepared_stale_before_updates: bool,
pub prepared_stale_after_updates: bool,
pub prepared_stale_after_rebuild: bool,
pub materialized_cell_count: usize,
pub materialized_portal_count: usize,
pub rebuild_status: DynamicPreparedNavmeshRebuildStatus,
}Expand description
Staleness and rebuild bookkeeping from one dynamic prepared query run.
Captures whether prepared data was already stale, how many updates ran, and that a full rebuild from the materialized snapshot completed (V0 has no incremental patch path).
Fields§
§builder_name: &'static strPreparedNavmeshBuilder::name used for the rebuild.
applied_update_count: usizeNumber of DynamicNavmeshUpdates applied in this run.
prepared_stale_before_updates: boolDynamicNavmeshState::prepared_stale before any update in this run.
prepared_stale_after_updates: boolStale flag after updates (true when any update applied or already stale).
prepared_stale_after_rebuild: boolStale flag after rebuild; expected false on success.
materialized_cell_count: usizeCell count in the materialization used for rebuild.
materialized_portal_count: usizePortal count in the materialization used for rebuild.
rebuild_status: DynamicPreparedNavmeshRebuildStatusHow prepared data was restored (V0: always full rebuild).
Trait Implementations§
Source§fn clone(&self) -> DynamicPreparedNavmeshQueryMetadata
fn clone(&self) -> DynamicPreparedNavmeshQueryMetadata
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 moreAuto Trait Implementations§
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