Enum adapton::reflect::Effect
[−]
[src]
pub enum Effect { Force, Alloc, }
Reflected version of engine::Effect
Variants
Force
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.
Alloc
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]
impl Clone for Effect
[src]
fn clone(&self) -> Effect
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for Effect
[src]
impl PartialEq for Effect
[src]
fn eq(&self, __arg_0: &Effect) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.