pub struct BakerConfig {
pub fps: f32,
pub blend_window: f32,
pub emphasis_scale: f32,
pub silence_phoneme: String,
}Expand description
Configuration for the lip-sync baker.
Fields§
§fps: f32Bake resolution in frames per second (default 30).
blend_window: f32Crossfade window in seconds (default 0.05).
emphasis_scale: f32Overall weight multiplier (default 1.0).
silence_phoneme: StringPhoneme label used for silence (default “SIL”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BakerConfig
impl RefUnwindSafe for BakerConfig
impl Send for BakerConfig
impl Sync for BakerConfig
impl Unpin for BakerConfig
impl UnsafeUnpin for BakerConfig
impl UnwindSafe for BakerConfig
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> 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