pub struct StreamMut<'a> { /* private fields */ }
Implementations§
Source§impl<'a> StreamMut<'a>
impl<'a> StreamMut<'a>
pub fn set_time_base<R: Into<Rational>>(&mut self, value: R)
pub fn set_rate<R: Into<Rational>>(&mut self, value: R)
pub fn set_avg_frame_rate<R: Into<Rational>>(&mut self, value: R)
pub fn parameters_mut(&mut self) -> ParametersMut<'_>
pub fn set_parameters<P: AsPtr<AVCodecParameters>>(&mut self, parameters: P)
pub fn copy_parameters_from_context(&mut self, ctx: &Context)
pub fn set_metadata(&mut self, metadata: Dictionary<'_>)
Methods from Deref<Target = Stream<'a>>§
pub unsafe fn as_ptr(&self) -> *const AVStream
pub fn id(&self) -> i32
pub fn parameters(&self) -> ParametersRef<'_>
pub fn index(&self) -> usize
pub fn time_base(&self) -> Rational
pub fn start_time(&self) -> i64
pub fn duration(&self) -> i64
pub fn frames(&self) -> i64
pub fn disposition(&self) -> Disposition
pub fn discard(&self) -> Discard
pub fn side_data(&self) -> SideDataIter<'_>
pub fn rate(&self) -> Rational
pub fn avg_frame_rate(&self) -> Rational
pub fn metadata(&self) -> DictionaryRef<'_>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StreamMut<'a>
impl<'a> RefUnwindSafe for StreamMut<'a>
impl<'a> !Send for StreamMut<'a>
impl<'a> !Sync for StreamMut<'a>
impl<'a> Unpin for StreamMut<'a>
impl<'a> !UnwindSafe for StreamMut<'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