pub struct CheekState {
pub puff_left: f32,
pub puff_right: f32,
pub hollow_left: f32,
pub hollow_right: f32,
pub raise_left: f32,
pub raise_right: f32,
pub target_puff_left: f32,
pub target_puff_right: f32,
}Expand description
Runtime state of both cheeks.
Fields§
§puff_left: f32Left cheek puff amount (0..1).
puff_right: f32Right cheek puff amount (0..1).
hollow_left: f32Left cheek hollow amount (-1..0).
hollow_right: f32Right cheek hollow amount (-1..0).
raise_left: f32Left cheek raise amount (0..1).
raise_right: f32Right cheek raise amount (0..1).
target_puff_left: f32Target puff left (for smooth interpolation).
target_puff_right: f32Target puff right (for smooth interpolation).
Trait Implementations§
Source§impl Clone for CheekState
impl Clone for CheekState
Source§fn clone(&self) -> CheekState
fn clone(&self) -> CheekState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CheekState
impl RefUnwindSafe for CheekState
impl Send for CheekState
impl Sync for CheekState
impl Unpin for CheekState
impl UnsafeUnpin for CheekState
impl UnwindSafe for CheekState
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