Type of the test according to the rust book conventions.
Unit-tests are expected to be in the
src folder of the crate.
Integration-style tests are expected to be in the
tests folder of the crate.
Doctests are created by the
librustdoc manually, so it's a different type of test.
Tests for the sources that don't follow the project layout convention
(e.g. tests in raw
main.rs compiled by calling
rustc --test directly).
pub fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl StructuralEq for TestType[src]
impl StructuralPartialEq for TestType[src]
Auto Trait Implementations
impl RefUnwindSafe for TestType[src]
impl UnwindSafe for TestType[src]
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.