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: f32
Weight 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 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 BlendShape
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