pub struct MetaHeader(/* private fields */);Expand description
Describes essential buffer header metadata such as flags and timestamps.
Implementations§
Source§impl MetaHeader
impl MetaHeader
pub fn as_raw(&self) -> &spa_meta_header
pub fn flags(&self) -> MetaHeaderFlags
Sourcepub fn dts_offset(&self) -> i64
pub fn dts_offset(&self) -> i64
Decoding timestamp as a difference with pts
Trait Implementations§
Source§impl Clone for MetaHeader
impl Clone for MetaHeader
Source§fn clone(&self) -> MetaHeader
fn clone(&self) -> MetaHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetaHeader
impl Debug for MetaHeader
Auto Trait Implementations§
impl Freeze for MetaHeader
impl RefUnwindSafe for MetaHeader
impl Send for MetaHeader
impl Sync for MetaHeader
impl Unpin for MetaHeader
impl UnwindSafe for MetaHeader
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