pub struct Header {
pub sequence: u8,
pub stream_id: u64,
pub timestamp: Option<u32>,
pub media_reset: bool,
pub nsr: u8,
pub sample_format: u8,
pub bit_depth: u8,
pub channels: u16,
pub data_length: u16,
}Expand description
An AAF header’s fields.
Fields§
§sequence: u8§stream_id: u64§timestamp: Option<u32>The presentation time: the low 32 bits of gPTP nanoseconds, when valid.
media_reset: bool§nsr: u8§sample_format: u8§bit_depth: u8§channels: u16§data_length: u16Implementations§
Trait Implementations§
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Forget for Header
impl Freeze for Header
impl Move for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for 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