pub struct JawConfig {
pub max_open: f32,
pub min_open: f32,
pub max_lateral: f32,
pub smoothing: f32,
pub max_velocity: f32,
}Expand description
Configuration for jaw movement ranges and dynamics.
Fields§
§max_open: f32Maximum jaw opening angle (normalized 0..1).
min_open: f32Minimum jaw opening angle (normalized 0..1).
max_lateral: f32Maximum lateral offset (normalized -1..1).
smoothing: f32Smoothing factor for jaw transitions (higher = snappier).
max_velocity: f32Maximum angular velocity (units per second).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JawConfig
impl RefUnwindSafe for JawConfig
impl Send for JawConfig
impl Sync for JawConfig
impl Unpin for JawConfig
impl UnsafeUnpin for JawConfig
impl UnwindSafe for JawConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more