binding-update

This commit is contained in:
Hiroyuki Ikezoe 2017-03-17 12:26:25 +09:00
parent 99f5edbefb
commit bcdd1c1739
3 changed files with 869 additions and 870 deletions

View file

@ -4,11 +4,6 @@ pub use nsstring::{nsACString, nsAString, nsString};
type nsACString_internal = nsACString;
type nsAString_internal = nsAString;
use gecko_bindings::structs::mozilla::css::URLValue;
pub type RawServoNamespaceRuleStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoNamespaceRule>;
pub type RawServoNamespaceRuleBorrowedOrNull<'a> = Option<&'a RawServoNamespaceRule>;
pub type RawServoNamespaceRuleBorrowed<'a> = &'a RawServoNamespaceRule;
enum RawServoNamespaceRuleVoid{ }
pub struct RawServoNamespaceRule(RawServoNamespaceRuleVoid);
use gecko_bindings::structs::RawGeckoDocument;
use gecko_bindings::structs::RawGeckoElement;
use gecko_bindings::structs::RawGeckoKeyframeList;
@ -222,6 +217,11 @@ pub type RawServoMediaRuleBorrowed<'a> = &'a RawServoMediaRule;
pub type RawServoMediaRuleBorrowedOrNull<'a> = Option<&'a RawServoMediaRule>;
enum RawServoMediaRuleVoid { }
pub struct RawServoMediaRule(RawServoMediaRuleVoid);
pub type RawServoNamespaceRuleStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoNamespaceRule>;
pub type RawServoNamespaceRuleBorrowed<'a> = &'a RawServoNamespaceRule;
pub type RawServoNamespaceRuleBorrowedOrNull<'a> = Option<&'a RawServoNamespaceRule>;
enum RawServoNamespaceRuleVoid { }
pub struct RawServoNamespaceRule(RawServoNamespaceRuleVoid);
pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned<RawServoStyleSet>;
pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoStyleSet>;
pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet;
@ -337,6 +337,12 @@ extern "C" {
extern "C" {
pub fn Servo_MediaRule_Release(ptr: RawServoMediaRuleBorrowed);
}
extern "C" {
pub fn Servo_NamespaceRule_AddRef(ptr: RawServoNamespaceRuleBorrowed);
}
extern "C" {
pub fn Servo_NamespaceRule_Release(ptr: RawServoNamespaceRuleBorrowed);
}
extern "C" {
pub fn Servo_StyleSet_Drop(ptr: RawServoStyleSetOwned);
}
@ -1296,10 +1302,9 @@ extern "C" {
pub fn Servo_StyleSheet_FromUTF8Bytes(loader: *mut Loader,
gecko_stylesheet:
*mut ServoStyleSheet,
data: *const nsACString_internal,
data: *const nsACString,
parsing_mode: SheetParsingMode,
base_url:
*const nsACString_internal,
base_url: *const nsACString,
base: *mut ThreadSafeURIHolder,
referrer: *mut ThreadSafeURIHolder,
principal:
@ -1316,7 +1321,7 @@ extern "C" {
loader: *mut Loader,
gecko_stylesheet:
*mut ServoStyleSheet,
data: *const nsACString_internal,
data: *const nsACString,
base: *mut ThreadSafeURIHolder,
referrer: *mut ThreadSafeURIHolder,
principal:
@ -1370,8 +1375,7 @@ extern "C" {
}
extern "C" {
pub fn Servo_StyleSet_FillKeyframesForName(set: RawServoStyleSetBorrowed,
property:
*const nsACString_internal,
property: *const nsACString,
timing_function:
*const nsTimingFunction,
computed_values:
@ -1384,35 +1388,55 @@ extern "C" {
pub fn Servo_CssRules_ListTypes(rules: ServoCssRulesBorrowed,
result: nsTArrayBorrowed_uintptr_t);
}
extern "C" {
pub fn Servo_CssRules_InsertRule(rules: ServoCssRulesBorrowed,
sheet: RawServoStyleSheetBorrowed,
rule: *const nsACString, index: u32,
nested: bool, rule_type: *mut u16)
-> nsresult;
}
extern "C" {
pub fn Servo_CssRules_DeleteRule(rules: ServoCssRulesBorrowed, index: u32)
-> nsresult;
}
extern "C" {
pub fn Servo_CssRules_GetStyleRuleAt(rules: ServoCssRulesBorrowed,
index: u32)
-> RawServoStyleRuleStrong;
}
extern "C" {
pub fn Servo_StyleRule_Debug(rule: RawServoStyleRuleBorrowed,
result: *mut nsACString);
}
extern "C" {
pub fn Servo_StyleRule_GetCssText(rule: RawServoStyleRuleBorrowed,
result: *mut nsAString);
}
extern "C" {
pub fn Servo_CssRules_GetMediaRuleAt(rules: ServoCssRulesBorrowed,
index: u32)
-> RawServoMediaRuleStrong;
}
extern "C" {
pub fn Servo_MediaRule_Debug(rule: RawServoMediaRuleBorrowed,
result: *mut nsACString);
}
extern "C" {
pub fn Servo_MediaRule_GetCssText(rule: RawServoMediaRuleBorrowed,
result: *mut nsAString);
}
extern "C" {
pub fn Servo_CssRules_GetNamespaceRuleAt(rules: ServoCssRulesBorrowed,
index: u32)
-> RawServoNamespaceRuleStrong;
}
extern "C" {
pub fn Servo_CssRules_InsertRule(rules: ServoCssRulesBorrowed,
sheet: RawServoStyleSheetBorrowed,
rule: *const nsACString_internal,
index: u32, nested: bool,
rule_type: *mut u16) -> nsresult;
pub fn Servo_NamespaceRule_Debug(rule: RawServoNamespaceRuleBorrowed,
result: *mut nsACString);
}
extern "C" {
pub fn Servo_CssRules_DeleteRule(rules: ServoCssRulesBorrowed, index: u32)
-> nsresult;
}
extern "C" {
pub fn Servo_StyleRule_Debug(rule: RawServoStyleRuleBorrowed,
result: *mut nsACString_internal);
pub fn Servo_NamespaceRule_GetCssText(rule: RawServoNamespaceRuleBorrowed,
result: *mut nsAString);
}
extern "C" {
pub fn Servo_StyleRule_GetStyle(rule: RawServoStyleRuleBorrowed)
@ -1423,17 +1447,9 @@ extern "C" {
declarations:
RawServoDeclarationBlockBorrowed);
}
extern "C" {
pub fn Servo_StyleRule_GetCssText(rule: RawServoStyleRuleBorrowed,
result: *mut nsAString_internal);
}
extern "C" {
pub fn Servo_StyleRule_GetSelectorText(rule: RawServoStyleRuleBorrowed,
result: *mut nsAString_internal);
}
extern "C" {
pub fn Servo_MediaRule_Debug(rule: RawServoMediaRuleBorrowed,
result: *mut nsACString_internal);
result: *mut nsAString);
}
extern "C" {
pub fn Servo_MediaRule_GetMedia(rule: RawServoMediaRuleBorrowed)
@ -1444,21 +1460,17 @@ extern "C" {
-> ServoCssRulesStrong;
}
extern "C" {
pub fn Servo_MediaRule_GetCssText(rule: RawServoMediaRuleBorrowed,
result: *mut nsAString_internal);
pub fn Servo_NamespaceRule_GetPrefix(rule: RawServoNamespaceRuleBorrowed)
-> *mut nsIAtom;
}
extern "C" {
pub fn Servo_NamespaceRule_Debug(rule: RawServoNamespaceRuleBorrowed,
result: *mut nsACString_internal);
pub fn Servo_NamespaceRule_GetURI(rule: RawServoNamespaceRuleBorrowed)
-> *mut nsIAtom;
}
extern "C" {
pub fn Servo_NamespaceRule_GetCssText(rule: RawServoNamespaceRuleBorrowed,
result: *mut nsAString_internal);
}
extern "C" {
pub fn Servo_ParseProperty(property: *const nsACString_internal,
value: *const nsACString_internal,
base: *const nsACString_internal,
pub fn Servo_ParseProperty(property: *const nsACString,
value: *const nsACString,
base: *const nsACString,
data: *const GeckoParserExtraData)
-> RawServoDeclarationBlockStrong;
}
@ -1489,7 +1501,7 @@ extern "C" {
pub fn Servo_AnimationValue_Serialize(value:
RawServoAnimationValueBorrowed,
property: nsCSSPropertyID,
buffer: *mut nsAString_internal);
buffer: *mut nsAString);
}
extern "C" {
pub fn Servo_AnimationValue_GetOpacity(value:
@ -1510,8 +1522,8 @@ extern "C" {
-> bool;
}
extern "C" {
pub fn Servo_ParseStyleAttribute(data: *const nsACString_internal,
base: *const nsACString_internal,
pub fn Servo_ParseStyleAttribute(data: *const nsACString,
base: *const nsACString,
extraData: *const GeckoParserExtraData)
-> RawServoDeclarationBlockStrong;
}
@ -1532,14 +1544,13 @@ extern "C" {
extern "C" {
pub fn Servo_DeclarationBlock_GetCssText(declarations:
RawServoDeclarationBlockBorrowed,
result: *mut nsAString_internal);
result: *mut nsAString);
}
extern "C" {
pub fn Servo_DeclarationBlock_SerializeOneValue(declarations:
RawServoDeclarationBlockBorrowed,
property: nsCSSPropertyID,
buffer:
*mut nsAString_internal);
buffer: *mut nsAString);
}
extern "C" {
pub fn Servo_DeclarationBlock_Count(declarations:
@ -1550,43 +1561,37 @@ extern "C" {
pub fn Servo_DeclarationBlock_GetNthProperty(declarations:
RawServoDeclarationBlockBorrowed,
index: u32,
result:
*mut nsAString_internal)
result: *mut nsAString)
-> bool;
}
extern "C" {
pub fn Servo_DeclarationBlock_GetPropertyValue(declarations:
RawServoDeclarationBlockBorrowed,
property:
*const nsACString_internal,
value:
*mut nsAString_internal);
*const nsACString,
value: *mut nsAString);
}
extern "C" {
pub fn Servo_DeclarationBlock_GetPropertyValueById(declarations:
RawServoDeclarationBlockBorrowed,
property:
nsCSSPropertyID,
value:
*mut nsAString_internal);
value: *mut nsAString);
}
extern "C" {
pub fn Servo_DeclarationBlock_GetPropertyIsImportant(declarations:
RawServoDeclarationBlockBorrowed,
property:
*const nsACString_internal)
*const nsACString)
-> bool;
}
extern "C" {
pub fn Servo_DeclarationBlock_SetProperty(declarations:
RawServoDeclarationBlockBorrowed,
property:
*const nsACString_internal,
value:
*const nsACString_internal,
property: *const nsACString,
value: *const nsACString,
is_important: bool,
base:
*const nsACString_internal,
base: *const nsACString,
data:
*const GeckoParserExtraData)
-> bool;
@ -1595,11 +1600,9 @@ extern "C" {
pub fn Servo_DeclarationBlock_SetPropertyById(declarations:
RawServoDeclarationBlockBorrowed,
property: nsCSSPropertyID,
value:
*const nsACString_internal,
value: *const nsACString,
is_important: bool,
base:
*const nsACString_internal,
base: *const nsACString,
data:
*const GeckoParserExtraData)
-> bool;
@ -1607,8 +1610,7 @@ extern "C" {
extern "C" {
pub fn Servo_DeclarationBlock_RemoveProperty(declarations:
RawServoDeclarationBlockBorrowed,
property:
*const nsACString_internal);
property: *const nsACString);
}
extern "C" {
pub fn Servo_DeclarationBlock_RemovePropertyById(declarations:
@ -1672,8 +1674,7 @@ extern "C" {
extern "C" {
pub fn Servo_DeclarationBlock_SetFontFamily(declarations:
RawServoDeclarationBlockBorrowed,
value:
*const nsAString_internal);
value: *const nsAString);
}
extern "C" {
pub fn Servo_DeclarationBlock_SetTextDecorationColorOverride(declarations:
@ -1681,38 +1682,35 @@ extern "C" {
}
extern "C" {
pub fn Servo_MediaList_GetText(list: RawServoMediaListBorrowed,
result: *mut nsAString_internal);
result: *mut nsAString);
}
extern "C" {
pub fn Servo_MediaList_SetText(list: RawServoMediaListBorrowed,
text: *const nsACString_internal);
text: *const nsACString);
}
extern "C" {
pub fn Servo_MediaList_GetLength(list: RawServoMediaListBorrowed) -> u32;
}
extern "C" {
pub fn Servo_MediaList_GetMediumAt(list: RawServoMediaListBorrowed,
index: u32,
result: *mut nsAString_internal)
index: u32, result: *mut nsAString)
-> bool;
}
extern "C" {
pub fn Servo_MediaList_AppendMedium(list: RawServoMediaListBorrowed,
new_medium:
*const nsACString_internal);
new_medium: *const nsACString);
}
extern "C" {
pub fn Servo_MediaList_DeleteMedium(list: RawServoMediaListBorrowed,
old_medium:
*const nsACString_internal)
old_medium: *const nsACString)
-> bool;
}
extern "C" {
pub fn Servo_CSSSupports2(name: *const nsACString_internal,
value: *const nsACString_internal) -> bool;
pub fn Servo_CSSSupports2(name: *const nsACString,
value: *const nsACString) -> bool;
}
extern "C" {
pub fn Servo_CSSSupports(cond: *const nsACString_internal) -> bool;
pub fn Servo_CSSSupports(cond: *const nsACString) -> bool;
}
extern "C" {
pub fn Servo_ComputedValues_GetForAnonymousBox(parent_style_or_null:

File diff suppressed because it is too large Load diff

View file

@ -1444,6 +1444,192 @@ pub mod root {
pub type LinkedListElementTraits_ConstRawType<T> = *mut T;
pub type LinkedListElementTraits_ClientType<T> = *mut T;
pub type LinkedListElementTraits_ConstClientType<T> = *mut T;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsStringRepr {
pub mData: *mut root::mozilla::detail::nsStringRepr_char_type,
pub mLength: root::mozilla::detail::nsStringRepr_size_type,
pub mFlags: u32,
}
pub type nsStringRepr_fallible_t = root::mozilla::fallible_t;
pub type nsStringRepr_char_type = u16;
pub type nsStringRepr_self_type =
root::mozilla::detail::nsStringRepr;
pub type nsStringRepr_base_string_type =
root::mozilla::detail::nsStringRepr_self_type;
pub type nsStringRepr_substring_type = root::nsAString;
pub type nsStringRepr_substring_tuple_type =
root::nsSubstringTuple;
pub type nsStringRepr_string_type = ::nsstring::nsStringRepr;
pub type nsStringRepr_const_iterator =
root::nsReadingIterator<u16>;
pub type nsStringRepr_iterator = root::nsWritingIterator<u16>;
pub type nsStringRepr_comparator_type = root::nsStringComparator;
pub type nsStringRepr_char_iterator =
*mut root::mozilla::detail::nsStringRepr_char_type;
pub type nsStringRepr_const_char_iterator =
*const root::mozilla::detail::nsStringRepr_char_type;
pub type nsStringRepr_index_type = u32;
pub type nsStringRepr_size_type = u32;
pub const nsStringRepr_F_NONE:
root::mozilla::detail::nsStringRepr__bindgen_ty_1 =
nsStringRepr__bindgen_ty_1::F_NONE;
pub const nsStringRepr_F_TERMINATED:
root::mozilla::detail::nsStringRepr__bindgen_ty_1 =
nsStringRepr__bindgen_ty_1::F_TERMINATED;
pub const nsStringRepr_F_VOIDED:
root::mozilla::detail::nsStringRepr__bindgen_ty_1 =
nsStringRepr__bindgen_ty_1::F_VOIDED;
pub const nsStringRepr_F_SHARED:
root::mozilla::detail::nsStringRepr__bindgen_ty_1 =
nsStringRepr__bindgen_ty_1::F_SHARED;
pub const nsStringRepr_F_OWNED:
root::mozilla::detail::nsStringRepr__bindgen_ty_1 =
nsStringRepr__bindgen_ty_1::F_OWNED;
pub const nsStringRepr_F_FIXED:
root::mozilla::detail::nsStringRepr__bindgen_ty_1 =
nsStringRepr__bindgen_ty_1::F_FIXED;
pub const nsStringRepr_F_LITERAL:
root::mozilla::detail::nsStringRepr__bindgen_ty_1 =
nsStringRepr__bindgen_ty_1::F_LITERAL;
pub const nsStringRepr_F_CLASS_FIXED:
root::mozilla::detail::nsStringRepr__bindgen_ty_1 =
nsStringRepr__bindgen_ty_1::F_CLASS_FIXED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsStringRepr__bindgen_ty_1 {
F_NONE = 0,
F_TERMINATED = 1,
F_VOIDED = 2,
F_SHARED = 4,
F_OWNED = 8,
F_FIXED = 16,
F_LITERAL = 32,
F_CLASS_FIXED = 65536,
}
#[test]
fn bindgen_test_layout_nsStringRepr() {
assert_eq!(::std::mem::size_of::<nsStringRepr>() , 16usize ,
concat ! (
"Size of: " , stringify ! ( nsStringRepr ) ));
assert_eq! (::std::mem::align_of::<nsStringRepr>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsStringRepr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsStringRepr ) ) . mData as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
nsStringRepr ) , "::" , stringify ! ( mData ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsStringRepr ) ) . mLength as
* const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
nsStringRepr ) , "::" , stringify ! ( mLength )
));
assert_eq! (unsafe {
& ( * ( 0 as * const nsStringRepr ) ) . mFlags as
* const _ as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! (
nsStringRepr ) , "::" , stringify ! ( mFlags ) ));
}
impl Clone for nsStringRepr {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCStringRepr {
pub mData: *mut root::mozilla::detail::nsCStringRepr_char_type,
pub mLength: root::mozilla::detail::nsCStringRepr_size_type,
pub mFlags: u32,
}
pub type nsCStringRepr_fallible_t = root::mozilla::fallible_t;
pub type nsCStringRepr_char_type = ::std::os::raw::c_char;
pub type nsCStringRepr_self_type =
root::mozilla::detail::nsCStringRepr;
pub type nsCStringRepr_base_string_type =
root::mozilla::detail::nsCStringRepr_self_type;
pub type nsCStringRepr_substring_type = root::nsACString;
pub type nsCStringRepr_substring_tuple_type =
root::nsCSubstringTuple;
pub type nsCStringRepr_string_type = root::nsCString;
pub type nsCStringRepr_const_iterator =
root::nsReadingIterator<::std::os::raw::c_char>;
pub type nsCStringRepr_iterator =
root::nsWritingIterator<::std::os::raw::c_char>;
pub type nsCStringRepr_comparator_type =
root::nsCStringComparator;
pub type nsCStringRepr_char_iterator =
*mut root::mozilla::detail::nsCStringRepr_char_type;
pub type nsCStringRepr_const_char_iterator =
*const root::mozilla::detail::nsCStringRepr_char_type;
pub type nsCStringRepr_index_type = u32;
pub type nsCStringRepr_size_type = u32;
pub const nsCStringRepr_F_NONE:
root::mozilla::detail::nsCStringRepr__bindgen_ty_1 =
nsCStringRepr__bindgen_ty_1::F_NONE;
pub const nsCStringRepr_F_TERMINATED:
root::mozilla::detail::nsCStringRepr__bindgen_ty_1 =
nsCStringRepr__bindgen_ty_1::F_TERMINATED;
pub const nsCStringRepr_F_VOIDED:
root::mozilla::detail::nsCStringRepr__bindgen_ty_1 =
nsCStringRepr__bindgen_ty_1::F_VOIDED;
pub const nsCStringRepr_F_SHARED:
root::mozilla::detail::nsCStringRepr__bindgen_ty_1 =
nsCStringRepr__bindgen_ty_1::F_SHARED;
pub const nsCStringRepr_F_OWNED:
root::mozilla::detail::nsCStringRepr__bindgen_ty_1 =
nsCStringRepr__bindgen_ty_1::F_OWNED;
pub const nsCStringRepr_F_FIXED:
root::mozilla::detail::nsCStringRepr__bindgen_ty_1 =
nsCStringRepr__bindgen_ty_1::F_FIXED;
pub const nsCStringRepr_F_LITERAL:
root::mozilla::detail::nsCStringRepr__bindgen_ty_1 =
nsCStringRepr__bindgen_ty_1::F_LITERAL;
pub const nsCStringRepr_F_CLASS_FIXED:
root::mozilla::detail::nsCStringRepr__bindgen_ty_1 =
nsCStringRepr__bindgen_ty_1::F_CLASS_FIXED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsCStringRepr__bindgen_ty_1 {
F_NONE = 0,
F_TERMINATED = 1,
F_VOIDED = 2,
F_SHARED = 4,
F_OWNED = 8,
F_FIXED = 16,
F_LITERAL = 32,
F_CLASS_FIXED = 65536,
}
#[test]
fn bindgen_test_layout_nsCStringRepr() {
assert_eq!(::std::mem::size_of::<nsCStringRepr>() , 16usize ,
concat ! (
"Size of: " , stringify ! ( nsCStringRepr ) ));
assert_eq! (::std::mem::align_of::<nsCStringRepr>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsCStringRepr )
));
assert_eq! (unsafe {
& ( * ( 0 as * const nsCStringRepr ) ) . mData as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
nsCStringRepr ) , "::" , stringify ! ( mData ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsCStringRepr ) ) . mLength
as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
nsCStringRepr ) , "::" , stringify ! ( mLength )
));
assert_eq! (unsafe {
& ( * ( 0 as * const nsCStringRepr ) ) . mFlags as
* const _ as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! (
nsCStringRepr ) , "::" , stringify ! ( mFlags )
));
}
impl Clone for nsCStringRepr {
fn clone(&self) -> Self { *self }
}
}
pub type MallocSizeOf =
::std::option::Option<unsafe extern "C" fn(p:
@ -1990,10 +2176,10 @@ pub mod root {
}
#[repr(C)]
pub struct FakeString {
pub mData: *mut root::nsAString_internal_char_type,
pub mLength: root::nsAString_internal_size_type,
pub mData: *mut root::mozilla::detail::nsStringRepr_char_type,
pub mLength: root::mozilla::detail::nsStringRepr_size_type,
pub mFlags: u32,
pub mInlineStorage: [root::nsAString_internal_char_type; 64usize],
pub mInlineStorage: [root::mozilla::detail::nsStringRepr_char_type; 64usize],
}
#[repr(C)]
#[derive(Debug)]
@ -2938,7 +3124,7 @@ pub mod root {
pub mPrefix: root::nsCOMPtr<root::nsIAtom>,
pub mNamespaceID: i32,
pub mNodeType: u16,
pub mNameString: *const root::nsAString_internal,
pub mNameString: *const root::nsAString,
pub mExtraName: root::nsCOMPtr<root::nsIAtom>,
}
#[test]
@ -4084,6 +4270,7 @@ pub mod root {
pub mRootBounds: root::RefPtr<root::mozilla::dom::DOMRect>,
pub mBoundingClientRect: root::RefPtr<root::mozilla::dom::DOMRect>,
pub mIntersectionRect: root::RefPtr<root::mozilla::dom::DOMRect>,
pub mIsIntersecting: bool,
pub mTarget: root::RefPtr<root::mozilla::dom::Element>,
pub mIntersectionRatio: f64,
}
@ -4118,7 +4305,7 @@ pub mod root {
#[test]
fn bindgen_test_layout_DOMIntersectionObserverEntry() {
assert_eq!(::std::mem::size_of::<DOMIntersectionObserverEntry>()
, 96usize , concat ! (
, 104usize , concat ! (
"Size of: " , stringify ! (
DOMIntersectionObserverEntry ) ));
assert_eq! (::std::mem::align_of::<DOMIntersectionObserverEntry>()
@ -7981,12 +8168,6 @@ pub mod root {
pub type pair_first_type<_T1> = _T1;
pub type pair_second_type<_T2> = _T2;
#[repr(C)]
pub struct atomic<_Tp> {
pub _base: (),
pub _phantom_0: ::std::marker::PhantomData<_Tp>,
}
pub type atomic___base = [u8; 0usize];
#[repr(C)]
#[derive(Debug, Copy)]
pub struct input_iterator_tag {
pub _address: u8,
@ -8005,62 +8186,6 @@ pub mod root {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct forward_iterator_tag {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_forward_iterator_tag() {
assert_eq!(::std::mem::size_of::<forward_iterator_tag>() , 1usize
, concat ! (
"Size of: " , stringify ! ( forward_iterator_tag ) ));
assert_eq! (::std::mem::align_of::<forward_iterator_tag>() ,
1usize , concat ! (
"Alignment of " , stringify ! ( forward_iterator_tag )
));
}
impl Clone for forward_iterator_tag {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct bidirectional_iterator_tag {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_bidirectional_iterator_tag() {
assert_eq!(::std::mem::size_of::<bidirectional_iterator_tag>() ,
1usize , concat ! (
"Size of: " , stringify ! ( bidirectional_iterator_tag
) ));
assert_eq! (::std::mem::align_of::<bidirectional_iterator_tag>() ,
1usize , concat ! (
"Alignment of " , stringify ! (
bidirectional_iterator_tag ) ));
}
impl Clone for bidirectional_iterator_tag {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct random_access_iterator_tag {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_random_access_iterator_tag() {
assert_eq!(::std::mem::size_of::<random_access_iterator_tag>() ,
1usize , concat ! (
"Size of: " , stringify ! ( random_access_iterator_tag
) ));
assert_eq! (::std::mem::align_of::<random_access_iterator_tag>() ,
1usize , concat ! (
"Alignment of " , stringify ! (
random_access_iterator_tag ) ));
}
impl Clone for random_access_iterator_tag {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct iterator<_Category, _Tp, _Distance, _Pointer, _Reference> {
pub _address: u8,
@ -8070,22 +8195,22 @@ pub mod root {
pub _phantom_3: ::std::marker::PhantomData<_Pointer>,
pub _phantom_4: ::std::marker::PhantomData<_Reference>,
}
pub type iterator_iterator_category<_Category> = _Category;
pub type iterator_value_type<_Tp> = _Tp;
pub type iterator_difference_type<_Distance> = _Distance;
pub type iterator_pointer<_Pointer> = _Pointer;
pub type iterator_reference<_Reference> = _Reference;
pub type iterator_iterator_category<_Category> = _Category;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __bit_const_reference<_Cp> {
pub __seg_: root::std::__bit_const_reference___storage_pointer<_Cp>,
pub __mask_: root::std::__bit_const_reference___storage_type<_Cp>,
#[derive(Debug)]
pub struct atomic<_Tp> {
pub _M_i: _Tp,
}
pub type __bit_const_reference___storage_type<_Cp> = _Cp;
pub type __bit_const_reference___storage_pointer<_Cp> = _Cp;
}
pub type __darwin_va_list = root::__builtin_va_list;
pub type va_list = root::__darwin_va_list;
pub mod __gnu_cxx {
#[allow(unused_imports)]
use self::super::super::root;
}
pub type va_list = root::__builtin_va_list;
/**
* MozRefCountType is Mozilla's reference count type.
*
@ -9422,92 +9547,21 @@ pub mod root {
JS_GENERIC_MAGIC = 16,
JS_WHY_MAGIC_COUNT = 17,
}
/**
* double-byte (char16_t) string types
*/
#[repr(C)]
#[derive(Debug)]
pub struct nsAString_internal {
pub mData: *mut root::nsAString_internal_char_type,
pub mLength: root::nsAString_internal_size_type,
pub mFlags: u32,
}
pub type nsAString_internal_fallible_t = root::mozilla::fallible_t;
pub type nsAString_internal_char_type = u16;
pub type nsAString_internal_self_type = root::nsAString_internal;
pub type nsAString_internal_abstract_string_type =
root::nsAString_internal_self_type;
pub type nsAString_internal_base_string_type =
root::nsAString_internal_self_type;
pub type nsAString_internal_substring_type =
root::nsAString_internal_self_type;
pub type nsAString_internal_substring_tuple_type = root::nsSubstringTuple;
pub type nsAString_internal_string_type = ::nsstring::nsStringRepr;
pub type nsAString_internal_const_iterator = root::nsReadingIterator<u16>;
pub type nsAString_internal_iterator = root::nsWritingIterator<u16>;
pub type nsAString_internal_comparator_type = root::nsStringComparator;
pub type nsAString_internal_char_iterator =
*mut root::nsAString_internal_char_type;
pub type nsAString_internal_const_char_iterator =
*const root::nsAString_internal_char_type;
pub type nsAString_internal_size_type = u32;
pub type nsAString_internal_index_type = u32;
pub const nsAString_internal_F_NONE:
root::nsAString_internal__bindgen_ty_1 =
nsAString_internal__bindgen_ty_1::F_NONE;
pub const nsAString_internal_F_TERMINATED:
root::nsAString_internal__bindgen_ty_1 =
nsAString_internal__bindgen_ty_1::F_TERMINATED;
pub const nsAString_internal_F_VOIDED:
root::nsAString_internal__bindgen_ty_1 =
nsAString_internal__bindgen_ty_1::F_VOIDED;
pub const nsAString_internal_F_SHARED:
root::nsAString_internal__bindgen_ty_1 =
nsAString_internal__bindgen_ty_1::F_SHARED;
pub const nsAString_internal_F_OWNED:
root::nsAString_internal__bindgen_ty_1 =
nsAString_internal__bindgen_ty_1::F_OWNED;
pub const nsAString_internal_F_FIXED:
root::nsAString_internal__bindgen_ty_1 =
nsAString_internal__bindgen_ty_1::F_FIXED;
pub const nsAString_internal_F_LITERAL:
root::nsAString_internal__bindgen_ty_1 =
nsAString_internal__bindgen_ty_1::F_LITERAL;
pub const nsAString_internal_F_CLASS_FIXED:
root::nsAString_internal__bindgen_ty_1 =
nsAString_internal__bindgen_ty_1::F_CLASS_FIXED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsAString_internal__bindgen_ty_1 {
F_NONE = 0,
F_TERMINATED = 1,
F_VOIDED = 2,
F_SHARED = 4,
F_OWNED = 8,
F_FIXED = 16,
F_LITERAL = 32,
F_CLASS_FIXED = 65536,
pub struct nsAString {
pub _base: root::mozilla::detail::nsStringRepr,
}
pub type nsAString_self_type = root::nsAString;
#[test]
fn bindgen_test_layout_nsAString_internal() {
assert_eq!(::std::mem::size_of::<nsAString_internal>() , 16usize ,
concat ! ( "Size of: " , stringify ! ( nsAString_internal )
));
assert_eq! (::std::mem::align_of::<nsAString_internal>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsAString_internal ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsAString_internal ) ) . mData as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( nsAString_internal
) , "::" , stringify ! ( mData ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsAString_internal ) ) . mLength as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( nsAString_internal
) , "::" , stringify ! ( mLength ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsAString_internal ) ) . mFlags as *
const _ as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! ( nsAString_internal
) , "::" , stringify ! ( mFlags ) ));
fn bindgen_test_layout_nsAString() {
assert_eq!(::std::mem::size_of::<nsAString>() , 16usize , concat ! (
"Size of: " , stringify ! ( nsAString ) ));
assert_eq! (::std::mem::align_of::<nsAString>() , 8usize , concat ! (
"Alignment of " , stringify ! ( nsAString ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
@ -9518,8 +9572,8 @@ pub mod root {
}
pub type nsSubstringTuple_char_type = u16;
pub type nsSubstringTuple_self_type = root::nsSubstringTuple;
pub type nsSubstringTuple_substring_type = root::nsAString_internal;
pub type nsSubstringTuple_base_string_type = root::nsAString_internal;
pub type nsSubstringTuple_base_string_type =
root::mozilla::detail::nsStringRepr;
pub type nsSubstringTuple_size_type = u32;
#[test]
fn bindgen_test_layout_nsSubstringTuple() {
@ -9551,7 +9605,7 @@ pub mod root {
#[repr(C)]
pub struct nsAutoString {
pub _base: root::nsFixedString,
pub mStorage: [root::nsAString_internal_char_type; 64usize],
pub mStorage: [root::mozilla::detail::nsStringRepr_char_type; 64usize],
}
pub type nsAutoString_self_type = root::nsAutoString;
pub const nsAutoString_kDefaultStorageSize:
@ -9575,7 +9629,7 @@ pub mod root {
#[repr(C)]
#[derive(Debug)]
pub struct nsDependentSubstring {
pub _base: root::nsAString_internal,
pub _base: root::nsAString,
}
pub type nsDependentSubstring_self_type = root::nsDependentSubstring;
#[test]
@ -9608,95 +9662,21 @@ pub mod root {
impl Clone for nsStringComparator {
fn clone(&self) -> Self { *self }
}
/**
* single-byte (char) string types
*/
#[repr(C)]
#[derive(Debug)]
pub struct nsACString_internal {
pub mData: *mut root::nsACString_internal_char_type,
pub mLength: root::nsACString_internal_size_type,
pub mFlags: u32,
}
pub type nsACString_internal_fallible_t = root::mozilla::fallible_t;
pub type nsACString_internal_char_type = ::std::os::raw::c_char;
pub type nsACString_internal_self_type = root::nsACString_internal;
pub type nsACString_internal_abstract_string_type =
root::nsACString_internal_self_type;
pub type nsACString_internal_base_string_type =
root::nsACString_internal_self_type;
pub type nsACString_internal_substring_type =
root::nsACString_internal_self_type;
pub type nsACString_internal_substring_tuple_type =
root::nsCSubstringTuple;
pub type nsACString_internal_string_type = root::nsCString;
pub type nsACString_internal_const_iterator =
root::nsReadingIterator<::std::os::raw::c_char>;
pub type nsACString_internal_iterator =
root::nsWritingIterator<::std::os::raw::c_char>;
pub type nsACString_internal_comparator_type = root::nsCStringComparator;
pub type nsACString_internal_char_iterator =
*mut root::nsACString_internal_char_type;
pub type nsACString_internal_const_char_iterator =
*const root::nsACString_internal_char_type;
pub type nsACString_internal_size_type = u32;
pub type nsACString_internal_index_type = u32;
pub const nsACString_internal_F_NONE:
root::nsACString_internal__bindgen_ty_1 =
nsACString_internal__bindgen_ty_1::F_NONE;
pub const nsACString_internal_F_TERMINATED:
root::nsACString_internal__bindgen_ty_1 =
nsACString_internal__bindgen_ty_1::F_TERMINATED;
pub const nsACString_internal_F_VOIDED:
root::nsACString_internal__bindgen_ty_1 =
nsACString_internal__bindgen_ty_1::F_VOIDED;
pub const nsACString_internal_F_SHARED:
root::nsACString_internal__bindgen_ty_1 =
nsACString_internal__bindgen_ty_1::F_SHARED;
pub const nsACString_internal_F_OWNED:
root::nsACString_internal__bindgen_ty_1 =
nsACString_internal__bindgen_ty_1::F_OWNED;
pub const nsACString_internal_F_FIXED:
root::nsACString_internal__bindgen_ty_1 =
nsACString_internal__bindgen_ty_1::F_FIXED;
pub const nsACString_internal_F_LITERAL:
root::nsACString_internal__bindgen_ty_1 =
nsACString_internal__bindgen_ty_1::F_LITERAL;
pub const nsACString_internal_F_CLASS_FIXED:
root::nsACString_internal__bindgen_ty_1 =
nsACString_internal__bindgen_ty_1::F_CLASS_FIXED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsACString_internal__bindgen_ty_1 {
F_NONE = 0,
F_TERMINATED = 1,
F_VOIDED = 2,
F_SHARED = 4,
F_OWNED = 8,
F_FIXED = 16,
F_LITERAL = 32,
F_CLASS_FIXED = 65536,
pub struct nsACString {
pub _base: root::mozilla::detail::nsCStringRepr,
}
pub type nsACString_self_type = root::nsACString;
#[test]
fn bindgen_test_layout_nsACString_internal() {
assert_eq!(::std::mem::size_of::<nsACString_internal>() , 16usize ,
concat ! (
"Size of: " , stringify ! ( nsACString_internal ) ));
assert_eq! (::std::mem::align_of::<nsACString_internal>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsACString_internal ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsACString_internal ) ) . mData as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( nsACString_internal
) , "::" , stringify ! ( mData ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsACString_internal ) ) . mLength as
* const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( nsACString_internal
) , "::" , stringify ! ( mLength ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsACString_internal ) ) . mFlags as *
const _ as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! ( nsACString_internal
) , "::" , stringify ! ( mFlags ) ));
fn bindgen_test_layout_nsACString() {
assert_eq!(::std::mem::size_of::<nsACString>() , 16usize , concat ! (
"Size of: " , stringify ! ( nsACString ) ));
assert_eq! (::std::mem::align_of::<nsACString>() , 8usize , concat ! (
"Alignment of " , stringify ! ( nsACString ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
@ -9707,8 +9687,8 @@ pub mod root {
}
pub type nsCSubstringTuple_char_type = ::std::os::raw::c_char;
pub type nsCSubstringTuple_self_type = root::nsCSubstringTuple;
pub type nsCSubstringTuple_substring_type = root::nsACString_internal;
pub type nsCSubstringTuple_base_string_type = root::nsACString_internal;
pub type nsCSubstringTuple_base_string_type =
root::mozilla::detail::nsCStringRepr;
pub type nsCSubstringTuple_size_type = u32;
#[test]
fn bindgen_test_layout_nsCSubstringTuple() {
@ -9740,7 +9720,7 @@ pub mod root {
#[repr(C)]
#[derive(Debug)]
pub struct nsCString {
pub _base: root::nsACString_internal,
pub _base: root::nsACString,
}
pub type nsCString_self_type = root::nsCString;
#[repr(C)]
@ -9781,7 +9761,7 @@ pub mod root {
#[repr(C)]
#[derive(Debug)]
pub struct nsDependentCSubstring {
pub _base: root::nsACString_internal,
pub _base: root::nsACString,
}
pub type nsDependentCSubstring_self_type = root::nsDependentCSubstring;
#[test]
@ -9818,7 +9798,7 @@ pub mod root {
/**
* typedefs for backwards compatibility
*/
pub type nsSubstring = root::nsAString_internal;
pub type nsSubstring = root::nsAString;
pub type nsAFlatCString = root::nsCString;
#[repr(C)]
pub struct nsISupports__bindgen_vtable {
@ -9954,16 +9934,16 @@ pub mod root {
#[repr(C)]
#[derive(Debug)]
pub struct nsSubstringSplitter {
pub mStr: *const root::nsAString_internal,
pub mStr: *const root::nsAString,
pub mArray: root::mozilla::UniquePtr<[root::nsDependentSubstring; 0usize],
root::mozilla::DefaultDelete<[root::nsDependentSubstring; 0usize]>>,
pub mArraySize: root::nsSubstringSplitter_size_type,
pub mDelim: root::nsSubstringSplitter_char_type,
}
pub type nsSubstringSplitter_size_type =
root::nsAString_internal_size_type;
root::mozilla::detail::nsStringRepr_size_type;
pub type nsSubstringSplitter_char_type =
root::nsAString_internal_char_type;
root::mozilla::detail::nsStringRepr_char_type;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsSubstringSplitter_nsTSubstringSplit_Iter {
@ -10032,16 +10012,16 @@ pub mod root {
#[repr(C)]
#[derive(Debug)]
pub struct nsCSubstringSplitter {
pub mStr: *const root::nsACString_internal,
pub mStr: *const root::nsACString,
pub mArray: root::mozilla::UniquePtr<[root::nsDependentCSubstring; 0usize],
root::mozilla::DefaultDelete<[root::nsDependentCSubstring; 0usize]>>,
pub mArraySize: root::nsCSubstringSplitter_size_type,
pub mDelim: root::nsCSubstringSplitter_char_type,
}
pub type nsCSubstringSplitter_size_type =
root::nsACString_internal_size_type;
root::mozilla::detail::nsCStringRepr_size_type;
pub type nsCSubstringSplitter_char_type =
root::nsACString_internal_char_type;
root::mozilla::detail::nsCStringRepr_char_type;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCSubstringSplitter_nsTSubstringSplit_Iter {
@ -10112,8 +10092,8 @@ pub mod root {
#[derive(Debug)]
pub struct nsFixedString {
pub _base: ::nsstring::nsStringRepr,
pub mFixedCapacity: root::nsAString_internal_size_type,
pub mFixedBuf: *mut root::nsAString_internal_char_type,
pub mFixedCapacity: root::mozilla::detail::nsStringRepr_size_type,
pub mFixedBuf: *mut root::mozilla::detail::nsStringRepr_char_type,
}
pub type nsFixedString_self_type = root::nsFixedString;
pub type nsFixedString_fixed_string_type = root::nsFixedString;
@ -15088,63 +15068,63 @@ pub mod root {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsDOMMutationObserver([u8; 0]);
pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_HAS_LISTENERMANAGER;
pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_HAS_PROPERTIES;
pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_IS_ANONYMOUS_ROOT;
pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_IS_NATIVE_ANONYMOUS_ROOT;
pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_FORCE_XBL_BINDINGS;
pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_MAY_BE_IN_BINDING_MNGR;
pub const NODE_IS_EDITABLE: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_IS_EDITABLE;
pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_IS_NATIVE_ANONYMOUS;
pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_IS_IN_SHADOW_TREE;
pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_HAS_EMPTY_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_HAS_SLOW_SELECTOR;
pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_HAS_EDGE_CHILD_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_ALL_SELECTOR_FLAGS;
pub const NODE_NEEDS_FRAME: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_NEEDS_FRAME;
pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_DESCENDANTS_NEED_FRAMES;
pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_HAS_ACCESSKEY;
pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_HAS_DIRECTION_RTL;
pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_HAS_DIRECTION_LTR;
pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_ALL_DIRECTION_FLAGS;
pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_CHROME_ONLY_ACCESS;
pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_2;
pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_28 =
_bindgen_ty_28::NODE_TYPE_SPECIFIC_BITS_OFFSET;
pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_HAS_LISTENERMANAGER;
pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_HAS_PROPERTIES;
pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_IS_ANONYMOUS_ROOT;
pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_IS_NATIVE_ANONYMOUS_ROOT;
pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_FORCE_XBL_BINDINGS;
pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_MAY_BE_IN_BINDING_MNGR;
pub const NODE_IS_EDITABLE: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_IS_EDITABLE;
pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_IS_NATIVE_ANONYMOUS;
pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_IS_IN_SHADOW_TREE;
pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_HAS_EMPTY_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_HAS_SLOW_SELECTOR;
pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_HAS_EDGE_CHILD_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_ALL_SELECTOR_FLAGS;
pub const NODE_NEEDS_FRAME: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_NEEDS_FRAME;
pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_DESCENDANTS_NEED_FRAMES;
pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_HAS_ACCESSKEY;
pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_HAS_DIRECTION_RTL;
pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_HAS_DIRECTION_LTR;
pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_ALL_DIRECTION_FLAGS;
pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_CHROME_ONLY_ACCESS;
pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_SHARED_RESTYLE_BIT_2;
pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_105 =
_bindgen_ty_105::NODE_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_28 {
pub enum _bindgen_ty_105 {
NODE_HAS_LISTENERMANAGER = 4,
NODE_HAS_PROPERTIES = 8,
NODE_IS_ANONYMOUS_ROOT = 16,