Struct qua_format::SoundEffectInfo
source · [−]Expand description
Sound effect played at a specific moment in time
Fields
start_time: f32The time at which to play the sound sample.
sample: i32The one-based index of the sound sample in the CustomAudioSamples array.
volume: i32The volume of the sound sample. Defaults to 100.
Trait Implementations
sourceimpl Clone for SoundEffectInfo
impl Clone for SoundEffectInfo
sourcefn clone(&self) -> SoundEffectInfo
fn clone(&self) -> SoundEffectInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for SoundEffectInfo
impl Default for SoundEffectInfo
sourceimpl<'de> Deserialize<'de> for SoundEffectInfo where
SoundEffectInfo: Default,
impl<'de> Deserialize<'de> for SoundEffectInfo where
SoundEffectInfo: Default,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<SoundEffectInfo> for SoundEffectInfo
impl PartialEq<SoundEffectInfo> for SoundEffectInfo
sourcefn eq(&self, other: &SoundEffectInfo) -> bool
fn eq(&self, other: &SoundEffectInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SoundEffectInfo) -> bool
fn ne(&self, other: &SoundEffectInfo) -> bool
This method tests for !=.
sourceimpl Serialize for SoundEffectInfo
impl Serialize for SoundEffectInfo
impl StructuralPartialEq for SoundEffectInfo
Auto Trait Implementations
impl RefUnwindSafe for SoundEffectInfo
impl Send for SoundEffectInfo
impl Sync for SoundEffectInfo
impl Unpin for SoundEffectInfo
impl UnwindSafe for SoundEffectInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more