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 ShouldPanicimpl Clone for ShouldPanic[src]
impl Clone for ShouldPanicfn clone(&self) -> ShouldPanic[src]
fn clone(&self) -> ShouldPanicReturns 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 ShouldPanicfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ShouldPanic[src]
impl PartialEq for ShouldPanicfn eq(&self, other: &ShouldPanic) -> bool[src]
fn eq(&self, other: &ShouldPanic) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for ShouldPanic[src]
impl Eq for ShouldPanicimpl Hash for ShouldPanic[src]
impl Hash for ShouldPanicAuto Trait Implementations
impl Send for ShouldPanic
impl Send for ShouldPanicimpl Sync for ShouldPanic
impl Sync for ShouldPanic