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

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 Clone for Effect[src]

impl Debug for Effect[src]

impl Eq for Effect[src]

impl Hash for Effect[src]

impl PartialEq<Effect> for Effect[src]

impl StructuralEq for Effect[src]

impl StructuralPartialEq for Effect[src]

Auto Trait Implementations

impl RefUnwindSafe for Effect

impl Send for Effect

impl Sync for Effect

impl Unpin for Effect

impl UnwindSafe for Effect

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.