[][src]Struct hls_m3u8::tags::ExtXStart

pub struct ExtXStart { /* fields omitted */ }

Methods

impl ExtXStart[src]

pub fn new(time_offset: SignedDecimalFloatingPoint) -> Self[src]

Makes a new ExtXStart tag.

pub fn with_precise(
    time_offset: SignedDecimalFloatingPoint,
    precise: bool
) -> Self
[src]

Makes a new ExtXStart tag with the given precise flag.

pub fn time_offset(&self) -> SignedDecimalFloatingPoint[src]

Returns the time offset of the media segments in the playlist.

pub fn precise(&self) -> bool[src]

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]

Returns the protocol compatibility version that this tag requires.

Trait Implementations

impl Clone for ExtXStart[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<ExtXStart> for MasterPlaylistTag[src]

impl From<ExtXStart> for MediaPlaylistTag[src]

impl PartialEq<ExtXStart> for ExtXStart[src]

impl Copy for ExtXStart[src]

impl Eq for ExtXStart[src]

impl Display for ExtXStart[src]

impl Debug for ExtXStart[src]

impl FromStr for ExtXStart[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]