pub struct Mismatch<T: Copy + Eq> { /* private fields */ }Expand description
This structure should be used in cases where a value must be exactly equal to another value for the process to be valid.
Trait Implementations§
impl<T: Copy + Copy + Eq> Copy for Mismatch<T>
impl<T: Eq + Copy + Eq> Eq for Mismatch<T>
impl<T: Copy + Eq> StructuralPartialEq for Mismatch<T>
Auto Trait Implementations§
impl<T> Freeze for Mismatch<T>where
T: Freeze,
impl<T> RefUnwindSafe for Mismatch<T>where
T: RefUnwindSafe,
impl<T> Send for Mismatch<T>where
T: Send,
impl<T> Sync for Mismatch<T>where
T: Sync,
impl<T> Unpin for Mismatch<T>where
T: Unpin,
impl<T> UnwindSafe for Mismatch<T>where
T: UnwindSafe,
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