Enum test::ShouldPanicUnstable [-] [+] [src]

pub enum ShouldPanic {
    No,
    Yes(Option<&'static str>),
}

Variants

No
Yes

Trait Implementations

Derived Implementations

impl Hash for ShouldPanic

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for ShouldPanic

impl PartialEq for ShouldPanic

fn eq(&self, __arg_0: &ShouldPanic) -> bool

fn ne(&self, __arg_0: &ShouldPanic) -> bool

impl Debug for ShouldPanic

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for ShouldPanic

fn clone(&self) -> ShouldPanic

fn clone_from(&mut self, source: &Self)

impl Copy for ShouldPanic