Struct hls_m3u8::tags::ExtXStreamInf [−][src]
pub struct ExtXStreamInf { /* fields omitted */ }
Methods
impl ExtXStreamInf
[src]
impl ExtXStreamInf
pub fn new(uri: SingleLineString, bandwidth: u64) -> Self
[src]
pub fn new(uri: SingleLineString, bandwidth: u64) -> Self
Makes a new ExtXStreamInf
tag.
pub fn uri(&self) -> &SingleLineString
[src]
pub fn uri(&self) -> &SingleLineString
Returns the URI that identifies the associated media playlist.
pub fn bandwidth(&self) -> u64
[src]
pub fn bandwidth(&self) -> u64
Returns the peak segment bit rate of the variant stream.
pub fn average_bandwidth(&self) -> Option<u64>
[src]
pub fn average_bandwidth(&self) -> Option<u64>
Returns the average segment bit rate of the variant stream.
pub fn codecs(&self) -> Option<&QuotedString>
[src]
pub fn codecs(&self) -> Option<&QuotedString>
Returns a string that represents the list of codec types contained the variant stream.
pub fn resolution(&self) -> Option<DecimalResolution>
[src]
pub fn resolution(&self) -> Option<DecimalResolution>
Returns the optimal pixel resolution at which to display all the video in the variant stream.
pub fn frame_rate(&self) -> Option<DecimalFloatingPoint>
[src]
pub fn frame_rate(&self) -> Option<DecimalFloatingPoint>
Returns the maximum frame rate for all the video in the variant stream.
pub fn hdcp_level(&self) -> Option<HdcpLevel>
[src]
pub fn hdcp_level(&self) -> Option<HdcpLevel>
Returns the HDCP level of the variant stream.
pub fn audio(&self) -> Option<&QuotedString>
[src]
pub fn audio(&self) -> Option<&QuotedString>
Returns the group identifier for the audio in the variant stream.
pub fn video(&self) -> Option<&QuotedString>
[src]
pub fn video(&self) -> Option<&QuotedString>
Returns the group identifier for the video in the variant stream.
pub fn subtitles(&self) -> Option<&QuotedString>
[src]
pub fn subtitles(&self) -> Option<&QuotedString>
Returns the group identifier for the subtitles in the variant stream.
Returns the value of CLOSED-CAPTIONS
attribute.
pub fn requires_version(&self) -> ProtocolVersion
[src]
pub fn requires_version(&self) -> ProtocolVersion
Returns the protocol compatibility version that this tag requires.
Trait Implementations
impl Debug for ExtXStreamInf
[src]
impl Debug for ExtXStreamInf
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 ExtXStreamInf
[src]
impl Clone for ExtXStreamInf
fn clone(&self) -> ExtXStreamInf
[src]
fn clone(&self) -> ExtXStreamInf
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 PartialEq for ExtXStreamInf
[src]
impl PartialEq for ExtXStreamInf
fn eq(&self, other: &ExtXStreamInf) -> bool
[src]
fn eq(&self, other: &ExtXStreamInf) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExtXStreamInf) -> bool
[src]
fn ne(&self, other: &ExtXStreamInf) -> bool
This method tests for !=
.
impl Eq for ExtXStreamInf
[src]
impl Eq for ExtXStreamInf
impl Display for ExtXStreamInf
[src]
impl Display for ExtXStreamInf
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 ExtXStreamInf
[src]
impl FromStr for ExtXStreamInf
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self>
[src]
fn from_str(s: &str) -> Result<Self>
Parses a string s
to return a value of this type. Read more
impl From<ExtXStreamInf> for MasterPlaylistTag
[src]
impl From<ExtXStreamInf> for MasterPlaylistTag
fn from(f: ExtXStreamInf) -> Self
[src]
fn from(f: ExtXStreamInf) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for ExtXStreamInf
impl Send for ExtXStreamInf
impl Sync for ExtXStreamInf
impl Sync for ExtXStreamInf