Enum test::ShouldPanic [−][src]
pub enum ShouldPanic { No, Yes, YesWithMessage(&'static str), }
🔬 This is a nightly-only experimental API. (
test
)Variants
No
🔬 This is a nightly-only experimental API. (
test
)Yes
🔬 This is a nightly-only experimental API. (
test
)YesWithMessage(&'static str)
🔬 This is a nightly-only experimental API. (
test
)Trait Implementations
impl Copy for ShouldPanic
[src]
impl Copy for ShouldPanic
impl Clone for ShouldPanic
[src]
impl Clone for ShouldPanic
fn clone(&self) -> ShouldPanic
[src]
fn clone(&self) -> ShouldPanic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ShouldPanic
[src]
impl Debug for ShouldPanic
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ShouldPanic
[src]
impl PartialEq for ShouldPanic
fn eq(&self, other: &ShouldPanic) -> bool
[src]
fn eq(&self, other: &ShouldPanic) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ShouldPanic) -> bool
[src]
fn ne(&self, other: &ShouldPanic) -> bool
This method tests for !=
.
impl Eq for ShouldPanic
[src]
impl Eq for ShouldPanic
impl Hash for ShouldPanic
[src]
impl Hash for ShouldPanic
Auto Trait Implementations
impl Send for ShouldPanic
impl Send for ShouldPanic
impl Sync for ShouldPanic
impl Sync for ShouldPanic