Implement JSTraceable for more types.

This commit is contained in:
Ms2ger 2017-02-14 14:42:35 +01:00
parent 8ce9ca6243
commit 3613e8f231
3 changed files with 9 additions and 1 deletions

View file

@ -23,7 +23,7 @@ use std::collections::HashMap;
use std::ops::Deref;
/// The `MozMap` (open-ended dictionary) type.
#[derive(Clone)]
#[derive(Clone, JSTraceable)]
pub struct MozMap<T> {
map: HashMap<DOMString, T>,
}