Function adapton::engine::cell [] [src]

pub fn cell<T: Hash + Eq + Debug + Clone + 'static>(n: Name, val: T) -> Art<T>

Creates a named reference cell (an eager Art<_>) whose content can change over time.

From the editor's perspective, this cell is mutable. From the archivist's perspective, this cell is a "one-shot" reference cell: Once allocated, it is immutable.