Struct hls_m3u8::tags::ExtXMediaSequence [−][src]
pub struct ExtXMediaSequence { /* fields omitted */ }
Methods
impl ExtXMediaSequence
[src]
impl ExtXMediaSequence
pub fn new(seq_num: u64) -> Self
[src]
pub fn new(seq_num: u64) -> Self
Makes a new ExtXMediaSequence
tag.
pub fn seq_num(self) -> u64
[src]
pub fn seq_num(self) -> u64
Returns the sequence number of the first media segment that appears in the associated playlist.
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 ExtXMediaSequence
[src]
impl Debug for ExtXMediaSequence
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 ExtXMediaSequence
[src]
impl Clone for ExtXMediaSequence
fn clone(&self) -> ExtXMediaSequence
[src]
fn clone(&self) -> ExtXMediaSequence
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ExtXMediaSequence
[src]
impl Copy for ExtXMediaSequence
impl PartialEq for ExtXMediaSequence
[src]
impl PartialEq for ExtXMediaSequence
fn eq(&self, other: &ExtXMediaSequence) -> bool
[src]
fn eq(&self, other: &ExtXMediaSequence) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExtXMediaSequence) -> bool
[src]
fn ne(&self, other: &ExtXMediaSequence) -> bool
This method tests for !=
.
impl Eq for ExtXMediaSequence
[src]
impl Eq for ExtXMediaSequence
impl Hash for ExtXMediaSequence
[src]
impl Hash for ExtXMediaSequence
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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for ExtXMediaSequence
[src]
impl Display for ExtXMediaSequence
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 ExtXMediaSequence
[src]
impl FromStr for ExtXMediaSequence
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<ExtXMediaSequence> for MediaPlaylistTag
[src]
impl From<ExtXMediaSequence> for MediaPlaylistTag
fn from(f: ExtXMediaSequence) -> Self
[src]
fn from(f: ExtXMediaSequence) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for ExtXMediaSequence
impl Send for ExtXMediaSequence
impl Sync for ExtXMediaSequence
impl Sync for ExtXMediaSequence