#[repr(C)]pub struct spa_meta_header {
pub flags: u32,
pub offset: u32,
pub pts: i64,
pub dts_offset: i64,
pub seq: u64,
}
Expand description
Describes essential buffer header metadata such as flags and timestamps.
Fields§
§flags: u32
< flags
offset: u32
< offset in current cycle
pts: i64
< presentation timestamp in nanoseconds
dts_offset: i64
< decoding timestamp as a difference with pts
seq: u64
< sequence number, increments with a media specific frequency
Trait Implementations§
Source§impl Clone for spa_meta_header
impl Clone for spa_meta_header
Source§fn clone(&self) -> spa_meta_header
fn clone(&self) -> spa_meta_header
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 spa_meta_header
impl Debug for spa_meta_header
Source§impl PartialEq for spa_meta_header
impl PartialEq for spa_meta_header
impl Copy for spa_meta_header
impl Eq for spa_meta_header
impl StructuralPartialEq for spa_meta_header
Auto Trait Implementations§
impl Freeze for spa_meta_header
impl RefUnwindSafe for spa_meta_header
impl Send for spa_meta_header
impl Sync for spa_meta_header
impl Unpin for spa_meta_header
impl UnwindSafe for spa_meta_header
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