pub struct SegmentWindowEntry {
pub segment_seq: u32,
pub duration_secs: f64,
}Available on crate feature
std only.Expand description
One closed segment’s identity/timing — a protocol-neutral snapshot entry
returned by MediaStore::window_segments (issue #663 P4).
Fields§
§segment_seq: u32This segment’s sequence number — matches the seg-{track}-{seq}.m4s
filename MediaStore::resolve_resource
serves.
duration_secs: f64This segment’s actual duration, in seconds.
Trait Implementations§
Source§impl Clone for SegmentWindowEntry
impl Clone for SegmentWindowEntry
Source§fn clone(&self) -> SegmentWindowEntry
fn clone(&self) -> SegmentWindowEntry
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 moreimpl Copy for SegmentWindowEntry
Source§impl Debug for SegmentWindowEntry
impl Debug for SegmentWindowEntry
Source§impl PartialEq for SegmentWindowEntry
impl PartialEq for SegmentWindowEntry
impl StructuralPartialEq for SegmentWindowEntry
Auto Trait Implementations§
impl Freeze for SegmentWindowEntry
impl RefUnwindSafe for SegmentWindowEntry
impl Send for SegmentWindowEntry
impl Sync for SegmentWindowEntry
impl Unpin for SegmentWindowEntry
impl UnsafeUnpin for SegmentWindowEntry
impl UnwindSafe for SegmentWindowEntry
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