Struct predicates::reflection::Case

source ·
pub struct Case<'a> { /* private fields */ }
Expand description

A descriptive explanation for why a predicate failed.

Implementations§

Create a new Case describing the result of a Predicate.

Add an additional by product to a Case.

Add an additional by product to a Case.

The Predicate that produced this case.

The result of this case.

Access the by-products from determining this case.

Access the sub-cases.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.