pub struct NamedPoint {
pub name: String,
pub position: [f32; 3],
pub yaw: f32,
}Expand description
A named point of a Pathfinding::PointList (position in model space, yaw in degrees).
Fields§
§name: StringThe name.
position: [f32; 3]The position, in model space.
yaw: f32The yaw, in degrees.
Trait Implementations§
Source§impl Clone for NamedPoint
impl Clone for NamedPoint
Source§fn clone(&self) -> NamedPoint
fn clone(&self) -> NamedPoint
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§impl Debug for NamedPoint
impl Debug for NamedPoint
Source§impl PartialEq for NamedPoint
impl PartialEq for NamedPoint
impl StructuralPartialEq for NamedPoint
Auto Trait Implementations§
impl Freeze for NamedPoint
impl RefUnwindSafe for NamedPoint
impl Send for NamedPoint
impl Sync for NamedPoint
impl Unpin for NamedPoint
impl UnsafeUnpin for NamedPoint
impl UnwindSafe for NamedPoint
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