Struct hls_m3u8::MediaSegment
[−]
[src]
pub struct MediaSegment { /* fields omitted */ }
Media segment.
Methods
impl MediaSegment
[src]
fn uri(&self) -> &SingleLineString
[src]
Returns the URI of the media segment.
fn inf_tag(&self) -> &ExtInf
[src]
Returns the EXT-X-INF
tag associated with the media segment.
fn byte_range_tag(&self) -> Option<ExtXByteRange>
[src]
Returns the EXT-X-BYTERANGE
tag associated with the media segment.
fn date_range_tag(&self) -> Option<&ExtXDateRange>
[src]
Returns the EXT-X-DATERANGE
tag associated with the media segment.
fn discontinuity_tag(&self) -> Option<ExtXDiscontinuity>
[src]
Returns the EXT-X-DISCONTINUITY
tag associated with the media segment.
fn program_date_time_tag(&self) -> Option<&ExtXProgramDateTime>
[src]
Returns the EXT-X-PROGRAM-DATE-TIME
tag associated with the media segment.
fn map_tag(&self) -> Option<&ExtXMap>
[src]
Returns the EXT-X-MAP
tag associated with the media segment.
[src]
Returns the EXT-X-KEY
tags associated with the media segment.
fn requires_version(&self) -> ProtocolVersion
[src]
Returns the protocol compatibility version that this segment requires.
Trait Implementations
impl Debug for MediaSegment
[src]
impl Clone for MediaSegment
[src]
fn clone(&self) -> MediaSegment
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more