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