#[repr(C)]pub struct PamojaPose {
pub x: f32,
pub y: f32,
pub theta: f32,
}Expand description
Where a robot is and which way it faces.
Fields§
§x: f32Position along the world x axis, in metres.
y: f32Position along the world y axis, in metres.
theta: f32Heading from the world x axis, in radians, positive counter-clockwise.
Trait Implementations§
Source§impl Clone for PamojaPose
impl Clone for PamojaPose
Source§fn clone(&self) -> PamojaPose
fn clone(&self) -> PamojaPose
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 PamojaPose
Source§impl Debug for PamojaPose
impl Debug for PamojaPose
Source§impl PartialEq for PamojaPose
impl PartialEq for PamojaPose
Source§fn eq(&self, other: &PamojaPose) -> bool
fn eq(&self, other: &PamojaPose) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaPose
Auto Trait Implementations§
impl Freeze for PamojaPose
impl RefUnwindSafe for PamojaPose
impl Send for PamojaPose
impl Sync for PamojaPose
impl Unpin for PamojaPose
impl UnsafeUnpin for PamojaPose
impl UnwindSafe for PamojaPose
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