1 header = """/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_dom_RustTypes_h
6 #error "Don't include this file directly, include mozilla/dom/RustTypes.h instead"
9 include_guard = "mozilla_dom_GeneratedElementDocumentState_h"
10 include_version = true
12 namespaces = ["mozilla", "dom"]
13 includes = ["mozilla/Assertions.h"]
16 derive_helper_methods = true
17 derive_const_casts = true
18 cast_assert_name = "MOZ_DIAGNOSTIC_ASSERT"
21 associated_constants_in_body = true
36 STATE_HELPERS(ElementState)
39 STATE_HELPERS(DocumentState)