Struct testing::DebugUsingDisplay [−][src]
pub struct DebugUsingDisplay<'a>(pub &'a str);
Expand description
Used for assertions.
Prints string without escaping special characters on failure.
Tuple Fields
0: &'a str
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DebugUsingDisplay<'a>
impl<'a> Send for DebugUsingDisplay<'a>
impl<'a> Sync for DebugUsingDisplay<'a>
impl<'a> Unpin for DebugUsingDisplay<'a>
impl<'a> UnwindSafe for DebugUsingDisplay<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more