pub struct Position {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
Represents a 3D position in the NED frame. Units are typically Meters (m).
Fields§
§x: f32Distance North of the origin.
y: f32Distance East of the origin.
z: f32Altitude relative to origin (positive is below the origin/sea level).
Implementations§
Trait Implementations§
impl Copy for Position
impl StructuralPartialEq for Position
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnsafeUnpin for Position
impl UnwindSafe for Position
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