pub struct DidMerge(pub bool, pub bool);
Expand description

Result of Analysis::merge indicating which of the inputs are different from the merged result.

The fields correspond to whether the initial a and b inputs to Analysis::merge were different from the final merged value.

In both cases the result may be conservative – they may indicate true even when there is no difference between the input and the result.

DidMerges can be “or“ed together using the | operator. This can be useful for composing analyses.

Tuple Fields

0: bool1: bool

Trait Implementations

The resulting type after applying the | operator.

Performs the | operation. 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.