pub struct StatsReport {
pub sample_rate: u32,
pub channels: usize,
pub frames: usize,
pub duration_s: f64,
pub overall: OverallStats,
pub per_channel: Vec<ChannelStats>,
}Expand description
Result of stats.
Fields§
§sample_rate: u32§channels: usize§frames: usize§duration_s: f64§overall: OverallStats§per_channel: Vec<ChannelStats>Trait Implementations§
Source§impl Clone for StatsReport
impl Clone for StatsReport
Source§impl Debug for StatsReport
impl Debug for StatsReport
Auto Trait Implementations§
impl Freeze for StatsReport
impl RefUnwindSafe for StatsReport
impl Send for StatsReport
impl Sync for StatsReport
impl Unpin for StatsReport
impl UnsafeUnpin for StatsReport
impl UnwindSafe for StatsReport
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