mirror of
https://github.com/servo/servo.git
synced 2025-06-13 02:44:29 +00:00
Uniformise root() methods
They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
This commit is contained in:
parent
d7987e43c9
commit
7197052c0d
71 changed files with 122 additions and 139 deletions
|
@ -24,8 +24,9 @@ use dom::bindings::codegen::Bindings::DocumentBinding::{DocumentMethods, Documen
|
|||
use dom::bindings::codegen::InheritTypes::{ElementCast, EventTargetCast, HTMLIFrameElementCast, NodeCast, EventCast};
|
||||
use dom::bindings::conversions::FromJSValConvertible;
|
||||
use dom::bindings::conversions::StringificationBehavior;
|
||||
use dom::bindings::js::{JS, JSRef, Temporary, OptionalRootable, RootedReference};
|
||||
use dom::bindings::js::{RootCollection, RootCollectionPtr};
|
||||
use dom::bindings::js::{JS, JSRef, OptionalRootable, RootCollection};
|
||||
use dom::bindings::js::{RootCollectionPtr, Rootable, RootedReference};
|
||||
use dom::bindings::js::Temporary;
|
||||
use dom::bindings::refcounted::{LiveDOMReferences, Trusted, TrustedReference};
|
||||
use dom::bindings::structuredclone::StructuredCloneData;
|
||||
use dom::bindings::trace::{JSTraceable, trace_collections, RootedVec};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue