pub enum MediaState {
None,
Playing,
Opening,
Buffering,
Paused,
Stopped,
Ended,
Error,
}
Expand description
OBS media state
Variants§
Trait Implementations§
Source§impl Clone for MediaState
impl Clone for MediaState
Source§fn clone(&self) -> MediaState
fn clone(&self) -> MediaState
Returns a duplicate 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 MediaState
impl Debug for MediaState
Source§impl PartialEq for MediaState
impl PartialEq for MediaState
impl Copy for MediaState
impl Eq for MediaState
impl StructuralPartialEq for MediaState
Auto Trait Implementations§
impl Freeze for MediaState
impl RefUnwindSafe for MediaState
impl Send for MediaState
impl Sync for MediaState
impl Unpin for MediaState
impl UnwindSafe for MediaState
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