Enum test::ShouldPanic
[−]
[src]
pub enum ShouldPanic { No, Yes, YesWithMessage(&'static str), }
Variants
No
Yes
YesWithMessage(&'static str)
Trait Implementations
impl Copy for ShouldPanic
[src]
impl Clone for ShouldPanic
[src]
fn clone(&self) -> ShouldPanic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ShouldPanic
[src]
impl PartialEq for ShouldPanic
[src]
fn eq(&self, __arg_0: &ShouldPanic) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ShouldPanic) -> bool
This method tests for !=
.