#[repr(i32)]
pub enum MediaSessionPlaybackState {
None_,
Playing,
Paused,
}
Expand description
https://w3c.github.io/mediasession/#enumdef-mediasessionplaybackstate
Variants§
None_
The browsing context does not specify whether it’s playing or paused.
Playing
The browsing context is currently playing media and it can be paused.
Paused
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