#[non_exhaustive]pub struct IndexedSegment {
pub time: u64,
pub duration: u64,
pub range: ByteRange,
pub starts_with_sap: bool,
}Expand description
One subsegment described by a sidx.
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: u64Earliest presentation time on the sidx timescale.
duration: u64Duration in sidx timescale ticks.
range: ByteRangeThe byte range of the subsegment in the file.
starts_with_sap: boolstarts_with_SAP.
Trait Implementations§
Source§impl Clone for IndexedSegment
impl Clone for IndexedSegment
impl Copy for IndexedSegment
Source§impl Debug for IndexedSegment
impl Debug for IndexedSegment
impl Eq for IndexedSegment
Source§impl PartialEq for IndexedSegment
impl PartialEq for IndexedSegment
impl StructuralPartialEq for IndexedSegment
Auto Trait Implementations§
impl Forget for IndexedSegment
impl Freeze for IndexedSegment
impl Move for IndexedSegment
impl RefUnwindSafe for IndexedSegment
impl Send for IndexedSegment
impl Sync for IndexedSegment
impl Unpin for IndexedSegment
impl UnsafeUnpin for IndexedSegment
impl UnwindSafe for IndexedSegment
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