pub struct Tolerance {
pub absolute: f64,
pub relative: f64,
pub max_bytes: u64,
}Expand description
Absolute/relative comparison limits and bounded host readback size.
Fields§
§absolute: f64Nonnegative finite absolute error limit; default 1e-4.
relative: f64Nonnegative finite relative error limit; default 1e-3.
max_bytes: u64Maximum combined reference/candidate readback bytes, not a GPU allocator quota.
Trait Implementations§
impl Copy for Tolerance
impl StructuralPartialEq for Tolerance
Auto Trait Implementations§
impl Freeze for Tolerance
impl RefUnwindSafe for Tolerance
impl Send for Tolerance
impl Sync for Tolerance
impl Unpin for Tolerance
impl UnsafeUnpin for Tolerance
impl UnwindSafe for Tolerance
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