pub struct DynamicPreparedNavmeshQuery;Expand description
Applies dynamic updates, materializes, rebuilds prepared data, and runs connectivity.
Canonical lifecycle helper for the dynamic availability lane: ordered updates →
materialize → PreparedNavmeshBuilder::preprocess → query both raw and prepared →
clear DynamicNavmeshState::prepared_stale.
Implementations§
Sourcepub fn run<B, U>(
state: &mut DynamicNavmeshState,
updates: impl IntoIterator<Item = U>,
query: NavmeshQuery,
builder: &B,
) -> Result<DynamicPreparedNavmeshQueryResult<B::Map>, DynamicNavmeshError>
pub fn run<B, U>( state: &mut DynamicNavmeshState, updates: impl IntoIterator<Item = U>, query: NavmeshQuery, builder: &B, ) -> Result<DynamicPreparedNavmeshQueryResult<B::Map>, DynamicNavmeshError>
Applies updates in order, materializes, rebuilds via builder, and queries both.
On success, marks state as no longer prepared-stale. Does not mutate the base
mesh geometry—only the availability overlay and staleness flag.
§Errors
Returns DynamicNavmeshError when an update is invalid, materialization fails,
or prepared preprocess fails.
Trait Implementations§
Source§fn clone(&self) -> DynamicPreparedNavmeshQuery
fn clone(&self) -> DynamicPreparedNavmeshQuery
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§fn default() -> DynamicPreparedNavmeshQuery
fn default() -> DynamicPreparedNavmeshQuery
Returns the “default value” for a type. Read more
Auto 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