pub struct BodyPose {
pub id: String,
pub rotation: [f64; 4],
pub translation: [f64; 3],
}Expand description
Solved pose of one body (same order as the input bodies slice).
Fields§
§id: String§rotation: [f64; 4]Unit quaternion [w, x, y, z], local → world.
translation: [f64; 3]Trait Implementations§
Source§impl<'de> Deserialize<'de> for BodyPose
impl<'de> Deserialize<'de> for BodyPose
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
Auto Trait Implementations§
impl Freeze for BodyPose
impl RefUnwindSafe for BodyPose
impl Send for BodyPose
impl Sync for BodyPose
impl Unpin for BodyPose
impl UnsafeUnpin for BodyPose
impl UnwindSafe for BodyPose
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