Struct m3u8_rs::playlist::ByteRange [] [src]

pub struct ByteRange {
    pub length: i32,
    pub offset: Option<i32>,
}

#EXT-X-BYTERANGE:<n>[@<o>]

The EXT-X-BYTERANGE tag indicates that a Media Segment is a sub-range of the resource identified by its URI. It applies only to the next URI line that follows it in the Playlist.

Fields

Methods

impl ByteRange
[src]

Trait Implementations

impl Debug for ByteRange
[src]

Formats the value using the given formatter.

impl Default for ByteRange
[src]

Returns the "default value" for a type. Read more

impl Clone for ByteRange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ByteRange
[src]

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

This method tests for !=.

impl From<String> for ByteRange
[src]

Performs the conversion.

impl<'a> From<&'a str> for ByteRange
[src]

Performs the conversion.