diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-17 01:58:52 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-17 01:58:52 +0200 |
commit | 6c7f37061b5c356c4d045bfd23b33e84220e39f9 (patch) | |
tree | b0e96b402143a4a186f27db902db59f4bb454bc9 /components/script/dom/browsercontext.rs | |
parent | e31ad011033ae076efecf61888daa1f6a5900589 (diff) | |
download | servo-6c7f37061b5c356c4d045bfd23b33e84220e39f9.tar.gz servo-6c7f37061b5c356c4d045bfd23b33e84220e39f9.zip |
Implement Deref<Target=T> for JS<T> where T: Reflectable
We can only borrow JS<T> from rooted things, so it's safe to deref it.
The only types that provide mutable JS<T> things are MutHeap<JS<T>> and
MutNullableHeap<JS<T>>, which don't actually expose that they contain
JS<T> values.
Diffstat (limited to 'components/script/dom/browsercontext.rs')
0 files changed, 0 insertions, 0 deletions