#[repr(C)]pub struct PamojaJoints {
pub shoulder: f32,
pub elbow: f32,
}Expand description
A two-link arm’s joint angles, in radians.
Fields§
§shoulder: f32The shoulder angle, from the x axis.
elbow: f32The elbow angle, relative to the first link.
Trait Implementations§
Source§impl Clone for PamojaJoints
impl Clone for PamojaJoints
Source§fn clone(&self) -> PamojaJoints
fn clone(&self) -> PamojaJoints
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 PamojaJoints
Source§impl Debug for PamojaJoints
impl Debug for PamojaJoints
Source§impl PartialEq for PamojaJoints
impl PartialEq for PamojaJoints
impl StructuralPartialEq for PamojaJoints
Auto Trait Implementations§
impl Freeze for PamojaJoints
impl RefUnwindSafe for PamojaJoints
impl Send for PamojaJoints
impl Sync for PamojaJoints
impl Unpin for PamojaJoints
impl UnsafeUnpin for PamojaJoints
impl UnwindSafe for PamojaJoints
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