#[non_exhaustive]pub struct FootCycleMetrics {
pub loop_seam_ratio: Option<f64>,
pub gait_phase: Option<f64>,
pub lr_amplitude_m: f64,
}Expand description
Foot-cycle metrics for one sampled clip.
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.loop_seam_ratio: Option<f64>Wrap discontinuity of the feet (relative to hips) over the max of
the two seam-adjacent in-clip steps. ≈1.0 for a clean cyclic
loop; well above 1 for a seam pop. None when the clip has no
real stride.
gait_phase: Option<f64>Cycle position [0,1) of the trough of the fundamental harmonic
of the left-minus-right foot-height signal — a stride-phase
anchor encoding handedness + cycle alignment. None when a side
is missing.
lr_amplitude_m: f64Peak-to-peak swing of the L−R foot-height signal (metres); near zero means no detectable alternation and the phase is noise.
Trait Implementations§
Source§impl Clone for FootCycleMetrics
impl Clone for FootCycleMetrics
Source§fn clone(&self) -> FootCycleMetrics
fn clone(&self) -> FootCycleMetrics
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 moreSource§impl Debug for FootCycleMetrics
impl Debug for FootCycleMetrics
Source§impl PartialEq for FootCycleMetrics
impl PartialEq for FootCycleMetrics
impl StructuralPartialEq for FootCycleMetrics
Auto Trait Implementations§
impl Freeze for FootCycleMetrics
impl RefUnwindSafe for FootCycleMetrics
impl Send for FootCycleMetrics
impl Sync for FootCycleMetrics
impl Unpin for FootCycleMetrics
impl UnsafeUnpin for FootCycleMetrics
impl UnwindSafe for FootCycleMetrics
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