#[repr(u8)]pub enum LoopMode {
Off = 0,
Track = 1,
Queue = 2,
}Expand description
What happens when a track ends: go on (off), play it again (track), or put it at
the end of the queue (queue).
Variants§
Trait Implementations§
impl Copy for LoopMode
impl Eq for LoopMode
Source§impl Ord for LoopMode
impl Ord for LoopMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for LoopMode
impl PartialOrd 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 UnsafeUnpin 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