Struct libspa_sys::spa_meta_header
source · #[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 copy 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
source§fn eq(&self, other: &spa_meta_header) -> bool
fn eq(&self, other: &spa_meta_header) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_meta_header
impl Eq for spa_meta_header
impl StructuralPartialEq for spa_meta_header
Auto Trait Implementations§
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