Struct hls_m3u8::tags::ExtXStart [−][src]
pub struct ExtXStart { /* fields omitted */ }
Methods
impl ExtXStart
[src]
impl ExtXStart
pub fn new(time_offset: SignedDecimalFloatingPoint) -> Self
[src]
pub fn new(time_offset: SignedDecimalFloatingPoint) -> Self
Makes a new ExtXStart
tag.
pub fn with_precise(
time_offset: SignedDecimalFloatingPoint,
precise: bool
) -> Self
[src]
pub fn with_precise(
time_offset: SignedDecimalFloatingPoint,
precise: bool
) -> Self
Makes a new ExtXStart
tag with the given precise
flag.
pub fn time_offset(&self) -> SignedDecimalFloatingPoint
[src]
pub fn time_offset(&self) -> SignedDecimalFloatingPoint
Returns the time offset of the media segments in the playlist.
pub fn precise(&self) -> bool
[src]
pub fn precise(&self) -> bool
Returns whether clients should not render media stream whose presentation times are prior to the specified time offset.
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 ExtXStart
[src]
impl Debug for ExtXStart
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 ExtXStart
[src]
impl Clone for ExtXStart
fn clone(&self) -> ExtXStart
[src]
fn clone(&self) -> ExtXStart
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ExtXStart
[src]
impl Copy for ExtXStart
impl PartialEq for ExtXStart
[src]
impl PartialEq for ExtXStart
fn eq(&self, other: &ExtXStart) -> bool
[src]
fn eq(&self, other: &ExtXStart) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExtXStart) -> bool
[src]
fn ne(&self, other: &ExtXStart) -> bool
This method tests for !=
.
impl Eq for ExtXStart
[src]
impl Eq for ExtXStart
impl Display for ExtXStart
[src]
impl Display for ExtXStart
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 ExtXStart
[src]
impl FromStr for ExtXStart
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<ExtXStart> for MasterPlaylistTag
[src]
impl From<ExtXStart> for MasterPlaylistTag
impl From<ExtXStart> for MediaPlaylistTag
[src]
impl From<ExtXStart> for MediaPlaylistTag