pub struct SoundSpec {
pub channel: ChannelId,
pub level: Level,
pub max_voices: usize,
pub steal: Steal,
pub pitch_jitter: f32,
pub volume_jitter: f32,
pub steal_fade: f32,
pub envelope: Option<Envelope>,
pub resample: Resample,
}Fields§
§channel: ChannelId§level: Level§max_voices: usize§steal: Steal§pitch_jitter: f32§volume_jitter: f32§steal_fade: f32§envelope: Option<Envelope>§resample: ResampleTrait Implementations§
impl Copy for SoundSpec
impl StructuralPartialEq for SoundSpec
Auto Trait Implementations§
impl Freeze for SoundSpec
impl RefUnwindSafe for SoundSpec
impl Send for SoundSpec
impl Sync for SoundSpec
impl Unpin for SoundSpec
impl UnsafeUnpin for SoundSpec
impl UnwindSafe for SoundSpec
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