#[repr(C)]pub struct PamojaVector3 {
pub x: f64,
pub y: f64,
pub z: f64,
}Expand description
A three-dimensional vector, matching geometry_msgs/msg/Vector3.
Fields§
§x: f64The x component.
y: f64The y component.
z: f64The z component.
Trait Implementations§
Source§impl Clone for PamojaVector3
impl Clone for PamojaVector3
Source§fn clone(&self) -> PamojaVector3
fn clone(&self) -> PamojaVector3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaVector3
Source§impl Debug for PamojaVector3
impl Debug for PamojaVector3
Source§impl From<PamojaVector3> for Vector3
impl From<PamojaVector3> for Vector3
Source§fn from(vector: PamojaVector3) -> Self
fn from(vector: PamojaVector3) -> Self
Converts to this type from the input type.
Source§impl From<Vector3> for PamojaVector3
impl From<Vector3> for PamojaVector3
Source§impl PartialEq for PamojaVector3
impl PartialEq for PamojaVector3
Source§fn eq(&self, other: &PamojaVector3) -> bool
fn eq(&self, other: &PamojaVector3) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaVector3
Auto Trait Implementations§
impl Freeze for PamojaVector3
impl RefUnwindSafe for PamojaVector3
impl Send for PamojaVector3
impl Sync for PamojaVector3
impl Unpin for PamojaVector3
impl UnsafeUnpin for PamojaVector3
impl UnwindSafe for PamojaVector3
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