pub struct Frame {
pub timestamp: u64,
pub timescale: Option<u64>,
pub payload: Bytes,
}Expand description
A decoded LOC frame.
Fields§
§timestamp: u64Presentation timestamp, in units determined by the active timescale.
timescale: Option<u64>Per-frame timescale override (property 0x08).
Some when the frame carried an explicit timescale, None when it
relies on the catalog’s default.
payload: BytesCodec bitstream payload (the bytes after the properties block).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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