pub struct Info {
pub duration: f64,
pub width: u32,
pub height: u32,
pub fps: f32,
pub has_audio: bool,
pub turns: u8,
}Expand description
What probe learns about a file.
Fields§
§duration: f64Seconds.
width: u32The size the picture is shown at, after the pixel aspect ratio and the stream’s rotation.
height: u32§fps: f32Frames per second as the stream states it (0 if unknown).
has_audio: bool§turns: u8Clockwise quarter turns the stream asks for (0 to 3).
Trait Implementations§
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnsafeUnpin for Info
impl UnwindSafe for Info
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