diff options
author | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-06-30 19:23:07 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-07-01 14:22:53 -0700 |
commit | 30963dd74da5e9a0e2fd7c8d56ec23aa474e8dd3 (patch) | |
tree | 7751ed70f30f0131238bc0755e007d3a01545771 /components/script/dom/location.rs | |
parent | ba53c4ea8db7f9d2028f73db3873b7565f55567a (diff) | |
download | servo-30963dd74da5e9a0e2fd7c8d56ec23aa474e8dd3.tar.gz servo-30963dd74da5e9a0e2fd7c8d56ec23aa474e8dd3.zip |
style: remove is_servo(), as_servo() and as_servo_mut()
This commit adds a need_index prop to the style system, and autogenerates
iterators, and a get_xxx_mod(i) function from a get_xxx_prop() and
get_xxx_at(index) functions.
This allows us to (finally!) take rid of the as_servo() hack. There are a few
unimplemented clones, but I'm just too lazy for that right now.
Diffstat (limited to 'components/script/dom/location.rs')
0 files changed, 0 insertions, 0 deletions