Enum test::test::TestType [−][src]
pub enum TestType {
UnitTest,
IntegrationTest,
DocTest,
Unknown,
}🔬 This is a nightly-only experimental API. (
test)Type of the test according to the rust book conventions.
Variants
🔬 This is a nightly-only experimental API. (
test)Unit-tests are expected to be in the src folder of the crate.
🔬 This is a nightly-only experimental API. (
test)Integration-style tests are expected to be in the tests folder of the crate.
🔬 This is a nightly-only experimental API. (
test)Doctests are created by the librustdoc manually, so it’s a different type of test.
🔬 This is a nightly-only experimental API. (
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).
Trait Implementations
impl Copy for TestType[src]
impl Eq for TestType[src]
impl StructuralEq for TestType[src]
impl StructuralPartialEq for TestType[src]
Auto Trait Implementations
impl RefUnwindSafe for TestType
impl Send for TestType
impl Sync for TestType
impl Unpin for TestType
impl UnwindSafe for TestType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more