mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Hoist exported wrapper functionality into a family of traits.
All the existing code still uses the concrete implementations, so this shouldn't impact the generated code at all.
This commit is contained in:
parent
acbe413052
commit
54f2700ba6
6 changed files with 297 additions and 198 deletions
|
@ -31,7 +31,7 @@ use util::arc_ptr_eq;
|
|||
use util::cache::{LRUCache, SimpleHashCache};
|
||||
use util::opts;
|
||||
use util::vec::ForgetfulSink;
|
||||
use wrapper::{LayoutElement, LayoutNode};
|
||||
use wrapper::{LayoutElement, LayoutElementTrait, LayoutNode, LayoutNodeTrait};
|
||||
|
||||
pub struct ApplicableDeclarations {
|
||||
pub normal: SmallVec<[DeclarationBlock; 16]>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue