Enum m3u8_rs::MediaPlaylistType
source · pub enum MediaPlaylistType {
Event,
Vod,
Other(String),
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for MediaPlaylistType
impl Clone for MediaPlaylistType
source§fn clone(&self) -> MediaPlaylistType
fn clone(&self) -> MediaPlaylistType
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 MediaPlaylistType
impl Debug for MediaPlaylistType
source§impl Default for MediaPlaylistType
impl Default for MediaPlaylistType
source§fn default() -> MediaPlaylistType
fn default() -> MediaPlaylistType
Returns the “default value” for a type. Read more
source§impl Display for MediaPlaylistType
impl Display for MediaPlaylistType
source§impl FromStr for MediaPlaylistType
impl FromStr for MediaPlaylistType
source§impl Hash for MediaPlaylistType
impl Hash for MediaPlaylistType
source§impl Ord for MediaPlaylistType
impl Ord for MediaPlaylistType
source§fn cmp(&self, other: &MediaPlaylistType) -> Ordering
fn cmp(&self, other: &MediaPlaylistType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MediaPlaylistType
impl PartialEq for MediaPlaylistType
source§fn eq(&self, other: &MediaPlaylistType) -> bool
fn eq(&self, other: &MediaPlaylistType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MediaPlaylistType
impl PartialOrd for MediaPlaylistType
source§fn partial_cmp(&self, other: &MediaPlaylistType) -> Option<Ordering>
fn partial_cmp(&self, other: &MediaPlaylistType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for MediaPlaylistType
impl StructuralPartialEq for MediaPlaylistType
Auto Trait Implementations§
impl RefUnwindSafe for MediaPlaylistType
impl Send for MediaPlaylistType
impl Sync for MediaPlaylistType
impl Unpin for MediaPlaylistType
impl UnwindSafe for MediaPlaylistType
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