Struct accountable_refcell::RefCell
[−]
[src]
pub struct RefCell<T: ?Sized> { /* fields omitted */ }
A RefCell that tracks outstanding borrows and reports stack traces for dynamic borrow failures.
Methods
impl<T> RefCell<T>
[src]
fn new(value: T) -> RefCell<T>
[src]
Create a new RefCell value.
fn into_inner(self) -> T
[src]
Discard this RefCell and return the value stored inside of it.