#[repr(C)]pub struct Pose2d {
pub x: f64,
pub y: f64,
pub heading: f64,
}Expand description
Represents a 2D pose with translation and rotation.
Fields§
§x: f64The x component of the translational component of the pose.
y: f64The y component of the translational component of the pose.
heading: f64The rotational component of the pose.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pose2d
impl<'de> Deserialize<'de> for Pose2d
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 ExternType for Pose2d
impl ExternType for Pose2d
Auto Trait Implementations§
impl Freeze for Pose2d
impl RefUnwindSafe for Pose2d
impl Send for Pose2d
impl Sync for Pose2d
impl Unpin for Pose2d
impl UnsafeUnpin for Pose2d
impl UnwindSafe for Pose2d
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