Struct hls_m3u8::MediaPlaylist [−][src]
pub struct MediaPlaylist { /* fields omitted */ }
Media playlist.
Methods
impl MediaPlaylist
[src]
impl MediaPlaylist
pub fn version_tag(&self) -> ExtXVersion
[src]
pub fn version_tag(&self) -> ExtXVersion
Returns the EXT-X-VERSION
tag contained in the playlist.
pub fn target_duration_tag(&self) -> ExtXTargetDuration
[src]
pub fn target_duration_tag(&self) -> ExtXTargetDuration
Returns the EXT-X-TARGETDURATION
tag contained in the playlist.
pub fn media_sequence_tag(&self) -> Option<ExtXMediaSequence>
[src]
pub fn media_sequence_tag(&self) -> Option<ExtXMediaSequence>
Returns the EXT-X-MEDIA-SEQUENCE
tag contained in the playlist.
pub fn discontinuity_sequence_tag(&self) -> Option<ExtXDiscontinuitySequence>
[src]
pub fn discontinuity_sequence_tag(&self) -> Option<ExtXDiscontinuitySequence>
Returns the EXT-X-DISCONTINUITY-SEQUENCE
tag contained in the playlist.
pub fn playlist_type_tag(&self) -> Option<ExtXPlaylistType>
[src]
pub fn playlist_type_tag(&self) -> Option<ExtXPlaylistType>
Returns the EXT-X-PLAYLIST-TYPE
tag contained in the playlist.
pub fn i_frames_only_tag(&self) -> Option<ExtXIFramesOnly>
[src]
pub fn i_frames_only_tag(&self) -> Option<ExtXIFramesOnly>
Returns the EXT-X-I-FRAMES-ONLY
tag contained in the playlist.
pub fn independent_segments_tag(&self) -> Option<ExtXIndependentSegments>
[src]
pub fn independent_segments_tag(&self) -> Option<ExtXIndependentSegments>
Returns the EXT-X-INDEPENDENT-SEGMENTS
tag contained in the playlist.
pub fn start_tag(&self) -> Option<ExtXStart>
[src]
pub fn start_tag(&self) -> Option<ExtXStart>
Returns the EXT-X-START
tag contained in the playlist.
pub fn end_list_tag(&self) -> Option<ExtXEndList>
[src]
pub fn end_list_tag(&self) -> Option<ExtXEndList>
Returns the EXT-X-ENDLIST
tag contained in the playlist.
pub fn segments(&self) -> &[MediaSegment]
[src]
pub fn segments(&self) -> &[MediaSegment]
Returns the media segments contained in the playlist.
Trait Implementations
impl Debug for MediaPlaylist
[src]
impl Debug for MediaPlaylist
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MediaPlaylist
[src]
impl Clone for MediaPlaylist
fn clone(&self) -> MediaPlaylist
[src]
fn clone(&self) -> MediaPlaylist
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Display for MediaPlaylist
[src]
impl Display for MediaPlaylist
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl FromStr for MediaPlaylist
[src]
impl FromStr for MediaPlaylist
Auto Trait Implementations
impl Send for MediaPlaylist
impl Send for MediaPlaylist
impl Sync for MediaPlaylist
impl Sync for MediaPlaylist