pub struct JawState {
pub current_open: f32,
pub target_open: f32,
pub lateral_offset: f32,
pub velocity: f32,
}Expand description
Runtime state of the jaw.
Fields§
§current_open: f32Current jaw opening (0 = closed, 1 = fully open).
target_open: f32Target jaw opening to transition toward.
lateral_offset: f32Current lateral offset (-1 left, 0 center, 1 right).
velocity: f32Current velocity of jaw opening (units/s).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JawState
impl RefUnwindSafe for JawState
impl Send for JawState
impl Sync for JawState
impl Unpin for JawState
impl UnsafeUnpin for JawState
impl UnwindSafe for JawState
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