Struct exr::image::validate_results::ValidationOptions
source · pub struct ValidationOptions {
allow_lossy: bool,
nan_converted_to_zero: bool,
}
Expand description
Whether to do accurate or approximate comparison.
Fields§
§allow_lossy: bool
§nan_converted_to_zero: bool
Trait Implementations§
source§impl Clone for ValidationOptions
impl Clone for ValidationOptions
source§fn clone(&self) -> ValidationOptions
fn clone(&self) -> ValidationOptions
Returns a copy 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 ValidationOptions
impl Debug for ValidationOptions
source§impl Default for ValidationOptions
impl Default for ValidationOptions
source§fn default() -> ValidationOptions
fn default() -> ValidationOptions
Returns the “default value” for a type. Read more
source§impl Hash for ValidationOptions
impl Hash for ValidationOptions
source§impl PartialEq for ValidationOptions
impl PartialEq for ValidationOptions
source§fn eq(&self, other: &ValidationOptions) -> bool
fn eq(&self, other: &ValidationOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ValidationOptions
impl Eq for ValidationOptions
impl StructuralPartialEq for ValidationOptions
Auto Trait Implementations§
impl Freeze for ValidationOptions
impl RefUnwindSafe for ValidationOptions
impl Send for ValidationOptions
impl Sync for ValidationOptions
impl Unpin for ValidationOptions
impl UnwindSafe for ValidationOptions
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> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.