mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Auto merge of #7361 - jxs:master, r=Ms2ger
make dom_struct derive HeapSizeOf closes #7357 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7361) <!-- Reviewable:end -->
This commit is contained in:
commit
532fd19d69
155 changed files with 3 additions and 226 deletions
|
@ -207,6 +207,7 @@ impl MutHeapJSVal {
|
|||
/// `JS<T>`.
|
||||
#[must_root]
|
||||
#[derive(JSTraceable)]
|
||||
#[derive(HeapSizeOf)]
|
||||
pub struct MutHeap<T: HeapGCValue + Copy> {
|
||||
val: Cell<T>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue