pub trait Take {
// Required methods
fn assert_that(&mut self, t: bool) -> bool;
fn take(&mut self, t: bool, s: &str, e: &str) -> &mut Self;
fn check(&mut self, t: bool, s: &str, e: &str);
}
Expand description
§Calculate the time of the test function
Required Methods§
Sourcefn assert_that(&mut self, t: bool) -> bool
fn assert_that(&mut self, t: bool) -> bool
§run assertion
t
The test
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.