Enum mpris_server::LoopStatus
source · pub enum LoopStatus {
None,
Track,
Playlist,
}
Expand description
A repeat / loop status.
Variants§
None
The playback will stop when there are no more tracks to play.
Track
The current track will start again from the beginning once it has finished playing.
Playlist
The playback loops through a list of tracks.
Implementations§
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 Display for LoopStatus
impl Display for LoopStatus
source§impl<'a> From<LoopStatus> for Value<'a>
impl<'a> From<LoopStatus> for Value<'a>
source§fn from(status: LoopStatus) -> Self
fn from(status: LoopStatus) -> Self
Converts to this type from the input type.
source§impl PartialEq for LoopStatus
impl PartialEq for LoopStatus
source§impl<'a> TryFrom<Value<'a>> for LoopStatus
impl<'a> TryFrom<Value<'a>> for LoopStatus
source§impl Type for LoopStatus
impl Type for LoopStatus
impl Copy for LoopStatus
impl Eq for LoopStatus
impl StructuralPartialEq for LoopStatus
Auto Trait Implementations§
impl Freeze for LoopStatus
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere
T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more