Struct m3u8_rs::playlist::ByteRange
[−]
[src]
pub struct ByteRange { pub length: i32, pub offset: Option<i32>, }
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
length: i32
offset: Option<i32>
Methods
impl ByteRange
[src]
fn write_value_to<T: Write>(&self, w: &mut T) -> Result<()>
Trait Implementations
impl Debug for ByteRange
[src]
impl Default for ByteRange
[src]
impl Clone for ByteRange
[src]
fn clone(&self) -> ByteRange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ByteRange
[src]
fn eq(&self, __arg_0: &ByteRange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ByteRange) -> bool
This method tests for !=
.