Enum mpris::LoopStatus
source · pub enum LoopStatus {
None,
Track,
Playlist,
}
Expand description
A Player
’s looping status.
Variants§
None
The playback will stop when there are no more tracks to play
Track
The current track will start again from the begining once it has finished playing
Playlist
The playback loops through a list of tracks
Trait Implementations§
source§impl Clone for LoopStatus
impl Clone for LoopStatus
source§fn clone(&self) -> LoopStatus
fn clone(&self) -> LoopStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LoopStatus
impl Debug for LoopStatus
source§impl FromStr for LoopStatus
impl FromStr for LoopStatus
source§impl PartialEq<LoopStatus> for LoopStatus
impl PartialEq<LoopStatus> for LoopStatus
source§fn eq(&self, other: &LoopStatus) -> bool
fn eq(&self, other: &LoopStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LoopStatus
impl Eq for LoopStatus
impl StructuralEq for LoopStatus
impl StructuralPartialEq for LoopStatus
Auto Trait Implementations§
impl RefUnwindSafe for LoopStatus
impl Send for LoopStatus
impl Sync for LoopStatus
impl Unpin for LoopStatus
impl UnwindSafe for LoopStatus
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