mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Make #[derive(JSTraceable)] a procedural macro
This commit is contained in:
parent
b0cac458b6
commit
391296278d
9 changed files with 98 additions and 68 deletions
|
@ -10,7 +10,7 @@ use dom::element::Element;
|
|||
use dom::window::Window;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#validity-states
|
||||
#[derive_JSTraceable]
|
||||
#[derive(JSTraceable)]
|
||||
#[derive(HeapSizeOf)]
|
||||
pub enum ValidityStatus {
|
||||
ValueMissing,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue