#[non_exhaustive]pub struct StartPoint {
pub time_offset: f64,
pub precise: bool,
pub extra_attrs: Vec<(String, String)>,
}Expand description
#EXT-X-START (RFC 8216bis §4.4.2.2) — a preferred playback start point.
Valid in either a MediaPlaylist or a MasterPlaylist.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.time_offset: f64TIME-OFFSET — signed seconds from the start of the Playlist
(positive) or from the end of the last Media Segment (negative).
REQUIRED.
precise: boolPRECISE — if true, a client should not render samples before
time_offset within the segment it lands in. Absence on the wire
means false (RFC 8216bis §4.4.2.2).
extra_attrs: Vec<(String, String)>Unmodeled attributes, retained so REQ- prefixed names can fire
RFC 8216bis §8 row 12. Sorted by name on parse (deterministic).
Trait Implementations§
Source§impl Clone for StartPoint
impl Clone for StartPoint
Source§fn clone(&self) -> StartPoint
fn clone(&self) -> StartPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StartPoint
impl Debug for StartPoint
Source§impl PartialEq for StartPoint
impl PartialEq for StartPoint
impl StructuralPartialEq for StartPoint
Auto Trait Implementations§
impl Freeze for StartPoint
impl RefUnwindSafe for StartPoint
impl Send for StartPoint
impl Sync for StartPoint
impl Unpin for StartPoint
impl UnsafeUnpin for StartPoint
impl UnwindSafe for StartPoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more