Enum term_rewriting::MergeStrategy [] [src]

pub enum MergeStrategy {
    SameOperators,
    OperatorsByArityAndName,
    DistinctOperators,
}

Specifies how to merge two signatures. See Signature::merge.

Variants

Operators won't be added to the signature: this must mean all operators were added in the same order for both signatures.

Operators are added to the signature only when there is no existing operator with the same arity and name.

Operators are always added distinctly: no operators associated with the first signature will every equate to those associated with the second signature.

Trait Implementations

impl Debug for MergeStrategy
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for MergeStrategy
[src]

impl Clone for MergeStrategy
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for MergeStrategy
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for MergeStrategy
[src]

Auto Trait Implementations

impl Send for MergeStrategy

impl Sync for MergeStrategy