pub struct AudioFrameExtra { /* private fields */ }Expand description
Per-AudioFrame extras.
Implementations§
Source§impl AudioFrameExtra
impl AudioFrameExtra
Sourcepub const fn best_effort_timestamp(&self) -> Option<i64>
pub const fn best_effort_timestamp(&self) -> Option<i64>
FFmpeg’s heuristic best-effort PTS, or None if unknown.
Sourcepub fn side_data(&self) -> &[SideDataEntry]
pub fn side_data(&self) -> &[SideDataEntry]
Returns the raw side-data entries.
Sourcepub const fn with_best_effort_timestamp(self, value: Option<i64>) -> Self
pub const fn with_best_effort_timestamp(self, value: Option<i64>) -> Self
Sets the best-effort timestamp (consuming builder).
Sourcepub fn with_side_data(self, value: Vec<SideDataEntry>) -> Self
pub fn with_side_data(self, value: Vec<SideDataEntry>) -> Self
Sets the side-data list (consuming builder).
Sourcepub const fn set_best_effort_timestamp(
&mut self,
value: Option<i64>,
) -> &mut Self
pub const fn set_best_effort_timestamp( &mut self, value: Option<i64>, ) -> &mut Self
Sets the best-effort timestamp in place.
Sourcepub fn set_side_data(&mut self, value: Vec<SideDataEntry>) -> &mut Self
pub fn set_side_data(&mut self, value: Vec<SideDataEntry>) -> &mut Self
Sets the side-data list in place.
Trait Implementations§
Source§impl Clone for AudioFrameExtra
impl Clone for AudioFrameExtra
Source§fn clone(&self) -> AudioFrameExtra
fn clone(&self) -> AudioFrameExtra
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AudioFrameExtra
impl Debug for AudioFrameExtra
Source§impl Default for AudioFrameExtra
impl Default for AudioFrameExtra
Source§fn default() -> AudioFrameExtra
fn default() -> AudioFrameExtra
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AudioFrameExtra
impl RefUnwindSafe for AudioFrameExtra
impl Send for AudioFrameExtra
impl Sync for AudioFrameExtra
impl Unpin for AudioFrameExtra
impl UnsafeUnpin for AudioFrameExtra
impl UnwindSafe for AudioFrameExtra
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