pub struct ComparisonStats {
pub total: usize,
pub frame_rate_matches: usize,
pub duration_matches: usize,
pub avg_resolution_ratio: f64,
pub avg_bitrate_ratio: f64,
pub avg_size_ratio: f64,
}Expand description
Aggregate statistics from a batch comparison.
Fields§
§total: usizeTotal comparisons.
frame_rate_matches: usizeHow many had matching frame rates.
duration_matches: usizeHow many had matching durations.
avg_resolution_ratio: f64Average resolution ratio across all comparisons.
avg_bitrate_ratio: f64Average bitrate ratio across all comparisons.
avg_size_ratio: f64Average file size ratio across all comparisons.
Trait Implementations§
Source§impl Clone for ComparisonStats
impl Clone for ComparisonStats
Source§fn clone(&self) -> ComparisonStats
fn clone(&self) -> ComparisonStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComparisonStats
impl Debug for ComparisonStats
Source§impl Default for ComparisonStats
impl Default for ComparisonStats
Source§fn default() -> ComparisonStats
fn default() -> ComparisonStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComparisonStats
impl RefUnwindSafe for ComparisonStats
impl Send for ComparisonStats
impl Sync for ComparisonStats
impl Unpin for ComparisonStats
impl UnsafeUnpin for ComparisonStats
impl UnwindSafe for ComparisonStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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