Add DOMRefCell<T> for safe borrowing in layout.

This type simply wraps `RefCell<T>` to add the special method,
and introduce the method to return the pointer of the value contained in
itself, for used in layout task.
This commit is contained in:
Tetsuharu OHZEKI 2014-10-15 02:34:03 +09:00
parent f1c050531f
commit 80593d9cc5
2 changed files with 69 additions and 0 deletions

View file

@ -56,6 +56,7 @@ pub mod dom {
/// The code to expose the DOM to JavaScript through IDL bindings.
pub mod bindings {
pub mod cell;
pub mod global;
pub mod js;
pub mod utils;