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

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

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

Eager

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

Structural

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

Nominal(Name)

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

Trait Implementations

impl Clone for NameChoice[src]

impl Debug for NameChoice[src]

impl Eq for NameChoice[src]

impl Hash for NameChoice[src]

impl PartialEq<NameChoice> for NameChoice[src]

impl StructuralEq for NameChoice[src]

impl StructuralPartialEq for NameChoice[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.