pub struct GoldenTolerance {
pub u8_abs: u8,
pub u16_abs: u16,
pub f32_abs: f32,
}Expand description
Absolute per-sample tolerance for deterministic golden-frame comparisons.
Fields§
§u8_abs: u8Maximum allowed absolute difference for u8 samples.
u16_abs: u16Maximum allowed absolute difference for u16 samples.
f32_abs: f32Maximum allowed absolute difference for f32 samples.
Trait Implementations§
Source§impl Clone for GoldenTolerance
impl Clone for GoldenTolerance
Source§fn clone(&self) -> GoldenTolerance
fn clone(&self) -> GoldenTolerance
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 moreSource§impl Debug for GoldenTolerance
impl Debug for GoldenTolerance
Source§impl PartialEq for GoldenTolerance
impl PartialEq for GoldenTolerance
Source§fn eq(&self, other: &GoldenTolerance) -> bool
fn eq(&self, other: &GoldenTolerance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GoldenTolerance
impl StructuralPartialEq for GoldenTolerance
Auto Trait Implementations§
impl Freeze for GoldenTolerance
impl RefUnwindSafe for GoldenTolerance
impl Send for GoldenTolerance
impl Sync for GoldenTolerance
impl Unpin for GoldenTolerance
impl UnsafeUnpin for GoldenTolerance
impl UnwindSafe for GoldenTolerance
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