Struct open_protocol::types::QuaternionData
[−]
[src]
pub struct QuaternionData { pub q0: f32, pub q1: f32, pub q2: f32, pub q3: f32, }
Fields
q0: f32
q1: f32
q2: f32
q3: f32
Methods
impl QuaternionData
[src]
fn new(q0: f32, q1: f32, q2: f32, q3: f32) -> QuaternionData
fn to_euler_angle(&self) -> EulerAngle
Trait Implementations
impl Debug for QuaternionData
[src]
impl Copy for QuaternionData
[src]
impl Clone for QuaternionData
[src]
fn clone(&self) -> QuaternionData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for QuaternionData
[src]
fn eq(&self, __arg_0: &QuaternionData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &QuaternionData) -> bool
This method tests for !=
.
impl Default for QuaternionData
[src]
fn default() -> QuaternionData
Returns the "default value" for a type. Read more