pub enum FaceDelta {
Removed,
Full(FaceState),
Partial {
head_rotation: Option<(f32, f32, f32)>,
emotion_change: Option<(String, f32)>,
mouth_openness: Option<f32>,
speaking: Option<bool>,
gaze_yaw: Option<f32>,
gaze_pitch: Option<f32>,
},
}Expand description
Face delta - changes in face state
Variants§
Removed
No face anymore
Full(FaceState)
Full face state (new face appeared)
Partial
Partial update
Fields
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FaceDelta
impl RefUnwindSafe for FaceDelta
impl Send for FaceDelta
impl Sync for FaceDelta
impl Unpin for FaceDelta
impl UnsafeUnpin for FaceDelta
impl UnwindSafe for FaceDelta
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