pub struct CodecParameters<'a> { /* private fields */ }Implementations§
Source§impl CodecParameters<'_>
impl CodecParameters<'_>
pub fn codec_type(&self) -> AVMediaType
pub fn codec_id(&self) -> AVCodecID
pub fn width(&self) -> c_int
pub fn height(&self) -> c_int
pub fn sample_rate(&self) -> c_int
pub fn color_space(&self) -> AVColorSpace
pub fn color_range(&self) -> AVColorRange
pub fn color_primaries(&self) -> AVColorPrimaries
pub fn ch_layout(&self) -> AVChannelLayout
pub fn format(&self) -> c_int
pub fn bit_rate(&self) -> i64
Trait Implementations§
Source§impl<'a> Clone for CodecParameters<'a>
impl<'a> Clone for CodecParameters<'a>
Source§fn clone(&self) -> CodecParameters<'a>
fn clone(&self) -> CodecParameters<'a>
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 moreimpl<'a> Copy for CodecParameters<'a>
Auto Trait Implementations§
impl<'a> !Send for CodecParameters<'a>
impl<'a> !Sync for CodecParameters<'a>
impl<'a> Freeze for CodecParameters<'a>
impl<'a> RefUnwindSafe for CodecParameters<'a>
impl<'a> Unpin for CodecParameters<'a>
impl<'a> UnsafeUnpin for CodecParameters<'a>
impl<'a> UnwindSafe for CodecParameters<'a>
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