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
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 Hash for NameChoice
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for NameChoice
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for NameChoice
[src]
fn eq(&self, __arg_0: &NameChoice) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NameChoice) -> bool
[src]
This method tests for !=
.
impl Eq for NameChoice
[src]
impl Clone for NameChoice
[src]
fn clone(&self) -> NameChoice
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more