Enum adapton::reflect::Effect [] [src]

pub enum Effect {
    Force,
    Alloc,
}

Reflected version of engine::Effect

Variants

The effect consists of a thunk observing the value of another thunk or reference cell. That is, the effect consists of consuming a value, by demanding its production.

The effect consists of a thunk allocating a value or thunk at a particular name. That is, the effect consists of producing a value or computation. If this content differs, then the allocation is a reallocation, and the engine dirties the old observers and allocators of the preceding content.

Trait Implementations

impl Debug for Effect
[src]

[src]

Formats the value using the given formatter.

impl Clone for Effect
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Effect
[src]

impl PartialEq for Effect
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Hash for Effect
[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