Macro refcell

Source
macro_rules! refcell {
    ($val:expr) => { ... };
}
Expand description

Creates a new RefCell instance.

This macro takes a value and wraps it in a RefCell, providing interior mutability with dynamic borrow checking. RefCell allows mutable access to its contents even when it is shared among multiple references.