pub struct DefaultComparator;Expand description
Provides default comparison semantics for Snapshots. Binary snapshots
are compared on the basis of their contents (including file extension). Text
snapshots are compared on the basis of their deserialized representation.
Trait Implementations§
Source§impl Clone for DefaultComparator
impl Clone for DefaultComparator
Auto Trait Implementations§
impl Freeze for DefaultComparator
impl RefUnwindSafe for DefaultComparator
impl Send for DefaultComparator
impl Sync for DefaultComparator
impl Unpin for DefaultComparator
impl UnsafeUnpin for DefaultComparator
impl UnwindSafe for DefaultComparator
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