pub struct HybridPos {
pub node: ZoneId,
pub offset: ContinuousPos3D,
}Expand description
Position in the hybrid space: a graph node plus a 3D offset within that node’s zone.
Fields§
§node: ZoneIdWhich graph node (zone) the agent occupies.
offset: ContinuousPos3DContinuous 3D position within the zone’s local coordinate system.
Implementations§
Trait Implementations§
impl Copy for HybridPos
impl StructuralPartialEq for HybridPos
Auto Trait Implementations§
impl Freeze for HybridPos
impl RefUnwindSafe for HybridPos
impl Send for HybridPos
impl Sync for HybridPos
impl Unpin for HybridPos
impl UnsafeUnpin for HybridPos
impl UnwindSafe for HybridPos
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