mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Use global exports from derives (#33169)
* pub reexport *Traceable Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * reexport `HasParent` for derives Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * reexport DomObject, Reflector, MutDomObject Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * fmt Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update lib.rs Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> * Update lib.rs Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> * Update lib.rs Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
6357998ede
commit
88d8770214
5 changed files with 23 additions and 15 deletions
|
@ -96,3 +96,10 @@ mod window_named_properties;
|
|||
|
||||
pub use init::init;
|
||||
pub use script_runtime::JSEngineSetup;
|
||||
|
||||
// These trait exports are public, because they are used in the DOM bindings.
|
||||
// Since they are used in derive macros,
|
||||
// it is useful that they are accessible at the root of the crate.
|
||||
pub use crate::dom::bindings::inheritance::HasParent;
|
||||
pub use crate::dom::bindings::reflector::{DomObject, MutDomObject, Reflector};
|
||||
pub use crate::dom::bindings::trace::{CustomTraceable, JSTraceable};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue