pub struct SfxEntry {
pub prompt: Option<String>,
pub type_: String,
pub prompt_influence: Option<f64>,
pub volume_percentage: Option<f64>,
pub ramp_in_seconds: Option<f64>,
pub ramp_out_seconds: Option<f64>,
pub play_duration: Option<f64>,
pub loop_: bool,
pub source: Option<String>,
pub duration_seconds: f64,
}Expand description
One effect entry, with pydantic’s defaults applied.
Fields§
§prompt: Option<String>§type_: String"sfx" or "silence".
prompt_influence: Option<f64>§volume_percentage: Option<f64>§ramp_in_seconds: Option<f64>§ramp_out_seconds: Option<f64>§play_duration: Option<f64>§loop_: bool§source: Option<String>§duration_seconds: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SfxEntry
impl RefUnwindSafe for SfxEntry
impl Send for SfxEntry
impl Sync for SfxEntry
impl Unpin for SfxEntry
impl UnsafeUnpin for SfxEntry
impl UnwindSafe for SfxEntry
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