Enum adapton::engine::ArtIdChoice [] [src]

pub enum ArtIdChoice {
    Eager,
    Structural,
    Nominal(Name),
}

An ArtIdChoice choses between Eager, Structural and Nominal identities for articulation points introduced by thunk.

An Eager identity is special, and it means "do not introduce any laziness/memoization overhead here"; when Eager is used, no thunk is created; rather, the computation eagerly produces an immutable value held in an Rc.

Variants

Eagerly produces an Art that merely consists of an Rc; no additional indirection is needed/used.

Identifies an Art based on hashing content (e.g., prog_pt for code and argument(s)).

Identifies an Art based on a programmer-chosen name.

Trait Implementations

impl Hash for ArtIdChoice
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for ArtIdChoice
[src]

Formats the value using the given formatter.

impl PartialEq for ArtIdChoice
[src]

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

This method tests for !=.

impl Eq for ArtIdChoice
[src]

impl Clone for ArtIdChoice
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more