#[repr(i32)]pub enum MediaSessionPlaybackState {
None_ = 1,
Playing = 2,
Paused = 3,
}
Expand description
Variants§
None_ = 1
The browsing context does not specify whether it’s playing or paused.
Playing = 2
The browsing context is currently playing media and it can be paused.
Paused = 3
The browsing context has paused media and it can be resumed.
Trait Implementations§
source§impl Clone for MediaSessionPlaybackState
impl Clone for MediaSessionPlaybackState
source§fn clone(&self) -> MediaSessionPlaybackState
fn clone(&self) -> MediaSessionPlaybackState
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 MediaSessionPlaybackState
impl Debug for MediaSessionPlaybackState
source§impl<'de> Deserialize<'de> for MediaSessionPlaybackState
impl<'de> Deserialize<'de> for MediaSessionPlaybackState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MediaSessionPlaybackState
impl RefUnwindSafe for MediaSessionPlaybackState
impl Send for MediaSessionPlaybackState
impl Sync for MediaSessionPlaybackState
impl Unpin for MediaSessionPlaybackState
impl UnwindSafe for MediaSessionPlaybackState
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