oa::video::VideoTimeBase

Rational stream time base measured in seconds per timestamp tick.

StRust public API

Declaration

pub struct VideoTimeBase { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn numerator(self) -> u32
pub const fn denominator(self) -> u32
fn clone(&self) -> VideoTimeBase
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &VideoTimeBase) -> bool

Associated Functions

pub fn new(numerator: u32, denominator: u32) -> Result<Self>

Public Method Documentation

pub const fn numerator( self ) -> u32
No public source comment is attached to this declaration.
pub const fn denominator( self ) -> u32
No public source comment is attached to this declaration.
fn clone( &self ) -> VideoTimeBase
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: &VideoTimeBase ) -> bool
No public source comment is attached to this declaration.
pub fn new( numerator: u32, denominator: u32 ) -> Result<Self>
No public source comment is attached to this declaration.