pub struct Probe {
pub duration: f64,
pub fps: (u32, u32),
pub width: u32,
pub height: u32,
pub rotation: u16,
pub video_codec: Option<Codec>,
pub video_codec_name: String,
pub profile: String,
pub bit_depth: u8,
pub frames: Option<u64>,
pub audio: Vec<AudioTrack>,
}Fields§
§duration: f64§fps: (u32, u32)§width: u32§height: u32§rotation: u16§video_codec: Option<Codec>§video_codec_name: String§profile: String§bit_depth: u8§frames: Option<u64>§audio: Vec<AudioTrack>Implementations§
Trait Implementations§
impl StructuralPartialEq for Probe
Auto Trait Implementations§
impl Freeze for Probe
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnsafeUnpin for Probe
impl UnwindSafe for Probe
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more