servo/components/script/dom/bindings
bors-servo 1a376aa75d Auto merge of #8060 - nox:deref-js, r=Ms2ger
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.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8060)
<!-- Reviewable:end -->
2015-10-19 06:32:05 -06:00
..
codegen Fix formatting for variable in doc-comment within codegen 2015-10-17 15:20:12 -04:00
callback.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
cell.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
conversions.rs added spec link for type mapping 2015-10-15 19:28:56 +05:30
error.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
global.rs Update script to work with lint changes 2015-10-16 01:20:27 +05:30
js.rs Implement Deref<Target=T> for JS<T> where T: Reflectable 2015-10-17 01:58:52 +02:00
mod.rs Enable some warnings for generated code. 2015-10-16 12:07:57 +02:00
num.rs make test-tidy check that = have space after them 2015-09-01 07:18:19 -04:00
proxyhandler.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
refcounted.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
str.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
structuredclone.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
trace.rs Implement size attribute for <font> element 2015-09-30 22:51:30 -04:00
utils.rs Auto merge of #7972 - nox:codegen-heapsize, r=Ms2ger 2015-10-15 07:13:55 -06:00