#[non_exhaustive]pub struct FragmentLocation {
pub stream: StreamKey,
pub start: u64,
pub duration: u64,
}Available on crate feature
std only.Expand description
One fragment a manifest advertises: its stream, absolute start time and
duration in SMOOTH_TIMESCALE ticks.
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.stream: StreamKeyThe stream the fragment belongs to.
start: u64c@t — the fragment’s absolute start time on its stream’s timeline.
duration: u64c@d — the fragment’s duration.
Trait Implementations§
Source§impl Clone for FragmentLocation
impl Clone for FragmentLocation
impl Copy for FragmentLocation
Source§impl Debug for FragmentLocation
impl Debug for FragmentLocation
impl Eq for FragmentLocation
Source§impl PartialEq for FragmentLocation
impl PartialEq for FragmentLocation
impl StructuralPartialEq for FragmentLocation
Auto Trait Implementations§
impl Forget for FragmentLocation
impl Freeze for FragmentLocation
impl Move for FragmentLocation
impl RefUnwindSafe for FragmentLocation
impl Send for FragmentLocation
impl Sync for FragmentLocation
impl Unpin for FragmentLocation
impl UnsafeUnpin for FragmentLocation
impl UnwindSafe for FragmentLocation
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