pub enum AnyOrExactly<T> {
    Any,
    Exactly(T),
}
Expand description

A matcher matching either any term, or only a specific owned term.

Variants

Any

Match any term.

Exactly(T)

Match only this term.

Trait Implementations

Performs the conversion.

Type of TTerm used internally by this matcher.

If this matcher matches only one graph name, return it, else None. Read more

Check whether this matcher matches g.

Type of TTerm used internally by this matcher.

If this matcher matches only one term, return this term, else None.

Check whether this matcher matches t.

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

Performs the conversion.

Performs the conversion.

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.