[−][src]Struct hls_m3u8::tags::ExtXStreamInf
Methods
impl ExtXStreamInf
[src]
pub fn new(uri: SingleLineString, bandwidth: u64) -> Self
[src]
Makes a new ExtXStreamInf
tag.
pub fn uri(&self) -> &SingleLineString
[src]
Returns the URI that identifies the associated media playlist.
pub fn bandwidth(&self) -> u64
[src]
Returns the peak segment bit rate of the variant stream.
pub fn average_bandwidth(&self) -> Option<u64>
[src]
Returns the average segment bit rate of the variant stream.
pub fn codecs(&self) -> Option<&QuotedString>
[src]
Returns a string that represents the list of codec types contained the variant stream.
pub fn resolution(&self) -> Option<DecimalResolution>
[src]
Returns the optimal pixel resolution at which to display all the video in the variant stream.
pub fn frame_rate(&self) -> Option<DecimalFloatingPoint>
[src]
Returns the maximum frame rate for all the video in the variant stream.
pub fn hdcp_level(&self) -> Option<HdcpLevel>
[src]
Returns the HDCP level of the variant stream.
pub fn audio(&self) -> Option<&QuotedString>
[src]
Returns the group identifier for the audio in the variant stream.
pub fn video(&self) -> Option<&QuotedString>
[src]
Returns the group identifier for the video in the variant stream.
pub fn subtitles(&self) -> Option<&QuotedString>
[src]
Returns the group identifier for the subtitles in the variant stream.
pub fn closed_captions(&self) -> Option<&ClosedCaptions>
[src]
Returns the value of CLOSED-CAPTIONS
attribute.
pub fn requires_version(&self) -> ProtocolVersion
[src]
Returns the protocol compatibility version that this tag requires.
Trait Implementations
impl Clone for ExtXStreamInf
[src]
fn clone(&self) -> ExtXStreamInf
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<ExtXStreamInf> for MasterPlaylistTag
[src]
fn from(f: ExtXStreamInf) -> Self
[src]
impl PartialEq<ExtXStreamInf> for ExtXStreamInf
[src]
fn eq(&self, other: &ExtXStreamInf) -> bool
[src]
fn ne(&self, other: &ExtXStreamInf) -> bool
[src]
impl Eq for ExtXStreamInf
[src]
impl Display for ExtXStreamInf
[src]
impl Debug for ExtXStreamInf
[src]
impl FromStr for ExtXStreamInf
[src]
Auto Trait Implementations
impl Sync for ExtXStreamInf
impl Send for ExtXStreamInf
impl Unpin for ExtXStreamInf
impl RefUnwindSafe for ExtXStreamInf
impl UnwindSafe for ExtXStreamInf
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,