pub struct AudioFileInfo {
pub total_time: f64,
pub sample_num: usize,
pub track_num: usize,
pub rate: i32,
pub channel: usize,
}Expand description
メディアファイルのオーディオ情報。
Fields§
§total_time: f64総時間。
sample_num: usize総サンプル数。
track_num: usizeトラック数。
rate: i32サンプリングレート。
channel: usizeチャンネル数。
Trait Implementations§
Source§impl Clone for AudioFileInfo
impl Clone for AudioFileInfo
Source§fn clone(&self) -> AudioFileInfo
fn clone(&self) -> AudioFileInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AudioFileInfo
Source§impl Debug for AudioFileInfo
impl Debug for AudioFileInfo
Source§impl PartialEq for AudioFileInfo
impl PartialEq for AudioFileInfo
impl StructuralPartialEq for AudioFileInfo
Auto Trait Implementations§
impl Freeze for AudioFileInfo
impl RefUnwindSafe for AudioFileInfo
impl Send for AudioFileInfo
impl Sync for AudioFileInfo
impl Unpin for AudioFileInfo
impl UnsafeUnpin for AudioFileInfo
impl UnwindSafe for AudioFileInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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