Enum expectest::core::Join [] [src]

pub enum Join {
    To,
    ToNot,
    NotTo,
}

An enum used to join two parts of a failure message.

Variants

To

"to" join.

ToNot

"to not" join.

NotTo

"not to" join.

Methods

impl Join
[src]

fn is_assertion(&self) -> bool

Checks if Join is assertion.

Trait Implementations

impl Debug for Join
[src]

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

Formats the value using the given formatter.

impl PartialEq for Join
[src]

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

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Display for Join
[src]

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

Formats the value using the given formatter.