pub struct Test<'b> { /* private fields */ }Expand description
A test target.
Implementations§
Source§impl Test<'_>
impl Test<'_>
Sourcepub fn bench(&self) -> Option<bool>
pub fn bench(&self) -> Option<bool>
Whether or not the test is benchmarked by default by cargo bench.
Sourcepub fn doc(&self) -> Option<bool>
pub fn doc(&self) -> Option<bool>
Whether or not the documentation is built by default by cargo doc for this test.
Sourcepub fn required_features(&self) -> Option<impl Iterator<Item = &str>>
pub fn required_features(&self) -> Option<impl Iterator<Item = &str>>
The required features of the test.
Trait Implementations§
Source§impl<'de, 'b> Deserialize<'de> for Test<'b>
impl<'de, 'b> Deserialize<'de> for Test<'b>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'b> Freeze for Test<'b>
impl<'b> RefUnwindSafe for Test<'b>
impl<'b> Send for Test<'b>
impl<'b> Sync for Test<'b>
impl<'b> Unpin for Test<'b>
impl<'b> UnwindSafe for Test<'b>
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