pub struct Stream<'a>(/* private fields */);
Implementations§
Source§impl<'a> Stream<'a>
impl<'a> Stream<'a>
pub fn index(&self) -> i32
pub fn id(&self) -> i32
pub fn codec_parameters(&self) -> Option<&'a AVCodecParameters>
pub fn time_base(&self) -> AVRational
pub fn set_time_base(&mut self, time_base: AVRational)
pub fn start_time(&self) -> Option<i64>
pub fn set_start_time(&mut self, start_time: Option<i64>)
pub fn duration(&self) -> Option<i64>
pub fn set_duration(&mut self, duration: Option<i64>)
pub fn nb_frames(&self) -> Option<i64>
pub fn set_nb_frames(&mut self, nb_frames: i64)
pub fn disposition(&self) -> i32
pub fn set_disposition(&mut self, disposition: i32)
pub fn discard(&self) -> AVDiscard
pub fn set_discard(&mut self, discard: AVDiscard)
pub fn sample_aspect_ratio(&self) -> AVRational
pub fn set_sample_aspect_ratio(&mut self, sample_aspect_ratio: AVRational)
pub fn metadata(&self) -> Const<'_, Dictionary>
pub fn metadata_mut(&mut self) -> Mut<'_, Dictionary>
pub fn avg_frame_rate(&self) -> AVRational
pub fn r_frame_rate(&self) -> AVRational
pub fn format_context(&self) -> &'a AVFormatContext
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Stream<'a>
impl<'a> RefUnwindSafe for Stream<'a>
impl<'a> !Send for Stream<'a>
impl<'a> !Sync for Stream<'a>
impl<'a> Unpin for Stream<'a>
impl<'a> !UnwindSafe for Stream<'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