oa::video::Av1Obu

One borrowed AV1 OBU and its exact access-unit byte range.

StRust public API

Declaration

pub struct Av1Obu<'a> { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn type_(&self) -> Av1ObuType
pub const fn header_offset(&self) -> usize
pub const fn header_size(&self) -> usize
pub const fn payload(&self) -> &'a [u8] ⓘ
fn clone(&self) -> Av1Obu<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &Av1Obu<'a>) -> bool

Public Method Documentation

pub const fn type_( &self ) -> Av1ObuType
No public source comment is attached to this declaration.
pub const fn header_offset( &self ) -> usize
No public source comment is attached to this declaration.
pub const fn header_size( &self ) -> usize
No public source comment is attached to this declaration.
pub const fn payload( &self ) -> &'a [u8] ⓘ
No public source comment is attached to this declaration.
fn clone( &self ) -> Av1Obu<'a>
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &Av1Obu<'a> ) -> bool
No public source comment is attached to this declaration.