pub struct Actual<T> { /* private fields */ }
Expand description
Struct to wrap your value in order to have custom description if needed and never think about where to put actual or expected value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Actual<T>where
T: Freeze,
impl<T> RefUnwindSafe for Actual<T>where
T: RefUnwindSafe,
impl<T> Send for Actual<T>where
T: Send,
impl<T> Sync for Actual<T>where
T: Sync,
impl<T> Unpin for Actual<T>where
T: Unpin,
impl<T> UnwindSafe for Actual<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