pub struct RegionGraph {
pub regions: Vec<NavRegion>,
pub poly_to_region: HashMap<NavPolyId, u32>,
}Expand description
Graph of regions for hierarchical pathfinding pre-computation.
Fields§
§regions: Vec<NavRegion>§poly_to_region: HashMap<NavPolyId, u32>Implementations§
Trait Implementations§
Source§impl Clone for RegionGraph
impl Clone for RegionGraph
Source§fn clone(&self) -> RegionGraph
fn clone(&self) -> RegionGraph
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegionGraph
impl Debug for RegionGraph
Source§impl Default for RegionGraph
impl Default for RegionGraph
Source§fn default() -> RegionGraph
fn default() -> RegionGraph
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegionGraph
impl RefUnwindSafe for RegionGraph
impl Send for RegionGraph
impl Sync for RegionGraph
impl Unpin for RegionGraph
impl UnsafeUnpin for RegionGraph
impl UnwindSafe for RegionGraph
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