make dom_struct derive HeapSizeOf,

closes #7357
This commit is contained in:
João Oliveira 2015-08-25 16:38:56 +01:00
parent af4c3901d8
commit fd87c8cb3e
155 changed files with 3 additions and 226 deletions

View file

@ -207,6 +207,7 @@ impl MutHeapJSVal {
/// `JS<T>`.
#[must_root]
#[derive(JSTraceable)]
#[derive(HeapSizeOf)]
pub struct MutHeap<T: HeapGCValue + Copy> {
val: Cell<T>,
}