#[non_exhaustive]pub struct SplicePoint {
pub track_id: u32,
pub sample_index: usize,
pub presentation_time: u64,
}Expand description
A splice / concatenation join point in a resulting Media track.
Identifies the first sample of the spliced-in contribution so a downstream
packager can mark the containing segment discontinuous
(#EXT-X-DISCONTINUITY, RFC 8216 §4.3.4.3).
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.track_id: u32The track this join occurs on.
sample_index: usizeIndex, within the resulting track’s samples, of the first sample of the
spliced-in contribution (the sample that opens the discontinuous region).
presentation_time: u64Presentation time (PTS = DTS + composition_offset) of that sample, in the
track’s media timescale (Track::timescale).
Trait Implementations§
Source§impl Clone for SplicePoint
impl Clone for SplicePoint
Source§fn clone(&self) -> SplicePoint
fn clone(&self) -> SplicePoint
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 SplicePoint
impl Debug for SplicePoint
impl Eq for SplicePoint
Source§impl PartialEq for SplicePoint
impl PartialEq for SplicePoint
impl StructuralPartialEq for SplicePoint
Auto Trait Implementations§
impl Freeze for SplicePoint
impl RefUnwindSafe for SplicePoint
impl Send for SplicePoint
impl Sync for SplicePoint
impl Unpin for SplicePoint
impl UnsafeUnpin for SplicePoint
impl UnwindSafe for SplicePoint
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