pub enum Loop {
Off,
Whole,
Region {
start: u64,
end: u64,
},
}Expand description
Which part of a sound repeats.
Variants§
Off
Whole
The whole sound, from its end back to its start.
Region
Plays from the start, then repeats the source frames start..end.
Trait Implementations§
impl Copy for Loop
impl Eq for Loop
impl StructuralPartialEq for Loop
Auto Trait Implementations§
impl Freeze for Loop
impl RefUnwindSafe for Loop
impl Send for Loop
impl Sync for Loop
impl Unpin for Loop
impl UnsafeUnpin for Loop
impl UnwindSafe for Loop
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