pub struct OutputFormat {
pub show_grid: Option<bool>,
pub show_intermediate: Option<bool>,
pub tolerance: Option<f64>,
pub truncate_description: Option<Option<usize>>,
}
Available on crate feature
api
only.Expand description
The configuration values for the output format
Fields§
§show_grid: Option<bool>
Show a grid instead of spaces in the terminal output
show_intermediate: Option<bool>
Show intermediate results, for example in benchmarks for multi-threaded applications
tolerance: Option<f64>
Don’t show differences within the tolerance margin
truncate_description: Option<Option<usize>>
If set, truncate the description
Trait Implementations§
Source§impl Clone for OutputFormat
impl Clone for OutputFormat
Source§fn clone(&self) -> OutputFormat
fn clone(&self) -> OutputFormat
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 OutputFormat
impl Debug for OutputFormat
Source§impl Default for OutputFormat
impl Default for OutputFormat
Source§fn default() -> OutputFormat
fn default() -> OutputFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputFormat
impl<'de> Deserialize<'de> for OutputFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<OutputFormat> for OutputFormat
Available on crate feature runner
only.
impl From<OutputFormat> for OutputFormat
Available on crate feature
runner
only.Source§fn from(value: OutputFormat) -> Self
fn from(value: OutputFormat) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OutputFormat
impl PartialEq for OutputFormat
Source§impl Serialize for OutputFormat
impl Serialize for OutputFormat
impl StructuralPartialEq for OutputFormat
Auto Trait Implementations§
impl Freeze for OutputFormat
impl RefUnwindSafe for OutputFormat
impl Send for OutputFormat
impl Sync for OutputFormat
impl Unpin for OutputFormat
impl UnwindSafe for OutputFormat
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