pub struct LinearVelocity {
pub x_mps: Option<f64>,
pub y_mps: Option<f64>,
pub z_mps: Option<f64>,
}Expand description
Linear velocity in 3D.
Fields§
§x_mps: Option<f64>X component in m/s (forward)
y_mps: Option<f64>Y component in m/s (left)
z_mps: Option<f64>Z component in m/s (up)
Implementations§
Trait Implementations§
Source§impl Clone for LinearVelocity
impl Clone for LinearVelocity
Source§fn clone(&self) -> LinearVelocity
fn clone(&self) -> LinearVelocity
Returns a duplicate of the value. Read more
1.0.0 · 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 LinearVelocity
impl Debug for LinearVelocity
Source§impl Default for LinearVelocity
impl Default for LinearVelocity
Source§fn default() -> LinearVelocity
fn default() -> LinearVelocity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinearVelocity
impl<'de> Deserialize<'de> for LinearVelocity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for LinearVelocity
impl Serialize for LinearVelocity
Auto Trait Implementations§
impl Freeze for LinearVelocity
impl RefUnwindSafe for LinearVelocity
impl Send for LinearVelocity
impl Sync for LinearVelocity
impl Unpin for LinearVelocity
impl UnwindSafe for LinearVelocity
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