Enum servo_media_player::StreamType
source · pub enum StreamType {
Stream,
Seekable,
}
Variants§
Stream
No seeking is supported in the stream, such as a live stream.
Seekable
The stream is seekable.
Trait Implementations§
source§impl Clone for StreamType
impl Clone for StreamType
source§fn clone(&self) -> StreamType
fn clone(&self) -> StreamType
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 StreamType
impl Debug for StreamType
source§impl<'de> Deserialize<'de> for StreamType
impl<'de> Deserialize<'de> for StreamType
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
source§impl PartialEq for StreamType
impl PartialEq for StreamType
source§fn eq(&self, other: &StreamType) -> bool
fn eq(&self, other: &StreamType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StreamType
impl Serialize for StreamType
impl Copy for StreamType
impl StructuralPartialEq for StreamType
Auto Trait Implementations§
impl Freeze for StreamType
impl RefUnwindSafe for StreamType
impl Send for StreamType
impl Sync for StreamType
impl Unpin for StreamType
impl UnwindSafe for StreamType
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