pub struct AngularVelocity {
pub roll_dps: Option<f64>,
pub pitch_dps: Option<f64>,
pub yaw_dps: Option<f64>,
}Expand description
Angular velocity in 3D.
Fields§
§roll_dps: Option<f64>Roll rate in degrees per second
pitch_dps: Option<f64>Pitch rate in degrees per second
yaw_dps: Option<f64>Yaw rate in degrees per second
Implementations§
Trait Implementations§
Source§impl Clone for AngularVelocity
impl Clone for AngularVelocity
Source§fn clone(&self) -> AngularVelocity
fn clone(&self) -> AngularVelocity
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 AngularVelocity
impl Debug for AngularVelocity
Source§impl Default for AngularVelocity
impl Default for AngularVelocity
Source§fn default() -> AngularVelocity
fn default() -> AngularVelocity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AngularVelocity
impl<'de> Deserialize<'de> for AngularVelocity
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 AngularVelocity
impl Serialize for AngularVelocity
Auto Trait Implementations§
impl Freeze for AngularVelocity
impl RefUnwindSafe for AngularVelocity
impl Send for AngularVelocity
impl Sync for AngularVelocity
impl Unpin for AngularVelocity
impl UnwindSafe for AngularVelocity
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