pub enum LoopMode {
NoLoop,
Continuous,
LoopUntilNoteOff,
}
Expand description
Specifies how the sample loops during playback.
Variants§
NoLoop
The sample will be played without loop.
Continuous
The sample will loop continuously.
LoopUntilNoteOff
The sample will loop until the note stops.
Trait Implementations§
impl Eq for LoopMode
impl StructuralPartialEq for LoopMode
Auto Trait Implementations§
impl Freeze for LoopMode
impl RefUnwindSafe for LoopMode
impl Send for LoopMode
impl Sync for LoopMode
impl Unpin for LoopMode
impl UnwindSafe for LoopMode
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