Enum syllogism::Distinction[][src]

pub enum Distinction<S, G> {
    Special(S),
    Generic(G),
}
Expand description

An enum that allows to distinguish between the special case and the generic case.

To be used together with the Specialize trait. See the documentation of the Specialize trait for more information.

Variants

Special(S)

Tuple Fields

0: S

Generic(G)

Tuple Fields

0: G

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.