mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
f1c050531f
commit
80593d9cc5
2 changed files with 69 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue