pub struct MismatchDetails { /* private fields */ }Expand description
Structured evidence for an exact-before mismatch.
Implementations§
Source§impl MismatchDetails
impl MismatchDetails
pub const fn source_range(&self) -> ByteSpan
pub const fn expected(&self) -> &TextPreview
pub const fn actual(&self) -> &TextPreview
Trait Implementations§
Source§impl Clone for MismatchDetails
impl Clone for MismatchDetails
Source§fn clone(&self) -> MismatchDetails
fn clone(&self) -> MismatchDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MismatchDetails
impl Debug for MismatchDetails
impl Eq for MismatchDetails
Source§impl PartialEq for MismatchDetails
impl PartialEq for MismatchDetails
Source§impl Serialize for MismatchDetails
impl Serialize for MismatchDetails
impl StructuralPartialEq for MismatchDetails
Auto Trait Implementations§
impl Freeze for MismatchDetails
impl RefUnwindSafe for MismatchDetails
impl Send for MismatchDetails
impl Sync for MismatchDetails
impl Unpin for MismatchDetails
impl UnsafeUnpin for MismatchDetails
impl UnwindSafe for MismatchDetails
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