pub enum Effect {
Force,
Alloc,
}
Expand description
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 Eq for Effect
impl StructuralPartialEq for Effect
Auto Trait Implementations§
impl Freeze for Effect
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnwindSafe for Effect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more