pub struct ExpressionUnderTest<'a, T> {
pub actual: &'a T,
pub tested_expression: &'static str,
pub location: SourceLocation,
}
Fields§
§actual: &'a T
§tested_expression: &'static str
§location: SourceLocation
Auto Trait Implementations§
impl<'a, T> Freeze for ExpressionUnderTest<'a, T>
impl<'a, T> RefUnwindSafe for ExpressionUnderTest<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ExpressionUnderTest<'a, T>where
T: Sync,
impl<'a, T> Sync for ExpressionUnderTest<'a, T>where
T: Sync,
impl<'a, T> Unpin for ExpressionUnderTest<'a, T>
impl<'a, T> UnwindSafe for ExpressionUnderTest<'a, T>where
T: RefUnwindSafe,
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