Enum test::ShouldPanic [] [src]

pub enum ShouldPanic {
    No,
    Yes,
    YesWithMessage(&'static str),
}
🔬 This is a nightly-only experimental API. (test)

Variants

🔬 This is a nightly-only experimental API. (test)
🔬 This is a nightly-only experimental API. (test)
🔬 This is a nightly-only experimental API. (test)

Trait Implementations

impl Copy for ShouldPanic
[src]

impl Clone for ShouldPanic
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for ShouldPanic
[src]
[+]

[]

Formats the value using the given formatter. Read more

impl PartialEq for ShouldPanic
[src]
[+]

[]

This method tests for self and other values to be equal, and is used by ==. Read more

[]

This method tests for !=.

impl Eq for ShouldPanic
[src]

impl Hash for ShouldPanic
[src]
[+]

[]

Feeds this value into the given [Hasher]. Read more

[]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for ShouldPanic

impl Sync for ShouldPanic