pub enum OutputFormat {
Pretty,
Terse,
Json,
Junit,
}
🔬这是一个仅在 nightly 版本可用的实验性 API。(
test
)展开描述
测试结果输出的格式
变体§
Pretty
🔬这是一个仅在 nightly 版本可用的实验性 API。(
test
)详细输出
Terse
🔬这是一个仅在 nightly 版本可用的实验性 API。(
test
)安静输出
Json
🔬这是一个仅在 nightly 版本可用的实验性 API。(
test
)JSON 输出
Junit
🔬这是一个仅在 nightly 版本可用的实验性 API。(
test
)JUnit 输出
特性实现§
源代码§impl Clone for OutputFormat
impl Clone for OutputFormat
源代码§fn clone(&self) -> OutputFormat
fn clone(&self) -> OutputFormat
返回值的副本。 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
执行从
source
的复制赋值。 阅读更多源代码§impl Debug for OutputFormat
impl Debug for OutputFormat
源代码§impl Default for OutputFormat
impl Default for OutputFormat
源代码§fn default() -> OutputFormat
fn default() -> OutputFormat
返回类型的“默认值”。 阅读更多
源代码§impl PartialEq for OutputFormat
impl PartialEq for OutputFormat
impl Copy for OutputFormat
impl Eq for OutputFormat
impl StructuralPartialEq for OutputFormat
自动特性实现§
impl Freeze for OutputFormat
impl RefUnwindSafe for OutputFormat
impl Send for OutputFormat
impl Sync for OutputFormat
impl Unpin for OutputFormat
impl UnwindSafe for OutputFormat
泛型实现§
源代码§impl<T> BorrowMut<T> for Twhere T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多