[][src]Enum term_rewriting::MergeStrategy

pub enum MergeStrategy {
    SameOperators,
    OperatorsByArityAndName,
    DistinctOperators,
}

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

Variants

SameOperators

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

OperatorsByArityAndName

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

DistinctOperators

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 Copy for MergeStrategy[src]

impl PartialEq<MergeStrategy> for MergeStrategy[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for MergeStrategy[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for MergeStrategy[src]

impl Debug for MergeStrategy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]