pub struct SoundBankEntry {
pub name: &'static str,
pub id: SoundId,
pub base_volume: f32,
pub bus: AudioBus,
}Expand description
A loaded cue inside a SoundBank.
Fields§
§name: &'static strThe name from the SoundSpec.
id: SoundIdThe engine handle.
base_volume: f32The cue’s own level.
bus: AudioBusThe cue’s bus.
Trait Implementations§
Source§impl Clone for SoundBankEntry
impl Clone for SoundBankEntry
Source§fn clone(&self) -> SoundBankEntry
fn clone(&self) -> SoundBankEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SoundBankEntry
Auto Trait Implementations§
impl Freeze for SoundBankEntry
impl RefUnwindSafe for SoundBankEntry
impl Send for SoundBankEntry
impl Sync for SoundBankEntry
impl Unpin for SoundBankEntry
impl UnsafeUnpin for SoundBankEntry
impl UnwindSafe for SoundBankEntry
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