pub enum VideoState {
Paused,
Playing,
Ended,
}Expand description
Playback state of a Video.
Variants§
Paused
Not playing; the poster and the play glyph are shown
Playing
Playing; the current frame is shown
Ended
Playback reached the end; the poster and the play glyph are shown
Trait Implementations§
Source§impl Clone for VideoState
impl Clone for VideoState
impl Copy for VideoState
Source§impl Debug for VideoState
impl Debug for VideoState
Source§impl Default for VideoState
impl Default for VideoState
Source§impl<'de> Deserialize<'de> for VideoState
impl<'de> Deserialize<'de> for VideoState
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
impl Eq for VideoState
Source§impl PartialEq for VideoState
impl PartialEq for VideoState
Source§impl Serialize for VideoState
impl Serialize for VideoState
impl StructuralPartialEq for VideoState
Auto Trait Implementations§
impl Forget for VideoState
impl Freeze for VideoState
impl Move for VideoState
impl RefUnwindSafe for VideoState
impl Send for VideoState
impl Sync for VideoState
impl Unpin for VideoState
impl UnsafeUnpin for VideoState
impl UnwindSafe for VideoState
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