pub struct DiffOptions<'a> {
pub crate_dir: &'a Path,
pub module: Option<&'a Path>,
pub ignore_key_order: bool,
pub node_args: &'a [String],
pub float_tolerance: Option<f64>,
}Fields§
§crate_dir: &'a Path§module: Option<&'a Path>The module to test; defaults to the crate’s index.cjs.
ignore_key_order: boolCompare objects regardless of key order.
node_args: &'a [String]§float_tolerance: Option<f64>Floats match within this tolerance; the one saved by record when None.
Auto Trait Implementations§
impl<'a> Forget for DiffOptions<'a>
impl<'a> Freeze for DiffOptions<'a>
impl<'a> Move for DiffOptions<'a>
impl<'a> RefUnwindSafe for DiffOptions<'a>
impl<'a> Send for DiffOptions<'a>
impl<'a> Sync for DiffOptions<'a>
impl<'a> Unpin for DiffOptions<'a>
impl<'a> UnsafeUnpin for DiffOptions<'a>
impl<'a> UnwindSafe for DiffOptions<'a>
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