diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-10-15 02:34:03 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-10-15 13:41:03 +0900 |
commit | 80593d9cc5917ee5c7cb5aa5b62b92adcb3e1db7 (patch) | |
tree | 68ca36096b7143ae3035e140c12c4a51bb8edd85 /components/script/lib.rs | |
parent | f1c050531f3e3669275f1fc50d92724609eba59b (diff) | |
download | servo-80593d9cc5917ee5c7cb5aa5b62b92adcb3e1db7.tar.gz servo-80593d9cc5917ee5c7cb5aa5b62b92adcb3e1db7.zip |
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.
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index 09bea1b73bd..03662371e0c 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -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; |