Struct hls_m3u8::tags::ExtXTargetDuration[][src]

pub struct ExtXTargetDuration { /* fields omitted */ }

Methods

impl ExtXTargetDuration
[src]

Makes a new ExtXTargetduration tag.

Note that the nanoseconds part of the duration will be discarded.

Returns the maximum media segment duration in the associated playlist.

Returns the protocol compatibility version that this tag requires.

Trait Implementations

impl Debug for ExtXTargetDuration
[src]

Formats the value using the given formatter. Read more

impl Clone for ExtXTargetDuration
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ExtXTargetDuration
[src]

impl PartialEq for ExtXTargetDuration
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ExtXTargetDuration
[src]

impl Hash for ExtXTargetDuration
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for ExtXTargetDuration
[src]

Formats the value using the given formatter. Read more

impl FromStr for ExtXTargetDuration
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl From<ExtXTargetDuration> for MediaPlaylistTag
[src]

Performs the conversion.

Auto Trait Implementations