Skip to main content

Cell

Type Alias Cell 

Source
pub type Cell = Rc<RefCell<Value>>;
Expand description

A shared, mutable binding cell. Closures capture enclosing variables by sharing these: a such/param captured by a nested function becomes a Cell, so a reassignment on either side is visible to the other.

Aliased Type§

pub struct Cell { /* private fields */ }