Enum adapton::reflect::trace::ForceCase
[−]
[src]
pub enum ForceCase { CompCacheMiss, CompCacheHit, RefGet, }
When the program force
s a computation, either the cache is
either empty (CacheMiss
) or non-empty (CacheHit
). The cached
value may not be consistent without a cleaning. When the program
force
s a reference cell, it simply gets the current value.
Variants
CompCacheMiss
The DCG has no cached value for this computation; no prior computation will be reused.
CompCacheHit
The DCG has a cached value for this computation; it may not be consistent without a cleaning first.
RefGet
The forced node is a ref cell with a (mutable) value, and hence,
no computation was necessary. The force
simply gets the
current value.
Trait Implementations
impl Clone for ForceCase
[src]
fn clone(&self) -> ForceCase
[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