pub struct MouthState {
pub openness: f32,
pub smile: f32,
pub viseme: Viseme,
}Expand description
Mouth state for speech visualization
Fields§
§openness: f32Mouth openness (0.0 = closed, 1.0 = fully open)
smile: f32Smile amount (-1.0 = frown, 0.0 = neutral, 1.0 = smile)
viseme: VisemeCurrent viseme (mouth shape for speech)
Trait Implementations§
Source§impl Clone for MouthState
impl Clone for MouthState
Source§fn clone(&self) -> MouthState
fn clone(&self) -> MouthState
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 moreSource§impl Debug for MouthState
impl Debug for MouthState
Source§impl Default for MouthState
impl Default for MouthState
Source§fn default() -> MouthState
fn default() -> MouthState
Returns the “default value” for a type. Read more
impl Copy for MouthState
Auto Trait Implementations§
impl Freeze for MouthState
impl RefUnwindSafe for MouthState
impl Send for MouthState
impl Sync for MouthState
impl Unpin for MouthState
impl UnsafeUnpin for MouthState
impl UnwindSafe for MouthState
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