pub struct EdgeCaseConfig {
pub test_nan: bool,
pub test_inf: bool,
pub test_empty: bool,
pub test_zero: bool,
pub test_max_size: bool,
pub max_input_size: usize,
pub allow_panic: bool,
}Expand description
Edge case test configuration
Fields§
§test_nan: boolTest NaN handling
test_inf: boolTest Infinity handling
test_empty: boolTest empty input handling
test_zero: boolTest zero vector handling
test_max_size: boolTest max-size input
max_input_size: usizeMaximum input size to test
allow_panic: boolAllow panic on edge cases (false = must return error)
Trait Implementations§
Source§impl Clone for EdgeCaseConfig
impl Clone for EdgeCaseConfig
Source§fn clone(&self) -> EdgeCaseConfig
fn clone(&self) -> EdgeCaseConfig
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 EdgeCaseConfig
impl Debug for EdgeCaseConfig
Auto Trait Implementations§
impl Freeze for EdgeCaseConfig
impl RefUnwindSafe for EdgeCaseConfig
impl Send for EdgeCaseConfig
impl Sync for EdgeCaseConfig
impl Unpin for EdgeCaseConfig
impl UnsafeUnpin for EdgeCaseConfig
impl UnwindSafe for EdgeCaseConfig
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