pub struct Velocity {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
Represents linear velocity in 3D space. Units are typically Meters per Second (m/s).
Fields§
§x: f32Velocity component along the North axis.
y: f32Velocity component along the East axis.
z: f32Velocity component along the Down axis (positive is descending).
Trait Implementations§
impl Copy for Velocity
impl StructuralPartialEq for Velocity
Auto Trait Implementations§
impl Freeze for Velocity
impl RefUnwindSafe for Velocity
impl Send for Velocity
impl Sync for Velocity
impl Unpin for Velocity
impl UnsafeUnpin for Velocity
impl UnwindSafe for Velocity
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