Enum adapton::engine::NameChoice [] [src]

pub enum NameChoice {
    Naive,
    Eager,
    Structural,
    Nominal(Name),
}

A NameChoice chooses between Native, Structural and Nominal identities for articulation points introduced by thunk.

Variants

Naive: Native Rust thunk, with no caching/reuse of the thunk representation, or its result.

Eager: Special case of Naive, with no suspension of the thunk -- the function is called immediately.

Structurally identify an Art based on hashing its content (e.g., prog_pt and argument(s)).

Explicitly names an Art based on a programmer-chosen name, of type Name.

Trait Implementations

impl Hash for NameChoice
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for NameChoice
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for NameChoice
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for NameChoice
[src]

impl Clone for NameChoice
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for NameChoice

impl !Sync for NameChoice