pub struct SeekResult {
pub frame_index: u32,
pub byte_offset: u64,
pub timestamp_ms: u32,
pub sample_offset: u32,
pub next_timestamp_ms: u32,
}Expand description
Represents the result of a seek operation
Fields§
§frame_index: u32Frame index where seeking occurred
byte_offset: u64Byte offset in the file’s data chunk
timestamp_ms: u32Timestamp of this frame in milliseconds
sample_offset: u32Number of samples to skip at the start of the frame (for sub-frame seeking)
next_timestamp_ms: u32The next frame’s timestamp for duration calculation
Trait Implementations§
Source§impl Clone for SeekResult
impl Clone for SeekResult
Auto Trait Implementations§
impl Freeze for SeekResult
impl RefUnwindSafe for SeekResult
impl Send for SeekResult
impl Sync for SeekResult
impl Unpin for SeekResult
impl UnsafeUnpin for SeekResult
impl UnwindSafe for SeekResult
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