pub enum OverLimit {
Refuse,
StopOldest,
StopQuietest,
}Expand description
What happens when a sound already plays its Instances::max voices.
Variants§
Refuse
The new voice does not start.
StopOldest
The voice that started first fades out and the new one starts.
StopQuietest
The voice with the lowest gain fades out and the new one starts.
Trait Implementations§
impl Copy for OverLimit
impl Eq for OverLimit
impl StructuralPartialEq for OverLimit
Auto Trait Implementations§
impl Freeze for OverLimit
impl RefUnwindSafe for OverLimit
impl Send for OverLimit
impl Sync for OverLimit
impl Unpin for OverLimit
impl UnsafeUnpin for OverLimit
impl UnwindSafe for OverLimit
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