#[non_exhaustive]pub enum PlayLoops {
Infinite,
OneShot,
Times(u32),
}
Expand description
Loops on playing in PlayOptions
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Infinite
Playing infinitely.
OneShot
Playing only once.
Times(u32)
Playing the specified number of times.
Trait Implementations§
source§impl PartialEq for PlayLoops
impl PartialEq for PlayLoops
impl Copy for PlayLoops
impl Eq for PlayLoops
impl StructuralPartialEq for PlayLoops
Auto Trait Implementations§
impl RefUnwindSafe for PlayLoops
impl Send for PlayLoops
impl Sync for PlayLoops
impl Unpin for PlayLoops
impl UnwindSafe for PlayLoops
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