#[repr(C)]pub struct CmdVel {
pub linear_x: f32,
pub linear_y: f32,
pub linear_z: f32,
pub angular_x: f32,
pub angular_y: f32,
pub angular_z: f32,
pub timestamp_ns: i64,
}Expand description
C++-compatible metadata structs shared across the cxx::bridge boundary. Fields are named after physical quantities and need no further prose.
Fields§
§linear_x: f32§linear_y: f32§linear_z: f32§angular_x: f32§angular_y: f32§angular_z: f32§timestamp_ns: i64Trait Implementations§
Source§impl ExternType for CmdVel
impl ExternType for CmdVel
impl Copy for CmdVel
Auto Trait Implementations§
impl Freeze for CmdVel
impl RefUnwindSafe for CmdVel
impl Send for CmdVel
impl Sync for CmdVel
impl Unpin for CmdVel
impl UnsafeUnpin for CmdVel
impl UnwindSafe for CmdVel
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