pub struct Waypoint {
pub pos: Vec3,
pub floor: i32,
}Expand description
A labelled point along a trip. Positions are 3-D so layered-building transitions (floors, lifts) can be expressed natively.
Fields§
§pos: Vec3Position in metres.
floor: i32Associated floor index (for layered 2.5-D); ignored otherwise.
Implementations§
Trait Implementations§
impl Copy for Waypoint
impl StructuralPartialEq for Waypoint
Auto Trait Implementations§
impl Freeze for Waypoint
impl RefUnwindSafe for Waypoint
impl Send for Waypoint
impl Sync for Waypoint
impl Unpin for Waypoint
impl UnsafeUnpin for Waypoint
impl UnwindSafe for Waypoint
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