[−][src]Struct hls_m3u8::MasterPlaylist
Master playlist.
Methods
impl MasterPlaylist
[src]
pub fn version_tag(&self) -> ExtXVersion
[src]
Returns the EXT-X-VERSION
tag contained in the playlist.
pub fn independent_segments_tag(&self) -> Option<ExtXIndependentSegments>
[src]
Returns the EXT-X-INDEPENDENT-SEGMENTS
tag contained in the playlist.
pub fn start_tag(&self) -> Option<ExtXStart>
[src]
Returns the EXT-X-START
tag contained in the playlist.
pub fn media_tags(&self) -> &[ExtXMedia]
[src]
Returns the EXT-X-MEDIA
tags contained in the playlist.
pub fn stream_inf_tags(&self) -> &[ExtXStreamInf]
[src]
Returns the EXT-X-STREAM-INF
tags contained in the playlist.
pub fn i_frame_stream_inf_tags(&self) -> &[ExtXIFrameStreamInf]
[src]
Returns the EXT-X-I-FRAME-STREAM-INF
tags contained in the playlist.
pub fn session_data_tags(&self) -> &[ExtXSessionData]
[src]
Returns the EXT-X-SESSION-DATA
tags contained in the playlist.
pub fn session_key_tags(&self) -> &[ExtXSessionKey]
[src]
Returns the EXT-X-SESSION-KEY
tags contained in the playlist.
Trait Implementations
impl Clone for MasterPlaylist
[src]
fn clone(&self) -> MasterPlaylist
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for MasterPlaylist
[src]
impl Debug for MasterPlaylist
[src]
impl FromStr for MasterPlaylist
[src]
Auto Trait Implementations
impl Sync for MasterPlaylist
impl Send for MasterPlaylist
impl Unpin for MasterPlaylist
impl RefUnwindSafe for MasterPlaylist
impl UnwindSafe for MasterPlaylist
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,