Struct speech_synthesis::BlendShape
source · pub struct BlendShape {
pub key: Box<str>,
pub weight: f32,
}Expand description
Key & weight information for a single blend shape as part of a BlendShapeVisemeFrame.
Fields§
§key: Box<str>Blend shape key, typically as an ARKit blend shape.
weight: f32Weight of the blend shape from 0.0 (no influence) to 1.0 (full influence).
Trait Implementations§
source§impl Clone for BlendShape
impl Clone for BlendShape
source§fn clone(&self) -> BlendShape
fn clone(&self) -> BlendShape
Returns a copy 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 RefUnwindSafe for BlendShape
impl Send for BlendShape
impl Sync for BlendShape
impl Unpin for BlendShape
impl UnwindSafe for BlendShape
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