pub struct InertialPosition { /* private fields */ }Implementations§
Source§impl InertialPosition
impl InertialPosition
pub fn x(&self) -> f64
pub fn y(&self) -> f64
pub fn z(&self) -> f64
pub fn set_x(self: Pin<&mut Self>, x: f64)
pub fn set_y(self: Pin<&mut Self>, y: f64)
pub fn set_z(self: Pin<&mut Self>, z: f64)
pub fn xyz(&self) -> &Vector3
pub fn set_xyz(self: Pin<&mut Self>, xyz: &Vector3)
pub fn length(&self) -> f64
pub fn Distance(&self, other: &InertialPosition) -> f64
Trait Implementations§
Source§impl ExternType for InertialPosition
impl ExternType for InertialPosition
impl UniquePtrTarget for InertialPosition
Auto Trait Implementations§
impl !Freeze for InertialPosition
impl RefUnwindSafe for InertialPosition
impl !Send for InertialPosition
impl !Sync for InertialPosition
impl !Unpin for InertialPosition
impl UnwindSafe for InertialPosition
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