Struct hls_m3u8::tags::ExtXMap [−][src]
pub struct ExtXMap { /* fields omitted */ }
Methods
impl ExtXMap
[src]
impl ExtXMap
pub fn new(uri: QuotedString) -> Self
[src]
pub fn new(uri: QuotedString) -> Self
Makes a new ExtXMap
tag.
pub fn with_range(uri: QuotedString, range: ByteRange) -> Self
[src]
pub fn with_range(uri: QuotedString, range: ByteRange) -> Self
Makes a new ExtXMap
tag with the given range.
pub fn uri(&self) -> &QuotedString
[src]
pub fn uri(&self) -> &QuotedString
Returns the URI that identifies a resource that contains the media initialization section.
pub fn range(&self) -> Option<ByteRange>
[src]
pub fn range(&self) -> Option<ByteRange>
Returns the range of the media initialization section.
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 ExtXMap
[src]
impl Debug for ExtXMap
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 ExtXMap
[src]
impl Clone for ExtXMap
fn clone(&self) -> ExtXMap
[src]
fn clone(&self) -> ExtXMap
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)
Performs copy-assignment from source
. Read more
impl PartialEq for ExtXMap
[src]
impl PartialEq for ExtXMap
fn eq(&self, other: &ExtXMap) -> bool
[src]
fn eq(&self, other: &ExtXMap) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExtXMap) -> bool
[src]
fn ne(&self, other: &ExtXMap) -> bool
This method tests for !=
.
impl Eq for ExtXMap
[src]
impl Eq for ExtXMap
impl Hash for ExtXMap
[src]
impl Hash for ExtXMap
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for ExtXMap
[src]
impl Display for ExtXMap
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 ExtXMap
[src]
impl FromStr for ExtXMap
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<ExtXMap> for MediaSegmentTag
[src]
impl From<ExtXMap> for MediaSegmentTag