more refactoring

This commit is contained in:
rohan.prinja 2015-10-27 17:58:34 +09:00
parent bb2536cd01
commit 45224028db
115 changed files with 3387 additions and 354 deletions

View file

@ -2,9 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//! The `Castable` trait.
use dom::bindings::conversions::get_dom_class;
use dom::bindings::conversions::{DerivedFrom, IDLInterface};
use dom::bindings::utils::Reflectable;
use dom::bindings::reflector::Reflectable;
use std::mem;
/// A trait to hold the cast functions of IDL interfaces that either derive