Struct arci_ros::msg::geometry_msgs::Quaternion
source · pub struct Quaternion {
pub x: f64,
pub y: f64,
pub z: f64,
pub w: f64,
}
Fields§
§x: f64
§y: f64
§z: f64
§w: f64
Trait Implementations§
source§impl Clone for Quaternion
impl Clone for Quaternion
source§fn clone(&self) -> Quaternion
fn clone(&self) -> Quaternion
Returns a copy 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 Quaternion
impl Debug for Quaternion
source§impl Default for Quaternion
impl Default for Quaternion
source§impl From<Quaternion<f64>> for Quaternion
impl From<Quaternion<f64>> for Quaternion
source§fn from(q: Quaternion<f64>) -> Self
fn from(q: Quaternion<f64>) -> Self
Converts to this type from the input type.
source§impl From<Quaternion> for MsgMessage
impl From<Quaternion> for MsgMessage
source§fn from(src: Quaternion) -> Self
fn from(src: Quaternion) -> Self
Converts to this type from the input type.
source§impl From<Quaternion> for MsgValue
impl From<Quaternion> for MsgValue
source§fn from(src: Quaternion) -> Self
fn from(src: Quaternion) -> Self
Converts to this type from the input type.
source§impl From<Quaternion> for Quaternion<f64>
impl From<Quaternion> for Quaternion<f64>
source§fn from(q_msg: Quaternion) -> Self
fn from(q_msg: Quaternion) -> Self
Converts to this type from the input type.
source§impl From<Quaternion> for UnitQuaternion<f64>
impl From<Quaternion> for UnitQuaternion<f64>
source§fn from(q_msg: Quaternion) -> Self
fn from(q_msg: Quaternion) -> Self
Converts to this type from the input type.
source§impl From<Unit<Quaternion<f64>>> for Quaternion
impl From<Unit<Quaternion<f64>>> for Quaternion
source§fn from(q: UnitQuaternion<f64>) -> Self
fn from(q: UnitQuaternion<f64>) -> Self
Converts to this type from the input type.
source§impl Message for Quaternion
impl Message for Quaternion
source§impl PartialEq for Quaternion
impl PartialEq for Quaternion
source§impl RosMsg for Quaternion
impl RosMsg for Quaternion
Auto Trait Implementations§
impl Freeze for Quaternion
impl RefUnwindSafe for Quaternion
impl Send for Quaternion
impl Sync for Quaternion
impl Unpin for Quaternion
impl UnwindSafe for Quaternion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.