#[non_exhaustive]pub struct RootYawMetrics {
pub heading_axis: RootYawHeadingAxis,
pub net_yaw_deg: f64,
pub unwrapped_yaw_deg: f64,
pub yaw_travel_deg: f64,
}Expand description
Signed sampled yaw facts for a selected Root/Hips bone.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.heading_axis: RootYawHeadingAxisFixed local basis axis used as the horizontal heading witness.
net_yaw_deg: f64Shortest signed endpoint-equivalent yaw in [-180, 180] degrees.
An exact half turn retains the sign of Self::unwrapped_yaw_deg.
unwrapped_yaw_deg: f64Signed first-to-last heading change after deterministic wrap crossing
unwrapping. Unlike endpoint orientation alone, a sampled full turn is
retained as approximately +360 or -360 degrees.
yaw_travel_deg: f64Sum of absolute sampled unwrapped heading steps. This retains reversing
yaw motion that cancels in Self::unwrapped_yaw_deg.
Trait Implementations§
Source§impl Clone for RootYawMetrics
impl Clone for RootYawMetrics
Source§fn clone(&self) -> RootYawMetrics
fn clone(&self) -> RootYawMetrics
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 RootYawMetrics
Source§impl Debug for RootYawMetrics
impl Debug for RootYawMetrics
Source§impl PartialEq for RootYawMetrics
impl PartialEq for RootYawMetrics
impl StructuralPartialEq for RootYawMetrics
Auto Trait Implementations§
impl Freeze for RootYawMetrics
impl RefUnwindSafe for RootYawMetrics
impl Send for RootYawMetrics
impl Sync for RootYawMetrics
impl Unpin for RootYawMetrics
impl UnsafeUnpin for RootYawMetrics
impl UnwindSafe for RootYawMetrics
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