Struct ffprobe::ConfigBuilder
source · [−]pub struct ConfigBuilder { /* private fields */ }Expand description
Build the ffprobe configuration.
Implementations
sourceimpl ConfigBuilder
impl ConfigBuilder
pub fn new() -> Self
sourcepub fn count_frames(self, count_frames: bool) -> Self
pub fn count_frames(self, count_frames: bool) -> Self
Enable the -count_frames setting.
Will fully decode the file and count the frames.
Frame count will be available in Stream::nb_read_frames.
Auto Trait Implementations
impl RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnwindSafe for ConfigBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more