pub enum TestTarget {
Default,
AllTargets,
DocOnly,
Tests,
}Variants§
Default
Run unit, integration and doc tests (default).
AllTargets
Run unit, integration, doc tests, examples, bins, benchmarks (no doc tests).
DocOnly
Only run doc tests.
Tests
Only run unit and integration tests.
Implementations§
Source§impl TestTarget
impl TestTarget
pub(crate) fn runs_doctests(&self) -> bool
Trait Implementations§
Source§impl Clone for TestTarget
impl Clone for TestTarget
Source§fn clone(&self) -> TestTarget
fn clone(&self) -> TestTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestTarget
impl Debug for TestTarget
Source§impl PartialEq for TestTarget
impl PartialEq for TestTarget
impl Copy for TestTarget
impl Eq for TestTarget
impl StructuralPartialEq for TestTarget
Auto Trait Implementations§
impl Freeze for TestTarget
impl RefUnwindSafe for TestTarget
impl Send for TestTarget
impl Sync for TestTarget
impl Unpin for TestTarget
impl UnsafeUnpin for TestTarget
impl UnwindSafe for TestTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Default: 0 bytesAllTargets: 0 bytesDocOnly: 0 bytesTests: 0 bytes