pub struct RobotState {
pub position: [f64; 3],
pub velocity: [f64; 3],
pub acceleration: [f64; 3],
pub timestamp_us: i64,
}Expand description
Robot state: position, velocity, acceleration, timestamp.
Fields§
§position: [f64; 3]§velocity: [f64; 3]§acceleration: [f64; 3]§timestamp_us: i64Trait Implementations§
Source§impl Clone for RobotState
impl Clone for RobotState
Source§fn clone(&self) -> RobotState
fn clone(&self) -> RobotState
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 RobotState
impl Debug for RobotState
Source§impl Default for RobotState
impl Default for RobotState
Source§impl<'de> Deserialize<'de> for RobotState
impl<'de> Deserialize<'de> for RobotState
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 PartialEq for RobotState
impl PartialEq for RobotState
Source§impl Serialize for RobotState
impl Serialize for RobotState
impl StructuralPartialEq for RobotState
Auto Trait Implementations§
impl Freeze for RobotState
impl RefUnwindSafe for RobotState
impl Send for RobotState
impl Sync for RobotState
impl Unpin for RobotState
impl UnsafeUnpin for RobotState
impl UnwindSafe for RobotState
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