#[non_exhaustive]pub struct RootTranslationMeasurement {
pub horizontal_displacement_x_m: f64,
pub horizontal_displacement_z_m: f64,
pub horizontal_travel_m: f64,
pub vertical_displacement_m: f64,
pub vertical_min_displacement_m: f64,
pub vertical_max_displacement_m: f64,
}Expand description
Sampled model-space translation facts for the selected root-trajectory 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.horizontal_displacement_x_m: f64Endpoint displacement along canonical model-space +X, in metres.
horizontal_displacement_z_m: f64Endpoint displacement along canonical model-space +Z, in metres.
horizontal_travel_m: f64Sum of sampled model-space XZ step lengths, in metres.
vertical_displacement_m: f64Signed endpoint displacement along canonical model-space +Y, in metres.
vertical_min_displacement_m: f64Minimum signed +Y displacement from the initial sample, in metres.
vertical_max_displacement_m: f64Maximum signed +Y displacement from the initial sample, in metres.
Trait Implementations§
Source§impl Clone for RootTranslationMeasurement
impl Clone for RootTranslationMeasurement
Source§fn clone(&self) -> RootTranslationMeasurement
fn clone(&self) -> RootTranslationMeasurement
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 RootTranslationMeasurement
Source§impl Debug for RootTranslationMeasurement
impl Debug for RootTranslationMeasurement
Source§impl<'de> Deserialize<'de> for RootTranslationMeasurement
impl<'de> Deserialize<'de> for RootTranslationMeasurement
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
impl StructuralPartialEq for RootTranslationMeasurement
Auto Trait Implementations§
impl Freeze for RootTranslationMeasurement
impl RefUnwindSafe for RootTranslationMeasurement
impl Send for RootTranslationMeasurement
impl Sync for RootTranslationMeasurement
impl Unpin for RootTranslationMeasurement
impl UnsafeUnpin for RootTranslationMeasurement
impl UnwindSafe for RootTranslationMeasurement
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