pub struct MediaInfo {
pub video_track_num: Option<NonZero<usize>>,
pub audio_track_num: Option<NonZero<usize>>,
pub total_time: f64,
pub width: usize,
pub height: usize,
}Available on crate feature
generic only.Fields§
§video_track_num: Option<NonZero<usize>>Videoトラック数。
audio_track_num: Option<NonZero<usize>>Audioトラック数。
total_time: f64総時間(秒)。
width: usize解像度の幅。
height: usize解像度の高さ。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MediaInfo
impl RefUnwindSafe for MediaInfo
impl Send for MediaInfo
impl Sync for MediaInfo
impl Unpin for MediaInfo
impl UnwindSafe for MediaInfo
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