Enum mpris_server::PlaybackStatus
source · pub enum PlaybackStatus {
Playing,
Paused,
Stopped,
}
Expand description
A playback state.
Variants§
Playing
A track is currently playing.
Paused
A track is currently paused.
Stopped
There is no track currently playing.
Implementations§
Trait Implementations§
source§impl Clone for PlaybackStatus
impl Clone for PlaybackStatus
source§fn clone(&self) -> PlaybackStatus
fn clone(&self) -> PlaybackStatus
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 PlaybackStatus
impl Debug for PlaybackStatus
source§impl Display for PlaybackStatus
impl Display for PlaybackStatus
source§impl<'a> From<PlaybackStatus> for Value<'a>
impl<'a> From<PlaybackStatus> for Value<'a>
source§fn from(status: PlaybackStatus) -> Self
fn from(status: PlaybackStatus) -> Self
Converts to this type from the input type.
source§impl PartialEq for PlaybackStatus
impl PartialEq for PlaybackStatus
source§impl Type for PlaybackStatus
impl Type for PlaybackStatus
impl Copy for PlaybackStatus
impl Eq for PlaybackStatus
impl StructuralPartialEq for PlaybackStatus
Auto Trait Implementations§
impl Freeze for PlaybackStatus
impl RefUnwindSafe for PlaybackStatus
impl Send for PlaybackStatus
impl Sync for PlaybackStatus
impl Unpin for PlaybackStatus
impl UnwindSafe for PlaybackStatus
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