Regen bindings

This commit is contained in:
Manish Goregaokar 2016-09-30 20:20:26 +05:30
parent fa06b922c7
commit b6fccbf65c
3 changed files with 2857 additions and 2857 deletions

View file

@ -1501,8 +1501,8 @@ pub enum JSWhyMagic {
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct jsval_layout { pub struct jsval_layout {
pub asBits: __BindgenUnionField<u64>, pub asBits: __BindgenUnionField<u64>,
pub debugView: __BindgenUnionField<jsval_layout__bindgen_ty_bindgen_id_61754>, pub debugView: __BindgenUnionField<jsval_layout__bindgen_ty_bindgen_id_61756>,
pub s: __BindgenUnionField<jsval_layout__bindgen_ty_bindgen_id_61761>, pub s: __BindgenUnionField<jsval_layout__bindgen_ty_bindgen_id_61763>,
pub asDouble: __BindgenUnionField<f64>, pub asDouble: __BindgenUnionField<f64>,
pub asPtr: __BindgenUnionField<*mut ::std::os::raw::c_void>, pub asPtr: __BindgenUnionField<*mut ::std::os::raw::c_void>,
pub asWord: __BindgenUnionField<usize>, pub asWord: __BindgenUnionField<usize>,
@ -1511,20 +1511,20 @@ pub struct jsval_layout {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct jsval_layout__bindgen_ty_bindgen_id_61754 { pub struct jsval_layout__bindgen_ty_bindgen_id_61756 {
pub _bitfield_1: u64, pub _bitfield_1: u64,
} }
#[test] #[test]
fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_61754() { fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_61756() {
assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_61754>() assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_61756>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_61754>() assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_61756>()
, 8usize); , 8usize);
} }
impl Clone for jsval_layout__bindgen_ty_bindgen_id_61754 { impl Clone for jsval_layout__bindgen_ty_bindgen_id_61756 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
impl jsval_layout__bindgen_ty_bindgen_id_61754 { impl jsval_layout__bindgen_ty_bindgen_id_61756 {
#[inline] #[inline]
pub fn payload47(&self) -> u64 { pub fn payload47(&self) -> u64 {
unsafe { unsafe {
@ -1557,36 +1557,36 @@ impl jsval_layout__bindgen_ty_bindgen_id_61754 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct jsval_layout__bindgen_ty_bindgen_id_61761 { pub struct jsval_layout__bindgen_ty_bindgen_id_61763 {
pub payload: jsval_layout__bindgen_ty_bindgen_id_61761__bindgen_ty_bindgen_id_61762, pub payload: jsval_layout__bindgen_ty_bindgen_id_61763__bindgen_ty_bindgen_id_61764,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct jsval_layout__bindgen_ty_bindgen_id_61761__bindgen_ty_bindgen_id_61762 { pub struct jsval_layout__bindgen_ty_bindgen_id_61763__bindgen_ty_bindgen_id_61764 {
pub i32: __BindgenUnionField<i32>, pub i32: __BindgenUnionField<i32>,
pub u32: __BindgenUnionField<u32>, pub u32: __BindgenUnionField<u32>,
pub why: __BindgenUnionField<JSWhyMagic>, pub why: __BindgenUnionField<JSWhyMagic>,
pub bindgen_union_field: u32, pub bindgen_union_field: u32,
} }
#[test] #[test]
fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_61761__bindgen_ty_bindgen_id_61762() { fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_61763__bindgen_ty_bindgen_id_61764() {
assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_61761__bindgen_ty_bindgen_id_61762>() assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_61763__bindgen_ty_bindgen_id_61764>()
, 4usize); , 4usize);
assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_61761__bindgen_ty_bindgen_id_61762>() assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_61763__bindgen_ty_bindgen_id_61764>()
, 4usize); , 4usize);
} }
impl Clone for impl Clone for
jsval_layout__bindgen_ty_bindgen_id_61761__bindgen_ty_bindgen_id_61762 { jsval_layout__bindgen_ty_bindgen_id_61763__bindgen_ty_bindgen_id_61764 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_61761() { fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_61763() {
assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_61761>() assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_61763>()
, 4usize); , 4usize);
assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_61761>() assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_61763>()
, 4usize); , 4usize);
} }
impl Clone for jsval_layout__bindgen_ty_bindgen_id_61761 { impl Clone for jsval_layout__bindgen_ty_bindgen_id_61763 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
impl Clone for jsval_layout { impl Clone for jsval_layout {
@ -1620,7 +1620,7 @@ pub type nsAString_internal_size_type = u32;
pub type nsAString_internal_index_type = u32; pub type nsAString_internal_index_type = u32;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsAString_internal__bindgen_ty_bindgen_id_63599 { pub enum nsAString_internal__bindgen_ty_bindgen_id_63601 {
F_NONE = 0, F_NONE = 0,
F_TERMINATED = 1, F_TERMINATED = 1,
F_VOIDED = 2, F_VOIDED = 2,
@ -1682,12 +1682,12 @@ fn bindgen_test_layout_nsString() {
assert_eq!(::std::mem::align_of::<nsString>() , 8usize); assert_eq!(::std::mem::align_of::<nsString>() , 8usize);
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_64209 { pub struct bindgen_vtable__bindgen_id_64211 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStringComparator { pub struct nsStringComparator {
pub vtable_: *const bindgen_vtable__bindgen_id_64209, pub vtable_: *const bindgen_vtable__bindgen_id_64211,
} }
pub type nsStringComparator_char_type = u16; pub type nsStringComparator_char_type = u16;
#[test] #[test]
@ -1729,7 +1729,7 @@ pub type nsACString_internal_size_type = u32;
pub type nsACString_internal_index_type = u32; pub type nsACString_internal_index_type = u32;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsACString_internal__bindgen_ty_bindgen_id_65439 { pub enum nsACString_internal__bindgen_ty_bindgen_id_65441 {
F_NONE = 0, F_NONE = 0,
F_TERMINATED = 1, F_TERMINATED = 1,
F_VOIDED = 2, F_VOIDED = 2,
@ -1791,12 +1791,12 @@ fn bindgen_test_layout_nsCString() {
assert_eq!(::std::mem::align_of::<nsCString>() , 8usize); assert_eq!(::std::mem::align_of::<nsCString>() , 8usize);
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_65991 { pub struct bindgen_vtable__bindgen_id_65993 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsCStringComparator { pub struct nsCStringComparator {
pub vtable_: *const bindgen_vtable__bindgen_id_65991, pub vtable_: *const bindgen_vtable__bindgen_id_65993,
} }
pub type nsCStringComparator_char_type = ::std::os::raw::c_char; pub type nsCStringComparator_char_type = ::std::os::raw::c_char;
#[test] #[test]
@ -1808,7 +1808,7 @@ impl Clone for nsCStringComparator {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_66035 { pub struct bindgen_vtable__bindgen_id_66037 {
} }
/** /**
* Basic component object model interface. Objects which implement * Basic component object model interface. Objects which implement
@ -1819,7 +1819,7 @@ pub struct bindgen_vtable__bindgen_id_66035 {
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsISupports { pub struct nsISupports {
pub vtable_: *const bindgen_vtable__bindgen_id_66035, pub vtable_: *const bindgen_vtable__bindgen_id_66037,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
@ -1837,7 +1837,7 @@ impl Clone for nsISupports {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_66318 { pub struct bindgen_vtable__bindgen_id_66320 {
} }
/** /**
* Participant implementation classes * Participant implementation classes
@ -1845,7 +1845,7 @@ pub struct bindgen_vtable__bindgen_id_66318 {
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsCycleCollectionParticipant { pub struct nsCycleCollectionParticipant {
pub vtable_: *const bindgen_vtable__bindgen_id_66318, pub vtable_: *const bindgen_vtable__bindgen_id_66320,
pub mMightSkip: bool, pub mMightSkip: bool,
} }
#[test] #[test]
@ -2154,7 +2154,7 @@ fn bindgen_test_layout_ErrorResult() {
#[derive(Debug)] #[derive(Debug)]
pub struct TErrorResult<CleanupPolicy> { pub struct TErrorResult<CleanupPolicy> {
pub mResult: nsresult, pub mResult: nsresult,
pub __bindgen_anon_1: TErrorResult__bindgen_ty_bindgen_id_73811<CleanupPolicy>, pub __bindgen_anon_1: TErrorResult__bindgen_ty_bindgen_id_73813<CleanupPolicy>,
pub mMightHaveUnreportedJSException: bool, pub mMightHaveUnreportedJSException: bool,
pub mUnionState: TErrorResult_UnionState, pub mUnionState: TErrorResult_UnionState,
pub _mOwningThread: nsAutoOwningThread, pub _mOwningThread: nsAutoOwningThread,
@ -2184,7 +2184,7 @@ pub struct TErrorResult_DOMExceptionInfo<CleanupPolicy> {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct TErrorResult__bindgen_ty_bindgen_id_73811<CleanupPolicy> { pub struct TErrorResult__bindgen_ty_bindgen_id_73813<CleanupPolicy> {
pub mMessage: __BindgenUnionField<*mut TErrorResult_Message<CleanupPolicy>>, pub mMessage: __BindgenUnionField<*mut TErrorResult_Message<CleanupPolicy>>,
pub mJSException: __BindgenUnionField<Value>, pub mJSException: __BindgenUnionField<Value>,
pub mDOMExceptionInfo: __BindgenUnionField<*mut TErrorResult_DOMExceptionInfo<CleanupPolicy>>, pub mDOMExceptionInfo: __BindgenUnionField<*mut TErrorResult_DOMExceptionInfo<CleanupPolicy>>,
@ -2331,7 +2331,7 @@ impl nsIAtom {
} }
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_74798 { pub struct bindgen_vtable__bindgen_id_74800 {
} }
/** /**
* Class to store the wrapper for an object. This can only be used with objects * Class to store the wrapper for an object. This can only be used with objects
@ -2373,7 +2373,7 @@ pub struct bindgen_vtable__bindgen_id_74798 {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsWrapperCache { pub struct nsWrapperCache {
pub vtable_: *const bindgen_vtable__bindgen_id_74798, pub vtable_: *const bindgen_vtable__bindgen_id_74800,
pub mWrapper: *mut JSObject, pub mWrapper: *mut JSObject,
pub mFlags: nsWrapperCache_FlagsType, pub mFlags: nsWrapperCache_FlagsType,
} }
@ -2398,7 +2398,7 @@ pub type nsWrapperCache_FlagsType = u32;
* NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER). * NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER).
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsWrapperCache__bindgen_ty_bindgen_id_75005 { pub enum nsWrapperCache__bindgen_ty_bindgen_id_75007 {
WRAPPER_BIT_PRESERVED = 1, WRAPPER_BIT_PRESERVED = 1,
} }
#[repr(u32)] #[repr(u32)]
@ -2407,12 +2407,12 @@ pub enum nsWrapperCache__bindgen_ty_bindgen_id_75005 {
* binding. * binding.
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsWrapperCache__bindgen_ty_bindgen_id_75008 { pub enum nsWrapperCache__bindgen_ty_bindgen_id_75010 {
WRAPPER_IS_NOT_DOM_BINDING = 2, WRAPPER_IS_NOT_DOM_BINDING = 2,
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsWrapperCache__bindgen_ty_bindgen_id_75011 { pub enum nsWrapperCache__bindgen_ty_bindgen_id_75013 {
kWrapperFlagsMask = 3, kWrapperFlagsMask = 3,
} }
#[test] #[test]
@ -2521,7 +2521,7 @@ impl Clone for random_access_iterator_tag {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_94640 { pub struct bindgen_vtable__bindgen_id_94642 {
} }
/** /**
* A class of objects that return source code on demand. * A class of objects that return source code on demand.
@ -2537,7 +2537,7 @@ pub struct bindgen_vtable__bindgen_id_94640 {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct SourceHook { pub struct SourceHook {
pub vtable_: *const bindgen_vtable__bindgen_id_94640, pub vtable_: *const bindgen_vtable__bindgen_id_94642,
} }
#[test] #[test]
fn bindgen_test_layout_SourceHook() { fn bindgen_test_layout_SourceHook() {
@ -2558,7 +2558,7 @@ pub struct nsIPrincipal_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPrincipal__bindgen_ty_bindgen_id_100105 { pub enum nsIPrincipal__bindgen_ty_bindgen_id_100107 {
APP_STATUS_NOT_INSTALLED = 0, APP_STATUS_NOT_INSTALLED = 0,
APP_STATUS_INSTALLED = 1, APP_STATUS_INSTALLED = 1,
APP_STATUS_PRIVILEGED = 2, APP_STATUS_PRIVILEGED = 2,
@ -2881,7 +2881,7 @@ pub type nsIDocument_FrameRequestCallbackList =
nsTArray<RefPtr<FrameRequestCallback>>; nsTArray<RefPtr<FrameRequestCallback>>;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDocument__bindgen_ty_bindgen_id_108835 { REQUEST_DISCARD = 1, } pub enum nsIDocument__bindgen_ty_bindgen_id_108837 { REQUEST_DISCARD = 1, }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDocument_DeprecatedOperations { pub enum nsIDocument_DeprecatedOperations {
@ -3572,7 +3572,7 @@ pub struct nsINode {
pub mNextSibling: *mut nsIContent, pub mNextSibling: *mut nsIContent,
pub mPreviousSibling: *mut nsIContent, pub mPreviousSibling: *mut nsIContent,
pub mFirstChild: *mut nsIContent, pub mFirstChild: *mut nsIContent,
pub __bindgen_anon_1: nsINode__bindgen_ty_bindgen_id_105524, pub __bindgen_anon_1: nsINode__bindgen_ty_bindgen_id_105526,
pub mSlots: *mut nsINode_nsSlots, pub mSlots: *mut nsINode_nsSlots,
pub mServoData: ServoCell<*mut ServoNodeData>, pub mServoData: ServoCell<*mut ServoNodeData>,
} }
@ -3597,7 +3597,7 @@ pub struct nsINode_COMTypeInfo<T, U> {
* Bit-flags to pass (or'ed together) to IsNodeOfType() * Bit-flags to pass (or'ed together) to IsNodeOfType()
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsINode__bindgen_ty_bindgen_id_101649 { pub enum nsINode__bindgen_ty_bindgen_id_101651 {
eCONTENT = 1, eCONTENT = 1,
eDOCUMENT = 2, eDOCUMENT = 2,
eATTRIBUTE = 4, eATTRIBUTE = 4,
@ -3612,12 +3612,12 @@ pub enum nsINode__bindgen_ty_bindgen_id_101649 {
eFILTER = 2048, eFILTER = 2048,
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_102418 { pub struct bindgen_vtable__bindgen_id_102420 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsINode_nsSlots { pub struct nsINode_nsSlots {
pub vtable_: *const bindgen_vtable__bindgen_id_102418, pub vtable_: *const bindgen_vtable__bindgen_id_102420,
/** /**
* A list of mutation observers * A list of mutation observers
*/ */
@ -3686,19 +3686,19 @@ pub enum nsINode_BooleanFlag {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsINode__bindgen_ty_bindgen_id_105524 { pub struct nsINode__bindgen_ty_bindgen_id_105526 {
pub mPrimaryFrame: __BindgenUnionField<*mut nsIFrame>, pub mPrimaryFrame: __BindgenUnionField<*mut nsIFrame>,
pub mSubtreeRoot: __BindgenUnionField<*mut nsINode>, pub mSubtreeRoot: __BindgenUnionField<*mut nsINode>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsINode__bindgen_ty_bindgen_id_105524() { fn bindgen_test_layout_nsINode__bindgen_ty_bindgen_id_105526() {
assert_eq!(::std::mem::size_of::<nsINode__bindgen_ty_bindgen_id_105524>() assert_eq!(::std::mem::size_of::<nsINode__bindgen_ty_bindgen_id_105526>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsINode__bindgen_ty_bindgen_id_105524>() assert_eq!(::std::mem::align_of::<nsINode__bindgen_ty_bindgen_id_105526>()
, 8usize); , 8usize);
} }
impl Clone for nsINode__bindgen_ty_bindgen_id_105524 { impl Clone for nsINode__bindgen_ty_bindgen_id_105526 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -4051,7 +4051,7 @@ pub struct nsIDOMNode_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDOMNode__bindgen_ty_bindgen_id_113686 { pub enum nsIDOMNode__bindgen_ty_bindgen_id_113688 {
ELEMENT_NODE = 1, ELEMENT_NODE = 1,
ATTRIBUTE_NODE = 2, ATTRIBUTE_NODE = 2,
TEXT_NODE = 3, TEXT_NODE = 3,
@ -4067,7 +4067,7 @@ pub enum nsIDOMNode__bindgen_ty_bindgen_id_113686 {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDOMNode__bindgen_ty_bindgen_id_113905 { pub enum nsIDOMNode__bindgen_ty_bindgen_id_113907 {
DOCUMENT_POSITION_DISCONNECTED = 1, DOCUMENT_POSITION_DISCONNECTED = 1,
DOCUMENT_POSITION_PRECEDING = 2, DOCUMENT_POSITION_PRECEDING = 2,
DOCUMENT_POSITION_FOLLOWING = 4, DOCUMENT_POSITION_FOLLOWING = 4,
@ -5188,7 +5188,7 @@ pub type nsPtrHashKey_KeyType<T> = *mut T;
pub type nsPtrHashKey_KeyTypePointer<T> = *mut T; pub type nsPtrHashKey_KeyTypePointer<T> = *mut T;
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsPtrHashKey__bindgen_ty_bindgen_id_118429 { ALLOW_MEMMOVE = 0, } pub enum nsPtrHashKey__bindgen_ty_bindgen_id_118431 { ALLOW_MEMMOVE = 0, }
/** /**
* A node of content in a document's content model. This interface * A node of content in a document's content model. This interface
* is supported by all content objects. * is supported by all content objects.
@ -5208,14 +5208,14 @@ pub struct nsIContent_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIContent__bindgen_ty_bindgen_id_119769 { pub enum nsIContent__bindgen_ty_bindgen_id_119771 {
eAllChildren = 0, eAllChildren = 0,
eAllButXBL = 1, eAllButXBL = 1,
eSkipPlaceholderContent = 2, eSkipPlaceholderContent = 2,
} }
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIContent__bindgen_ty_bindgen_id_120005 { pub enum nsIContent__bindgen_ty_bindgen_id_120007 {
ATTR_MISSING = -1, ATTR_MISSING = -1,
ATTR_VALUE_NO_MATCH = -2, ATTR_VALUE_NO_MATCH = -2,
} }
@ -5421,7 +5421,7 @@ pub struct FragmentOrElement_nsDOMSlots {
* @see FragmentOrElement::GetAttributes * @see FragmentOrElement::GetAttributes
*/ */
pub mAttributeMap: RefPtr<nsDOMAttributeMap>, pub mAttributeMap: RefPtr<nsDOMAttributeMap>,
pub __bindgen_anon_1: FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121136, pub __bindgen_anon_1: FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121138,
/** /**
* An object implementing the .children property for this element. * An object implementing the .children property for this element.
*/ */
@ -5458,7 +5458,7 @@ pub struct FragmentOrElement_nsDOMSlots {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121136 { pub struct FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121138 {
/** /**
* The nearest enclosing content node with a binding that created us. * The nearest enclosing content node with a binding that created us.
* @see FragmentOrElement::GetBindingParent * @see FragmentOrElement::GetBindingParent
@ -5471,13 +5471,13 @@ pub struct FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121136 {
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121136() { fn bindgen_test_layout_FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121138() {
assert_eq!(::std::mem::size_of::<FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121136>() assert_eq!(::std::mem::size_of::<FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121138>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121136>() assert_eq!(::std::mem::align_of::<FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121138>()
, 8usize); , 8usize);
} }
impl Clone for FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121136 { impl Clone for FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_121138 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -5549,7 +5549,7 @@ pub struct nsIChannel_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIChannel__bindgen_ty_bindgen_id_138647 { pub enum nsIChannel__bindgen_ty_bindgen_id_138649 {
LOAD_DOCUMENT_URI = 65536, LOAD_DOCUMENT_URI = 65536,
LOAD_RETARGETED_DOCUMENT_URI = 131072, LOAD_RETARGETED_DOCUMENT_URI = 131072,
LOAD_REPLACE = 262144, LOAD_REPLACE = 262144,
@ -5563,7 +5563,7 @@ pub enum nsIChannel__bindgen_ty_bindgen_id_138647 {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIChannel__bindgen_ty_bindgen_id_138667 { pub enum nsIChannel__bindgen_ty_bindgen_id_138669 {
DISPOSITION_INLINE = 0, DISPOSITION_INLINE = 0,
DISPOSITION_ATTACHMENT = 1, DISPOSITION_ATTACHMENT = 1,
} }
@ -5589,7 +5589,7 @@ pub struct nsIRequest_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIRequest__bindgen_ty_bindgen_id_138485 { pub enum nsIRequest__bindgen_ty_bindgen_id_138487 {
LOAD_REQUESTMASK = 65535, LOAD_REQUESTMASK = 65535,
LOAD_NORMAL = 0, LOAD_NORMAL = 0,
LOAD_BACKGROUND = 1, LOAD_BACKGROUND = 1,
@ -6144,13 +6144,13 @@ pub enum nsIPresShell_ReflowRootHandling {
eNoPositionOrSizeChange = 1, eNoPositionOrSizeChange = 1,
eInferFromBitToAdd = 2, eInferFromBitToAdd = 2,
} }
pub const SCROLL_LEFT: nsIPresShell__bindgen_ty_bindgen_id_156516 = pub const SCROLL_LEFT: nsIPresShell__bindgen_ty_bindgen_id_156518 =
nsIPresShell__bindgen_ty_bindgen_id_156516::SCROLL_TOP; nsIPresShell__bindgen_ty_bindgen_id_156518::SCROLL_TOP;
pub const SCROLL_RIGHT: nsIPresShell__bindgen_ty_bindgen_id_156516 = pub const SCROLL_RIGHT: nsIPresShell__bindgen_ty_bindgen_id_156518 =
nsIPresShell__bindgen_ty_bindgen_id_156516::SCROLL_BOTTOM; nsIPresShell__bindgen_ty_bindgen_id_156518::SCROLL_BOTTOM;
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_156516 { pub enum nsIPresShell__bindgen_ty_bindgen_id_156518 {
SCROLL_TOP = 0, SCROLL_TOP = 0,
SCROLL_BOTTOM = 100, SCROLL_BOTTOM = 100,
SCROLL_CENTER = 50, SCROLL_CENTER = 50,
@ -6178,7 +6178,7 @@ impl Clone for nsIPresShell_ScrollAxis {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_156547 { pub enum nsIPresShell__bindgen_ty_bindgen_id_156549 {
SCROLL_FIRST_ANCESTOR_ONLY = 1, SCROLL_FIRST_ANCESTOR_ONLY = 1,
SCROLL_OVERFLOW_HIDDEN = 2, SCROLL_OVERFLOW_HIDDEN = 2,
SCROLL_NO_PARENT_FRAMES = 4, SCROLL_NO_PARENT_FRAMES = 4,
@ -6225,7 +6225,7 @@ pub enum nsIPresShell__bindgen_ty_bindgen_id_156547 {
* transform. * transform.
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_157000 { pub enum nsIPresShell__bindgen_ty_bindgen_id_157002 {
RENDER_IS_UNTRUSTED = 1, RENDER_IS_UNTRUSTED = 1,
RENDER_IGNORE_VIEWPORT_SCROLLING = 2, RENDER_IGNORE_VIEWPORT_SCROLLING = 2,
RENDER_CARET = 4, RENDER_CARET = 4,
@ -6236,7 +6236,7 @@ pub enum nsIPresShell__bindgen_ty_bindgen_id_157000 {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_157018 { pub enum nsIPresShell__bindgen_ty_bindgen_id_157020 {
RENDER_IS_IMAGE = 256, RENDER_IS_IMAGE = 256,
RENDER_AUTO_SCALE = 128, RENDER_AUTO_SCALE = 128,
} }
@ -6249,7 +6249,7 @@ pub enum nsIPresShell__bindgen_ty_bindgen_id_157018 {
* transparent by default. * transparent by default.
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_157141 { FORCE_DRAW = 1, } pub enum nsIPresShell__bindgen_ty_bindgen_id_157143 { FORCE_DRAW = 1, }
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsIPresShell_PointerCaptureInfo { pub struct nsIPresShell_PointerCaptureInfo {
@ -6636,67 +6636,67 @@ pub struct DOMPointInit {
impl Clone for DOMPointInit { impl Clone for DOMPointInit {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
pub const NODE_HAS_LISTENERMANAGER: _bindgen_ty_bindgen_id_158562 = pub const NODE_HAS_LISTENERMANAGER: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_HAS_LISTENERMANAGER; _bindgen_ty_bindgen_id_158564::NODE_HAS_LISTENERMANAGER;
pub const NODE_HAS_PROPERTIES: _bindgen_ty_bindgen_id_158562 = pub const NODE_HAS_PROPERTIES: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_HAS_PROPERTIES; _bindgen_ty_bindgen_id_158564::NODE_HAS_PROPERTIES;
pub const NODE_IS_ANONYMOUS_ROOT: _bindgen_ty_bindgen_id_158562 = pub const NODE_IS_ANONYMOUS_ROOT: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_IS_ANONYMOUS_ROOT; _bindgen_ty_bindgen_id_158564::NODE_IS_ANONYMOUS_ROOT;
pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: _bindgen_ty_bindgen_id_158562 = pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; _bindgen_ty_bindgen_id_158564::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: _bindgen_ty_bindgen_id_158562 = pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_IS_NATIVE_ANONYMOUS_ROOT; _bindgen_ty_bindgen_id_158564::NODE_IS_NATIVE_ANONYMOUS_ROOT;
pub const NODE_FORCE_XBL_BINDINGS: _bindgen_ty_bindgen_id_158562 = pub const NODE_FORCE_XBL_BINDINGS: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_FORCE_XBL_BINDINGS; _bindgen_ty_bindgen_id_158564::NODE_FORCE_XBL_BINDINGS;
pub const NODE_MAY_BE_IN_BINDING_MNGR: _bindgen_ty_bindgen_id_158562 = pub const NODE_MAY_BE_IN_BINDING_MNGR: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_MAY_BE_IN_BINDING_MNGR; _bindgen_ty_bindgen_id_158564::NODE_MAY_BE_IN_BINDING_MNGR;
pub const NODE_IS_EDITABLE: _bindgen_ty_bindgen_id_158562 = pub const NODE_IS_EDITABLE: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_IS_EDITABLE; _bindgen_ty_bindgen_id_158564::NODE_IS_EDITABLE;
pub const NODE_MAY_HAVE_CLASS: _bindgen_ty_bindgen_id_158562 = pub const NODE_MAY_HAVE_CLASS: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_MAY_HAVE_CLASS; _bindgen_ty_bindgen_id_158564::NODE_MAY_HAVE_CLASS;
pub const NODE_IS_IN_SHADOW_TREE: _bindgen_ty_bindgen_id_158562 = pub const NODE_IS_IN_SHADOW_TREE: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_IS_IN_SHADOW_TREE; _bindgen_ty_bindgen_id_158564::NODE_IS_IN_SHADOW_TREE;
pub const NODE_HAS_EMPTY_SELECTOR: _bindgen_ty_bindgen_id_158562 = pub const NODE_HAS_EMPTY_SELECTOR: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_HAS_EMPTY_SELECTOR; _bindgen_ty_bindgen_id_158564::NODE_HAS_EMPTY_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR: _bindgen_ty_bindgen_id_158562 = pub const NODE_HAS_SLOW_SELECTOR: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_HAS_SLOW_SELECTOR; _bindgen_ty_bindgen_id_158564::NODE_HAS_SLOW_SELECTOR;
pub const NODE_HAS_EDGE_CHILD_SELECTOR: _bindgen_ty_bindgen_id_158562 = pub const NODE_HAS_EDGE_CHILD_SELECTOR: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_HAS_EDGE_CHILD_SELECTOR; _bindgen_ty_bindgen_id_158564::NODE_HAS_EDGE_CHILD_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: _bindgen_ty_bindgen_id_158562 pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: _bindgen_ty_bindgen_id_158564
= =
_bindgen_ty_bindgen_id_158562::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; _bindgen_ty_bindgen_id_158564::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
pub const NODE_ALL_SELECTOR_FLAGS: _bindgen_ty_bindgen_id_158562 = pub const NODE_ALL_SELECTOR_FLAGS: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_ALL_SELECTOR_FLAGS; _bindgen_ty_bindgen_id_158564::NODE_ALL_SELECTOR_FLAGS;
pub const NODE_NEEDS_FRAME: _bindgen_ty_bindgen_id_158562 = pub const NODE_NEEDS_FRAME: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_NEEDS_FRAME; _bindgen_ty_bindgen_id_158564::NODE_NEEDS_FRAME;
pub const NODE_DESCENDANTS_NEED_FRAMES: _bindgen_ty_bindgen_id_158562 = pub const NODE_DESCENDANTS_NEED_FRAMES: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_DESCENDANTS_NEED_FRAMES; _bindgen_ty_bindgen_id_158564::NODE_DESCENDANTS_NEED_FRAMES;
pub const NODE_HAS_ACCESSKEY: _bindgen_ty_bindgen_id_158562 = pub const NODE_HAS_ACCESSKEY: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_HAS_ACCESSKEY; _bindgen_ty_bindgen_id_158564::NODE_HAS_ACCESSKEY;
pub const NODE_HAS_DIRECTION_RTL: _bindgen_ty_bindgen_id_158562 = pub const NODE_HAS_DIRECTION_RTL: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_HAS_DIRECTION_RTL; _bindgen_ty_bindgen_id_158564::NODE_HAS_DIRECTION_RTL;
pub const NODE_HAS_DIRECTION_LTR: _bindgen_ty_bindgen_id_158562 = pub const NODE_HAS_DIRECTION_LTR: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_HAS_DIRECTION_LTR; _bindgen_ty_bindgen_id_158564::NODE_HAS_DIRECTION_LTR;
pub const NODE_ALL_DIRECTION_FLAGS: _bindgen_ty_bindgen_id_158562 = pub const NODE_ALL_DIRECTION_FLAGS: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_ALL_DIRECTION_FLAGS; _bindgen_ty_bindgen_id_158564::NODE_ALL_DIRECTION_FLAGS;
pub const NODE_CHROME_ONLY_ACCESS: _bindgen_ty_bindgen_id_158562 = pub const NODE_CHROME_ONLY_ACCESS: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_CHROME_ONLY_ACCESS; _bindgen_ty_bindgen_id_158564::NODE_CHROME_ONLY_ACCESS;
pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: _bindgen_ty_bindgen_id_158562 = pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; _bindgen_ty_bindgen_id_158564::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
pub const NODE_SHARED_RESTYLE_BIT_1: _bindgen_ty_bindgen_id_158562 = pub const NODE_SHARED_RESTYLE_BIT_1: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_SHARED_RESTYLE_BIT_1; _bindgen_ty_bindgen_id_158564::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_SHARED_RESTYLE_BIT_2: _bindgen_ty_bindgen_id_158562 = pub const NODE_SHARED_RESTYLE_BIT_2: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_SHARED_RESTYLE_BIT_2; _bindgen_ty_bindgen_id_158564::NODE_SHARED_RESTYLE_BIT_2;
pub const NODE_IS_DIRTY_FOR_SERVO: _bindgen_ty_bindgen_id_158562 = pub const NODE_IS_DIRTY_FOR_SERVO: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_SHARED_RESTYLE_BIT_1; _bindgen_ty_bindgen_id_158564::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: _bindgen_ty_bindgen_id_158562 pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: _bindgen_ty_bindgen_id_158564
= =
_bindgen_ty_bindgen_id_158562::NODE_SHARED_RESTYLE_BIT_2; _bindgen_ty_bindgen_id_158564::NODE_SHARED_RESTYLE_BIT_2;
pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: _bindgen_ty_bindgen_id_158562 = pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: _bindgen_ty_bindgen_id_158564 =
_bindgen_ty_bindgen_id_158562::NODE_TYPE_SPECIFIC_BITS_OFFSET; _bindgen_ty_bindgen_id_158564::NODE_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_bindgen_id_158562 { pub enum _bindgen_ty_bindgen_id_158564 {
NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_LISTENERMANAGER = 4,
NODE_HAS_PROPERTIES = 8, NODE_HAS_PROPERTIES = 8,
NODE_IS_ANONYMOUS_ROOT = 16, NODE_IS_ANONYMOUS_ROOT = 16,
@ -6754,7 +6754,7 @@ pub struct nsITimer_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsITimer__bindgen_ty_bindgen_id_175130 { pub enum nsITimer__bindgen_ty_bindgen_id_175132 {
TYPE_ONE_SHOT = 0, TYPE_ONE_SHOT = 0,
TYPE_REPEATING_SLACK = 1, TYPE_REPEATING_SLACK = 1,
TYPE_REPEATING_PRECISE = 2, TYPE_REPEATING_PRECISE = 2,
@ -6780,7 +6780,7 @@ pub struct nsExpirationState {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsExpirationState__bindgen_ty_bindgen_id_175606 { pub enum nsExpirationState__bindgen_ty_bindgen_id_175608 {
NOT_TRACKED = 15, NOT_TRACKED = 15,
MAX_INDEX_IN_GENERATION = 268435455, MAX_INDEX_IN_GENERATION = 268435455,
} }
@ -6854,7 +6854,7 @@ pub struct imgIRequest_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum imgIRequest__bindgen_ty_bindgen_id_176193 { pub enum imgIRequest__bindgen_ty_bindgen_id_176195 {
STATUS_NONE = 0, STATUS_NONE = 0,
STATUS_SIZE_AVAILABLE = 1, STATUS_SIZE_AVAILABLE = 1,
STATUS_LOAD_COMPLETE = 2, STATUS_LOAD_COMPLETE = 2,
@ -6866,7 +6866,7 @@ pub enum imgIRequest__bindgen_ty_bindgen_id_176193 {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum imgIRequest__bindgen_ty_bindgen_id_176273 { pub enum imgIRequest__bindgen_ty_bindgen_id_176275 {
CORS_NONE = 1, CORS_NONE = 1,
CORS_ANONYMOUS = 2, CORS_ANONYMOUS = 2,
CORS_USE_CREDENTIALS = 3, CORS_USE_CREDENTIALS = 3,
@ -7365,7 +7365,7 @@ pub type nsPresArena_FreeList_KeyType = u32;
pub type nsPresArena_FreeList_KeyTypePointer = *const ::std::os::raw::c_void; pub type nsPresArena_FreeList_KeyTypePointer = *const ::std::os::raw::c_void;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsPresArena_FreeList__bindgen_ty_bindgen_id_196745 { pub enum nsPresArena_FreeList__bindgen_ty_bindgen_id_196747 {
ALLOW_MEMMOVE = 0, ALLOW_MEMMOVE = 0,
} }
#[test] #[test]
@ -7392,7 +7392,7 @@ pub struct imgINotificationObserver_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum imgINotificationObserver__bindgen_ty_bindgen_id_196892 { pub enum imgINotificationObserver__bindgen_ty_bindgen_id_196894 {
SIZE_AVAILABLE = 1, SIZE_AVAILABLE = 1,
FRAME_UPDATE = 2, FRAME_UPDATE = 2,
FRAME_COMPLETE = 3, FRAME_COMPLETE = 3,
@ -7641,7 +7641,7 @@ pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyTypePointer =
*const gfxFontFeatureValueSet_FeatureValueHashKey; *const gfxFontFeatureValueSet_FeatureValueHashKey;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_bindgen_id_198146 pub enum gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_bindgen_id_198148
{ {
ALLOW_MEMMOVE = 1, ALLOW_MEMMOVE = 1,
} }
@ -8037,23 +8037,23 @@ pub enum nsStyleUnit {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct _bindgen_ty_bindgen_id_198899 { pub struct _bindgen_ty_bindgen_id_198901 {
pub mInt: __BindgenUnionField<i32>, pub mInt: __BindgenUnionField<i32>,
pub mFloat: __BindgenUnionField<f32>, pub mFloat: __BindgenUnionField<f32>,
pub mPointer: __BindgenUnionField<*mut ::std::os::raw::c_void>, pub mPointer: __BindgenUnionField<*mut ::std::os::raw::c_void>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout__bindgen_ty_bindgen_id_198899() { fn bindgen_test_layout__bindgen_ty_bindgen_id_198901() {
assert_eq!(::std::mem::size_of::<_bindgen_ty_bindgen_id_198899>() , assert_eq!(::std::mem::size_of::<_bindgen_ty_bindgen_id_198901>() ,
8usize); 8usize);
assert_eq!(::std::mem::align_of::<_bindgen_ty_bindgen_id_198899>() , assert_eq!(::std::mem::align_of::<_bindgen_ty_bindgen_id_198901>() ,
8usize); 8usize);
} }
impl Clone for _bindgen_ty_bindgen_id_198899 { impl Clone for _bindgen_ty_bindgen_id_198901 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
pub type nsStyleUnion = _bindgen_ty_bindgen_id_198899; pub type nsStyleUnion = _bindgen_ty_bindgen_id_198901;
/** /**
* Class that hold a single size specification used by the style * Class that hold a single size specification used by the style
* system. The size specification consists of two parts -- a number * system. The size specification consists of two parts -- a number
@ -9099,7 +9099,7 @@ fn bindgen_test_layout_imgRequestProxy() {
assert_eq!(::std::mem::align_of::<imgRequestProxy>() , 8usize); assert_eq!(::std::mem::align_of::<imgRequestProxy>() , 8usize);
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_207995 { pub struct bindgen_vtable__bindgen_id_207997 {
} }
/** /**
* An interface for observing changes to image state, as reported by * An interface for observing changes to image state, as reported by
@ -9116,7 +9116,7 @@ pub struct bindgen_vtable__bindgen_id_207995 {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct IProgressObserver { pub struct IProgressObserver {
pub vtable_: *const bindgen_vtable__bindgen_id_207995, pub vtable_: *const bindgen_vtable__bindgen_id_207997,
pub _base: u64, pub _base: u64,
} }
#[test] #[test]
@ -9138,7 +9138,7 @@ pub struct nsISupportsPriority_COMTypeInfo<T, U> {
} }
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsISupportsPriority__bindgen_ty_bindgen_id_208076 { pub enum nsISupportsPriority__bindgen_ty_bindgen_id_208078 {
PRIORITY_HIGHEST = -20, PRIORITY_HIGHEST = -20,
PRIORITY_HIGH = -10, PRIORITY_HIGH = -10,
PRIORITY_NORMAL = 0, PRIORITY_NORMAL = 0,
@ -9573,7 +9573,7 @@ fn bindgen_test_layout_nsCSSValueFloatColor() {
#[derive(Debug)] #[derive(Debug)]
pub struct nsCSSValue { pub struct nsCSSValue {
pub mUnit: nsCSSUnit, pub mUnit: nsCSSUnit,
pub mValue: nsCSSValue__bindgen_ty_bindgen_id_211071, pub mValue: nsCSSValue__bindgen_ty_bindgen_id_211073,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
@ -9589,7 +9589,7 @@ fn bindgen_test_layout_nsCSSValue_Array() {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsCSSValue__bindgen_ty_bindgen_id_211071 { pub struct nsCSSValue__bindgen_ty_bindgen_id_211073 {
pub mInt: __BindgenUnionField<i32>, pub mInt: __BindgenUnionField<i32>,
pub mFloat: __BindgenUnionField<f32>, pub mFloat: __BindgenUnionField<f32>,
pub mString: __BindgenUnionField<*mut nsStringBuffer>, pub mString: __BindgenUnionField<*mut nsStringBuffer>,
@ -9614,13 +9614,13 @@ pub struct nsCSSValue__bindgen_ty_bindgen_id_211071 {
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsCSSValue__bindgen_ty_bindgen_id_211071() { fn bindgen_test_layout_nsCSSValue__bindgen_ty_bindgen_id_211073() {
assert_eq!(::std::mem::size_of::<nsCSSValue__bindgen_ty_bindgen_id_211071>() assert_eq!(::std::mem::size_of::<nsCSSValue__bindgen_ty_bindgen_id_211073>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsCSSValue__bindgen_ty_bindgen_id_211071>() assert_eq!(::std::mem::align_of::<nsCSSValue__bindgen_ty_bindgen_id_211073>()
, 8usize); , 8usize);
} }
impl Clone for nsCSSValue__bindgen_ty_bindgen_id_211071 { impl Clone for nsCSSValue__bindgen_ty_bindgen_id_211073 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -9641,12 +9641,12 @@ fn bindgen_test_layout_nsCSSValueGradientStop() {
assert_eq!(::std::mem::align_of::<nsCSSValueGradientStop>() , 8usize); assert_eq!(::std::mem::align_of::<nsCSSValueGradientStop>() , 8usize);
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_211279 { pub struct bindgen_vtable__bindgen_id_211281 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct CounterStyle { pub struct CounterStyle {
pub vtable_: *const bindgen_vtable__bindgen_id_211279, pub vtable_: *const bindgen_vtable__bindgen_id_211281,
pub mStyle: i32, pub mStyle: i32,
} }
#[test] #[test]
@ -9846,26 +9846,26 @@ pub struct nsStyleImage {
pub mCachedBIData: UniquePtr<CachedBorderImageData, pub mCachedBIData: UniquePtr<CachedBorderImageData,
DefaultDelete<CachedBorderImageData>>, DefaultDelete<CachedBorderImageData>>,
pub mType: nsStyleImageType, pub mType: nsStyleImageType,
pub __bindgen_anon_1: nsStyleImage__bindgen_ty_bindgen_id_213247, pub __bindgen_anon_1: nsStyleImage__bindgen_ty_bindgen_id_213249,
pub mCropRect: UniquePtr<nsStyleSides, DefaultDelete<nsStyleSides>>, pub mCropRect: UniquePtr<nsStyleSides, DefaultDelete<nsStyleSides>>,
pub mImageTracked: bool, pub mImageTracked: bool,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStyleImage__bindgen_ty_bindgen_id_213247 { pub struct nsStyleImage__bindgen_ty_bindgen_id_213249 {
pub mImage: __BindgenUnionField<*mut imgRequestProxy>, pub mImage: __BindgenUnionField<*mut imgRequestProxy>,
pub mGradient: __BindgenUnionField<*mut nsStyleGradient>, pub mGradient: __BindgenUnionField<*mut nsStyleGradient>,
pub mElementId: __BindgenUnionField<*mut u16>, pub mElementId: __BindgenUnionField<*mut u16>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsStyleImage__bindgen_ty_bindgen_id_213247() { fn bindgen_test_layout_nsStyleImage__bindgen_ty_bindgen_id_213249() {
assert_eq!(::std::mem::size_of::<nsStyleImage__bindgen_ty_bindgen_id_213247>() assert_eq!(::std::mem::size_of::<nsStyleImage__bindgen_ty_bindgen_id_213249>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsStyleImage__bindgen_ty_bindgen_id_213247>() assert_eq!(::std::mem::align_of::<nsStyleImage__bindgen_ty_bindgen_id_213249>()
, 8usize); , 8usize);
} }
impl Clone for nsStyleImage__bindgen_ty_bindgen_id_213247 { impl Clone for nsStyleImage__bindgen_ty_bindgen_id_213249 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -9916,7 +9916,7 @@ pub struct nsStyleImageLayers {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsStyleImageLayers__bindgen_ty_bindgen_id_213302 { pub enum nsStyleImageLayers__bindgen_ty_bindgen_id_213304 {
shorthand = 0, shorthand = 0,
color = 1, color = 1,
image = 2, image = 2,
@ -10416,7 +10416,7 @@ impl Clone for nsStyleImageOrientation {
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsTimingFunction { pub struct nsTimingFunction {
pub mType: nsTimingFunction_Type, pub mType: nsTimingFunction_Type,
pub __bindgen_anon_1: nsTimingFunction__bindgen_ty_bindgen_id_215055, pub __bindgen_anon_1: nsTimingFunction__bindgen_ty_bindgen_id_215057,
} }
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
@ -10435,56 +10435,56 @@ pub enum nsTimingFunction_Type {
pub enum nsTimingFunction_Keyword { Implicit = 0, Explicit = 1, } pub enum nsTimingFunction_Keyword { Implicit = 0, Explicit = 1, }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsTimingFunction__bindgen_ty_bindgen_id_215055 { pub struct nsTimingFunction__bindgen_ty_bindgen_id_215057 {
pub mFunc: __BindgenUnionField<nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215056>, pub mFunc: __BindgenUnionField<nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215058>,
pub __bindgen_anon_1: __BindgenUnionField<nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215067>, pub __bindgen_anon_1: __BindgenUnionField<nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215069>,
pub bindgen_union_field: [u32; 4usize], pub bindgen_union_field: [u32; 4usize],
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215056 { pub struct nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215058 {
pub mX1: f32, pub mX1: f32,
pub mY1: f32, pub mY1: f32,
pub mX2: f32, pub mX2: f32,
pub mY2: f32, pub mY2: f32,
} }
#[test] #[test]
fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215056() { fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215058() {
assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215056>() assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215058>()
, 16usize); , 16usize);
assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215056>() assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215058>()
, 4usize); , 4usize);
} }
impl Clone for impl Clone for
nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215056 nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215058
{ {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215067 { pub struct nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215069 {
pub mSteps: u32, pub mSteps: u32,
} }
#[test] #[test]
fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215067() { fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215069() {
assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215067>() assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215069>()
, 4usize); , 4usize);
assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215067>() assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215069>()
, 4usize); , 4usize);
} }
impl Clone for impl Clone for
nsTimingFunction__bindgen_ty_bindgen_id_215055__bindgen_ty_bindgen_id_215067 nsTimingFunction__bindgen_ty_bindgen_id_215057__bindgen_ty_bindgen_id_215069
{ {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_215055() { fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_215057() {
assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_215055>() assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_215057>()
, 16usize); , 16usize);
assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_215055>() assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_215057>()
, 4usize); , 4usize);
} }
impl Clone for nsTimingFunction__bindgen_ty_bindgen_id_215055 { impl Clone for nsTimingFunction__bindgen_ty_bindgen_id_215057 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -10545,13 +10545,13 @@ fn bindgen_test_layout_StyleBasicShape() {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct StyleShapeSource<ReferenceBox> { pub struct StyleShapeSource<ReferenceBox> {
pub __bindgen_anon_1: StyleShapeSource__bindgen_ty_bindgen_id_215438<ReferenceBox>, pub __bindgen_anon_1: StyleShapeSource__bindgen_ty_bindgen_id_215440<ReferenceBox>,
pub mType: StyleShapeSourceType, pub mType: StyleShapeSourceType,
pub mReferenceBox: ReferenceBox, pub mReferenceBox: ReferenceBox,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct StyleShapeSource__bindgen_ty_bindgen_id_215438<ReferenceBox> { pub struct StyleShapeSource__bindgen_ty_bindgen_id_215440<ReferenceBox> {
pub mBasicShape: __BindgenUnionField<*mut StyleBasicShape>, pub mBasicShape: __BindgenUnionField<*mut StyleBasicShape>,
pub mURL: __BindgenUnionField<*mut FragmentOrURL>, pub mURL: __BindgenUnionField<*mut FragmentOrURL>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
@ -10603,25 +10603,25 @@ pub enum nsStyleContentType {
#[derive(Debug)] #[derive(Debug)]
pub struct nsStyleContentData { pub struct nsStyleContentData {
pub mType: nsStyleContentType, pub mType: nsStyleContentType,
pub mContent: nsStyleContentData__bindgen_ty_bindgen_id_215522, pub mContent: nsStyleContentData__bindgen_ty_bindgen_id_215524,
pub mImageTracked: bool, pub mImageTracked: bool,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStyleContentData__bindgen_ty_bindgen_id_215522 { pub struct nsStyleContentData__bindgen_ty_bindgen_id_215524 {
pub mString: __BindgenUnionField<*mut u16>, pub mString: __BindgenUnionField<*mut u16>,
pub mImage: __BindgenUnionField<*mut imgRequestProxy>, pub mImage: __BindgenUnionField<*mut imgRequestProxy>,
pub mCounters: __BindgenUnionField<*mut nsCSSValue_Array>, pub mCounters: __BindgenUnionField<*mut nsCSSValue_Array>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsStyleContentData__bindgen_ty_bindgen_id_215522() { fn bindgen_test_layout_nsStyleContentData__bindgen_ty_bindgen_id_215524() {
assert_eq!(::std::mem::size_of::<nsStyleContentData__bindgen_ty_bindgen_id_215522>() assert_eq!(::std::mem::size_of::<nsStyleContentData__bindgen_ty_bindgen_id_215524>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsStyleContentData__bindgen_ty_bindgen_id_215522>() assert_eq!(::std::mem::align_of::<nsStyleContentData__bindgen_ty_bindgen_id_215524>()
, 8usize); , 8usize);
} }
impl Clone for nsStyleContentData__bindgen_ty_bindgen_id_215522 { impl Clone for nsStyleContentData__bindgen_ty_bindgen_id_215524 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -10746,25 +10746,25 @@ pub enum nsStyleSVGPaintType {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsStyleSVGPaint { pub struct nsStyleSVGPaint {
pub mPaint: nsStyleSVGPaint__bindgen_ty_bindgen_id_215921, pub mPaint: nsStyleSVGPaint__bindgen_ty_bindgen_id_215923,
pub mType: nsStyleSVGPaintType, pub mType: nsStyleSVGPaintType,
pub mFallbackColor: nscolor, pub mFallbackColor: nscolor,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStyleSVGPaint__bindgen_ty_bindgen_id_215921 { pub struct nsStyleSVGPaint__bindgen_ty_bindgen_id_215923 {
pub mColor: __BindgenUnionField<nscolor>, pub mColor: __BindgenUnionField<nscolor>,
pub mPaintServer: __BindgenUnionField<*mut FragmentOrURL>, pub mPaintServer: __BindgenUnionField<*mut FragmentOrURL>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsStyleSVGPaint__bindgen_ty_bindgen_id_215921() { fn bindgen_test_layout_nsStyleSVGPaint__bindgen_ty_bindgen_id_215923() {
assert_eq!(::std::mem::size_of::<nsStyleSVGPaint__bindgen_ty_bindgen_id_215921>() assert_eq!(::std::mem::size_of::<nsStyleSVGPaint__bindgen_ty_bindgen_id_215923>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsStyleSVGPaint__bindgen_ty_bindgen_id_215921>() assert_eq!(::std::mem::align_of::<nsStyleSVGPaint__bindgen_ty_bindgen_id_215923>()
, 8usize); , 8usize);
} }
impl Clone for nsStyleSVGPaint__bindgen_ty_bindgen_id_215921 { impl Clone for nsStyleSVGPaint__bindgen_ty_bindgen_id_215923 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -10799,7 +10799,7 @@ pub struct nsStyleSVG {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsStyleSVG__bindgen_ty_bindgen_id_216098 { pub enum nsStyleSVG__bindgen_ty_bindgen_id_216100 {
FILL_OPACITY_SOURCE_MASK = 3, FILL_OPACITY_SOURCE_MASK = 3,
STROKE_OPACITY_SOURCE_MASK = 12, STROKE_OPACITY_SOURCE_MASK = 12,
STROKE_DASHARRAY_CONTEXT = 16, STROKE_DASHARRAY_CONTEXT = 16,
@ -10818,23 +10818,23 @@ fn bindgen_test_layout_nsStyleSVG() {
pub struct nsStyleFilter { pub struct nsStyleFilter {
pub mType: i32, pub mType: i32,
pub mFilterParameter: nsStyleCoord, pub mFilterParameter: nsStyleCoord,
pub __bindgen_anon_1: nsStyleFilter__bindgen_ty_bindgen_id_216164, pub __bindgen_anon_1: nsStyleFilter__bindgen_ty_bindgen_id_216166,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStyleFilter__bindgen_ty_bindgen_id_216164 { pub struct nsStyleFilter__bindgen_ty_bindgen_id_216166 {
pub mURL: __BindgenUnionField<*mut FragmentOrURL>, pub mURL: __BindgenUnionField<*mut FragmentOrURL>,
pub mDropShadow: __BindgenUnionField<*mut nsCSSShadowArray>, pub mDropShadow: __BindgenUnionField<*mut nsCSSShadowArray>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsStyleFilter__bindgen_ty_bindgen_id_216164() { fn bindgen_test_layout_nsStyleFilter__bindgen_ty_bindgen_id_216166() {
assert_eq!(::std::mem::size_of::<nsStyleFilter__bindgen_ty_bindgen_id_216164>() assert_eq!(::std::mem::size_of::<nsStyleFilter__bindgen_ty_bindgen_id_216166>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsStyleFilter__bindgen_ty_bindgen_id_216164>() assert_eq!(::std::mem::align_of::<nsStyleFilter__bindgen_ty_bindgen_id_216166>()
, 8usize); , 8usize);
} }
impl Clone for nsStyleFilter__bindgen_ty_bindgen_id_216164 { impl Clone for nsStyleFilter__bindgen_ty_bindgen_id_216166 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]

View file

@ -1501,8 +1501,8 @@ pub enum JSWhyMagic {
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct jsval_layout { pub struct jsval_layout {
pub asBits: __BindgenUnionField<u64>, pub asBits: __BindgenUnionField<u64>,
pub debugView: __BindgenUnionField<jsval_layout__bindgen_ty_bindgen_id_59612>, pub debugView: __BindgenUnionField<jsval_layout__bindgen_ty_bindgen_id_59614>,
pub s: __BindgenUnionField<jsval_layout__bindgen_ty_bindgen_id_59619>, pub s: __BindgenUnionField<jsval_layout__bindgen_ty_bindgen_id_59621>,
pub asDouble: __BindgenUnionField<f64>, pub asDouble: __BindgenUnionField<f64>,
pub asPtr: __BindgenUnionField<*mut ::std::os::raw::c_void>, pub asPtr: __BindgenUnionField<*mut ::std::os::raw::c_void>,
pub asWord: __BindgenUnionField<usize>, pub asWord: __BindgenUnionField<usize>,
@ -1511,20 +1511,20 @@ pub struct jsval_layout {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct jsval_layout__bindgen_ty_bindgen_id_59612 { pub struct jsval_layout__bindgen_ty_bindgen_id_59614 {
pub _bitfield_1: u64, pub _bitfield_1: u64,
} }
#[test] #[test]
fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_59612() { fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_59614() {
assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_59612>() assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_59614>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_59612>() assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_59614>()
, 8usize); , 8usize);
} }
impl Clone for jsval_layout__bindgen_ty_bindgen_id_59612 { impl Clone for jsval_layout__bindgen_ty_bindgen_id_59614 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
impl jsval_layout__bindgen_ty_bindgen_id_59612 { impl jsval_layout__bindgen_ty_bindgen_id_59614 {
#[inline] #[inline]
pub fn payload47(&self) -> u64 { pub fn payload47(&self) -> u64 {
unsafe { unsafe {
@ -1557,36 +1557,36 @@ impl jsval_layout__bindgen_ty_bindgen_id_59612 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct jsval_layout__bindgen_ty_bindgen_id_59619 { pub struct jsval_layout__bindgen_ty_bindgen_id_59621 {
pub payload: jsval_layout__bindgen_ty_bindgen_id_59619__bindgen_ty_bindgen_id_59620, pub payload: jsval_layout__bindgen_ty_bindgen_id_59621__bindgen_ty_bindgen_id_59622,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct jsval_layout__bindgen_ty_bindgen_id_59619__bindgen_ty_bindgen_id_59620 { pub struct jsval_layout__bindgen_ty_bindgen_id_59621__bindgen_ty_bindgen_id_59622 {
pub i32: __BindgenUnionField<i32>, pub i32: __BindgenUnionField<i32>,
pub u32: __BindgenUnionField<u32>, pub u32: __BindgenUnionField<u32>,
pub why: __BindgenUnionField<JSWhyMagic>, pub why: __BindgenUnionField<JSWhyMagic>,
pub bindgen_union_field: u32, pub bindgen_union_field: u32,
} }
#[test] #[test]
fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_59619__bindgen_ty_bindgen_id_59620() { fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_59621__bindgen_ty_bindgen_id_59622() {
assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_59619__bindgen_ty_bindgen_id_59620>() assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_59621__bindgen_ty_bindgen_id_59622>()
, 4usize); , 4usize);
assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_59619__bindgen_ty_bindgen_id_59620>() assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_59621__bindgen_ty_bindgen_id_59622>()
, 4usize); , 4usize);
} }
impl Clone for impl Clone for
jsval_layout__bindgen_ty_bindgen_id_59619__bindgen_ty_bindgen_id_59620 { jsval_layout__bindgen_ty_bindgen_id_59621__bindgen_ty_bindgen_id_59622 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_59619() { fn bindgen_test_layout_jsval_layout__bindgen_ty_bindgen_id_59621() {
assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_59619>() assert_eq!(::std::mem::size_of::<jsval_layout__bindgen_ty_bindgen_id_59621>()
, 4usize); , 4usize);
assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_59619>() assert_eq!(::std::mem::align_of::<jsval_layout__bindgen_ty_bindgen_id_59621>()
, 4usize); , 4usize);
} }
impl Clone for jsval_layout__bindgen_ty_bindgen_id_59619 { impl Clone for jsval_layout__bindgen_ty_bindgen_id_59621 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
impl Clone for jsval_layout { impl Clone for jsval_layout {
@ -1620,7 +1620,7 @@ pub type nsAString_internal_size_type = u32;
pub type nsAString_internal_index_type = u32; pub type nsAString_internal_index_type = u32;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsAString_internal__bindgen_ty_bindgen_id_61457 { pub enum nsAString_internal__bindgen_ty_bindgen_id_61459 {
F_NONE = 0, F_NONE = 0,
F_TERMINATED = 1, F_TERMINATED = 1,
F_VOIDED = 2, F_VOIDED = 2,
@ -1682,12 +1682,12 @@ fn bindgen_test_layout_nsString() {
assert_eq!(::std::mem::align_of::<nsString>() , 8usize); assert_eq!(::std::mem::align_of::<nsString>() , 8usize);
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_62067 { pub struct bindgen_vtable__bindgen_id_62069 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStringComparator { pub struct nsStringComparator {
pub vtable_: *const bindgen_vtable__bindgen_id_62067, pub vtable_: *const bindgen_vtable__bindgen_id_62069,
} }
pub type nsStringComparator_char_type = u16; pub type nsStringComparator_char_type = u16;
#[test] #[test]
@ -1729,7 +1729,7 @@ pub type nsACString_internal_size_type = u32;
pub type nsACString_internal_index_type = u32; pub type nsACString_internal_index_type = u32;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsACString_internal__bindgen_ty_bindgen_id_63297 { pub enum nsACString_internal__bindgen_ty_bindgen_id_63299 {
F_NONE = 0, F_NONE = 0,
F_TERMINATED = 1, F_TERMINATED = 1,
F_VOIDED = 2, F_VOIDED = 2,
@ -1791,12 +1791,12 @@ fn bindgen_test_layout_nsCString() {
assert_eq!(::std::mem::align_of::<nsCString>() , 8usize); assert_eq!(::std::mem::align_of::<nsCString>() , 8usize);
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_63849 { pub struct bindgen_vtable__bindgen_id_63851 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsCStringComparator { pub struct nsCStringComparator {
pub vtable_: *const bindgen_vtable__bindgen_id_63849, pub vtable_: *const bindgen_vtable__bindgen_id_63851,
} }
pub type nsCStringComparator_char_type = ::std::os::raw::c_char; pub type nsCStringComparator_char_type = ::std::os::raw::c_char;
#[test] #[test]
@ -1808,7 +1808,7 @@ impl Clone for nsCStringComparator {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_63893 { pub struct bindgen_vtable__bindgen_id_63895 {
} }
/** /**
* Basic component object model interface. Objects which implement * Basic component object model interface. Objects which implement
@ -1819,7 +1819,7 @@ pub struct bindgen_vtable__bindgen_id_63893 {
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsISupports { pub struct nsISupports {
pub vtable_: *const bindgen_vtable__bindgen_id_63893, pub vtable_: *const bindgen_vtable__bindgen_id_63895,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
@ -1837,7 +1837,7 @@ impl Clone for nsISupports {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_64176 { pub struct bindgen_vtable__bindgen_id_64178 {
} }
/** /**
* Participant implementation classes * Participant implementation classes
@ -1845,7 +1845,7 @@ pub struct bindgen_vtable__bindgen_id_64176 {
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsCycleCollectionParticipant { pub struct nsCycleCollectionParticipant {
pub vtable_: *const bindgen_vtable__bindgen_id_64176, pub vtable_: *const bindgen_vtable__bindgen_id_64178,
pub mMightSkip: bool, pub mMightSkip: bool,
} }
#[test] #[test]
@ -2168,7 +2168,7 @@ fn bindgen_test_layout_ErrorResult() {
#[derive(Debug)] #[derive(Debug)]
pub struct TErrorResult<CleanupPolicy> { pub struct TErrorResult<CleanupPolicy> {
pub mResult: nsresult, pub mResult: nsresult,
pub __bindgen_anon_1: TErrorResult__bindgen_ty_bindgen_id_68796<CleanupPolicy>, pub __bindgen_anon_1: TErrorResult__bindgen_ty_bindgen_id_68798<CleanupPolicy>,
pub _phantom_0: ::std::marker::PhantomData<CleanupPolicy>, pub _phantom_0: ::std::marker::PhantomData<CleanupPolicy>,
} }
#[repr(C)] #[repr(C)]
@ -2185,7 +2185,7 @@ pub struct TErrorResult_DOMExceptionInfo<CleanupPolicy> {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct TErrorResult__bindgen_ty_bindgen_id_68796<CleanupPolicy> { pub struct TErrorResult__bindgen_ty_bindgen_id_68798<CleanupPolicy> {
pub mMessage: __BindgenUnionField<*mut TErrorResult_Message<CleanupPolicy>>, pub mMessage: __BindgenUnionField<*mut TErrorResult_Message<CleanupPolicy>>,
pub mJSException: __BindgenUnionField<Value>, pub mJSException: __BindgenUnionField<Value>,
pub mDOMExceptionInfo: __BindgenUnionField<*mut TErrorResult_DOMExceptionInfo<CleanupPolicy>>, pub mDOMExceptionInfo: __BindgenUnionField<*mut TErrorResult_DOMExceptionInfo<CleanupPolicy>>,
@ -2318,7 +2318,7 @@ impl nsIAtom {
} }
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_69567 { pub struct bindgen_vtable__bindgen_id_69569 {
} }
/** /**
* Class to store the wrapper for an object. This can only be used with objects * Class to store the wrapper for an object. This can only be used with objects
@ -2360,7 +2360,7 @@ pub struct bindgen_vtable__bindgen_id_69567 {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsWrapperCache { pub struct nsWrapperCache {
pub vtable_: *const bindgen_vtable__bindgen_id_69567, pub vtable_: *const bindgen_vtable__bindgen_id_69569,
pub mWrapper: *mut JSObject, pub mWrapper: *mut JSObject,
pub mFlags: nsWrapperCache_FlagsType, pub mFlags: nsWrapperCache_FlagsType,
} }
@ -2385,7 +2385,7 @@ pub type nsWrapperCache_FlagsType = u32;
* NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER). * NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER).
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsWrapperCache__bindgen_ty_bindgen_id_69763 { pub enum nsWrapperCache__bindgen_ty_bindgen_id_69765 {
WRAPPER_BIT_PRESERVED = 1, WRAPPER_BIT_PRESERVED = 1,
} }
#[repr(u32)] #[repr(u32)]
@ -2394,12 +2394,12 @@ pub enum nsWrapperCache__bindgen_ty_bindgen_id_69763 {
* binding. * binding.
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsWrapperCache__bindgen_ty_bindgen_id_69766 { pub enum nsWrapperCache__bindgen_ty_bindgen_id_69768 {
WRAPPER_IS_NOT_DOM_BINDING = 2, WRAPPER_IS_NOT_DOM_BINDING = 2,
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsWrapperCache__bindgen_ty_bindgen_id_69769 { pub enum nsWrapperCache__bindgen_ty_bindgen_id_69771 {
kWrapperFlagsMask = 3, kWrapperFlagsMask = 3,
} }
#[test] #[test]
@ -2508,7 +2508,7 @@ impl Clone for random_access_iterator_tag {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_89343 { pub struct bindgen_vtable__bindgen_id_89345 {
} }
/** /**
* A class of objects that return source code on demand. * A class of objects that return source code on demand.
@ -2524,7 +2524,7 @@ pub struct bindgen_vtable__bindgen_id_89343 {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct SourceHook { pub struct SourceHook {
pub vtable_: *const bindgen_vtable__bindgen_id_89343, pub vtable_: *const bindgen_vtable__bindgen_id_89345,
} }
#[test] #[test]
fn bindgen_test_layout_SourceHook() { fn bindgen_test_layout_SourceHook() {
@ -2545,7 +2545,7 @@ pub struct nsIPrincipal_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPrincipal__bindgen_ty_bindgen_id_94799 { pub enum nsIPrincipal__bindgen_ty_bindgen_id_94801 {
APP_STATUS_NOT_INSTALLED = 0, APP_STATUS_NOT_INSTALLED = 0,
APP_STATUS_INSTALLED = 1, APP_STATUS_INSTALLED = 1,
APP_STATUS_PRIVILEGED = 2, APP_STATUS_PRIVILEGED = 2,
@ -2863,7 +2863,7 @@ pub type nsIDocument_FrameRequestCallbackList =
nsTArray<RefPtr<FrameRequestCallback>>; nsTArray<RefPtr<FrameRequestCallback>>;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDocument__bindgen_ty_bindgen_id_103505 { REQUEST_DISCARD = 1, } pub enum nsIDocument__bindgen_ty_bindgen_id_103507 { REQUEST_DISCARD = 1, }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDocument_DeprecatedOperations { pub enum nsIDocument_DeprecatedOperations {
@ -3554,7 +3554,7 @@ pub struct nsINode {
pub mNextSibling: *mut nsIContent, pub mNextSibling: *mut nsIContent,
pub mPreviousSibling: *mut nsIContent, pub mPreviousSibling: *mut nsIContent,
pub mFirstChild: *mut nsIContent, pub mFirstChild: *mut nsIContent,
pub __bindgen_anon_1: nsINode__bindgen_ty_bindgen_id_100205, pub __bindgen_anon_1: nsINode__bindgen_ty_bindgen_id_100207,
pub mSlots: *mut nsINode_nsSlots, pub mSlots: *mut nsINode_nsSlots,
pub mServoData: ServoCell<*mut ServoNodeData>, pub mServoData: ServoCell<*mut ServoNodeData>,
} }
@ -3579,7 +3579,7 @@ pub struct nsINode_COMTypeInfo<T, U> {
* Bit-flags to pass (or'ed together) to IsNodeOfType() * Bit-flags to pass (or'ed together) to IsNodeOfType()
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsINode__bindgen_ty_bindgen_id_96343 { pub enum nsINode__bindgen_ty_bindgen_id_96345 {
eCONTENT = 1, eCONTENT = 1,
eDOCUMENT = 2, eDOCUMENT = 2,
eATTRIBUTE = 4, eATTRIBUTE = 4,
@ -3594,12 +3594,12 @@ pub enum nsINode__bindgen_ty_bindgen_id_96343 {
eFILTER = 2048, eFILTER = 2048,
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_97112 { pub struct bindgen_vtable__bindgen_id_97114 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsINode_nsSlots { pub struct nsINode_nsSlots {
pub vtable_: *const bindgen_vtable__bindgen_id_97112, pub vtable_: *const bindgen_vtable__bindgen_id_97114,
/** /**
* A list of mutation observers * A list of mutation observers
*/ */
@ -3668,19 +3668,19 @@ pub enum nsINode_BooleanFlag {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsINode__bindgen_ty_bindgen_id_100205 { pub struct nsINode__bindgen_ty_bindgen_id_100207 {
pub mPrimaryFrame: __BindgenUnionField<*mut nsIFrame>, pub mPrimaryFrame: __BindgenUnionField<*mut nsIFrame>,
pub mSubtreeRoot: __BindgenUnionField<*mut nsINode>, pub mSubtreeRoot: __BindgenUnionField<*mut nsINode>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsINode__bindgen_ty_bindgen_id_100205() { fn bindgen_test_layout_nsINode__bindgen_ty_bindgen_id_100207() {
assert_eq!(::std::mem::size_of::<nsINode__bindgen_ty_bindgen_id_100205>() assert_eq!(::std::mem::size_of::<nsINode__bindgen_ty_bindgen_id_100207>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsINode__bindgen_ty_bindgen_id_100205>() assert_eq!(::std::mem::align_of::<nsINode__bindgen_ty_bindgen_id_100207>()
, 8usize); , 8usize);
} }
impl Clone for nsINode__bindgen_ty_bindgen_id_100205 { impl Clone for nsINode__bindgen_ty_bindgen_id_100207 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -4033,7 +4033,7 @@ pub struct nsIDOMNode_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDOMNode__bindgen_ty_bindgen_id_108502 { pub enum nsIDOMNode__bindgen_ty_bindgen_id_108504 {
ELEMENT_NODE = 1, ELEMENT_NODE = 1,
ATTRIBUTE_NODE = 2, ATTRIBUTE_NODE = 2,
TEXT_NODE = 3, TEXT_NODE = 3,
@ -4049,7 +4049,7 @@ pub enum nsIDOMNode__bindgen_ty_bindgen_id_108502 {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDOMNode__bindgen_ty_bindgen_id_108721 { pub enum nsIDOMNode__bindgen_ty_bindgen_id_108723 {
DOCUMENT_POSITION_DISCONNECTED = 1, DOCUMENT_POSITION_DISCONNECTED = 1,
DOCUMENT_POSITION_PRECEDING = 2, DOCUMENT_POSITION_PRECEDING = 2,
DOCUMENT_POSITION_FOLLOWING = 4, DOCUMENT_POSITION_FOLLOWING = 4,
@ -5136,7 +5136,7 @@ pub type nsPtrHashKey_KeyType<T> = *mut T;
pub type nsPtrHashKey_KeyTypePointer<T> = *mut T; pub type nsPtrHashKey_KeyTypePointer<T> = *mut T;
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsPtrHashKey__bindgen_ty_bindgen_id_113077 { ALLOW_MEMMOVE = 0, } pub enum nsPtrHashKey__bindgen_ty_bindgen_id_113079 { ALLOW_MEMMOVE = 0, }
/** /**
* A node of content in a document's content model. This interface * A node of content in a document's content model. This interface
* is supported by all content objects. * is supported by all content objects.
@ -5156,14 +5156,14 @@ pub struct nsIContent_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIContent__bindgen_ty_bindgen_id_114417 { pub enum nsIContent__bindgen_ty_bindgen_id_114419 {
eAllChildren = 0, eAllChildren = 0,
eAllButXBL = 1, eAllButXBL = 1,
eSkipPlaceholderContent = 2, eSkipPlaceholderContent = 2,
} }
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIContent__bindgen_ty_bindgen_id_114653 { pub enum nsIContent__bindgen_ty_bindgen_id_114655 {
ATTR_MISSING = -1, ATTR_MISSING = -1,
ATTR_VALUE_NO_MATCH = -2, ATTR_VALUE_NO_MATCH = -2,
} }
@ -5369,7 +5369,7 @@ pub struct FragmentOrElement_nsDOMSlots {
* @see FragmentOrElement::GetAttributes * @see FragmentOrElement::GetAttributes
*/ */
pub mAttributeMap: RefPtr<nsDOMAttributeMap>, pub mAttributeMap: RefPtr<nsDOMAttributeMap>,
pub __bindgen_anon_1: FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115748, pub __bindgen_anon_1: FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115750,
/** /**
* An object implementing the .children property for this element. * An object implementing the .children property for this element.
*/ */
@ -5406,7 +5406,7 @@ pub struct FragmentOrElement_nsDOMSlots {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115748 { pub struct FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115750 {
/** /**
* The nearest enclosing content node with a binding that created us. * The nearest enclosing content node with a binding that created us.
* @see FragmentOrElement::GetBindingParent * @see FragmentOrElement::GetBindingParent
@ -5419,13 +5419,13 @@ pub struct FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115748 {
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115748() { fn bindgen_test_layout_FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115750() {
assert_eq!(::std::mem::size_of::<FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115748>() assert_eq!(::std::mem::size_of::<FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115750>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115748>() assert_eq!(::std::mem::align_of::<FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115750>()
, 8usize); , 8usize);
} }
impl Clone for FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115748 { impl Clone for FragmentOrElement_nsDOMSlots__bindgen_ty_bindgen_id_115750 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -5497,7 +5497,7 @@ pub struct nsIChannel_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIChannel__bindgen_ty_bindgen_id_132940 { pub enum nsIChannel__bindgen_ty_bindgen_id_132942 {
LOAD_DOCUMENT_URI = 65536, LOAD_DOCUMENT_URI = 65536,
LOAD_RETARGETED_DOCUMENT_URI = 131072, LOAD_RETARGETED_DOCUMENT_URI = 131072,
LOAD_REPLACE = 262144, LOAD_REPLACE = 262144,
@ -5511,7 +5511,7 @@ pub enum nsIChannel__bindgen_ty_bindgen_id_132940 {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIChannel__bindgen_ty_bindgen_id_132960 { pub enum nsIChannel__bindgen_ty_bindgen_id_132962 {
DISPOSITION_INLINE = 0, DISPOSITION_INLINE = 0,
DISPOSITION_ATTACHMENT = 1, DISPOSITION_ATTACHMENT = 1,
} }
@ -5537,7 +5537,7 @@ pub struct nsIRequest_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIRequest__bindgen_ty_bindgen_id_132778 { pub enum nsIRequest__bindgen_ty_bindgen_id_132780 {
LOAD_REQUESTMASK = 65535, LOAD_REQUESTMASK = 65535,
LOAD_NORMAL = 0, LOAD_NORMAL = 0,
LOAD_BACKGROUND = 1, LOAD_BACKGROUND = 1,
@ -6090,13 +6090,13 @@ pub enum nsIPresShell_ReflowRootHandling {
eNoPositionOrSizeChange = 1, eNoPositionOrSizeChange = 1,
eInferFromBitToAdd = 2, eInferFromBitToAdd = 2,
} }
pub const SCROLL_LEFT: nsIPresShell__bindgen_ty_bindgen_id_150797 = pub const SCROLL_LEFT: nsIPresShell__bindgen_ty_bindgen_id_150799 =
nsIPresShell__bindgen_ty_bindgen_id_150797::SCROLL_TOP; nsIPresShell__bindgen_ty_bindgen_id_150799::SCROLL_TOP;
pub const SCROLL_RIGHT: nsIPresShell__bindgen_ty_bindgen_id_150797 = pub const SCROLL_RIGHT: nsIPresShell__bindgen_ty_bindgen_id_150799 =
nsIPresShell__bindgen_ty_bindgen_id_150797::SCROLL_BOTTOM; nsIPresShell__bindgen_ty_bindgen_id_150799::SCROLL_BOTTOM;
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_150797 { pub enum nsIPresShell__bindgen_ty_bindgen_id_150799 {
SCROLL_TOP = 0, SCROLL_TOP = 0,
SCROLL_BOTTOM = 100, SCROLL_BOTTOM = 100,
SCROLL_CENTER = 50, SCROLL_CENTER = 50,
@ -6124,7 +6124,7 @@ impl Clone for nsIPresShell_ScrollAxis {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_150828 { pub enum nsIPresShell__bindgen_ty_bindgen_id_150830 {
SCROLL_FIRST_ANCESTOR_ONLY = 1, SCROLL_FIRST_ANCESTOR_ONLY = 1,
SCROLL_OVERFLOW_HIDDEN = 2, SCROLL_OVERFLOW_HIDDEN = 2,
SCROLL_NO_PARENT_FRAMES = 4, SCROLL_NO_PARENT_FRAMES = 4,
@ -6171,7 +6171,7 @@ pub enum nsIPresShell__bindgen_ty_bindgen_id_150828 {
* transform. * transform.
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_151250 { pub enum nsIPresShell__bindgen_ty_bindgen_id_151252 {
RENDER_IS_UNTRUSTED = 1, RENDER_IS_UNTRUSTED = 1,
RENDER_IGNORE_VIEWPORT_SCROLLING = 2, RENDER_IGNORE_VIEWPORT_SCROLLING = 2,
RENDER_CARET = 4, RENDER_CARET = 4,
@ -6182,7 +6182,7 @@ pub enum nsIPresShell__bindgen_ty_bindgen_id_151250 {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_151268 { pub enum nsIPresShell__bindgen_ty_bindgen_id_151270 {
RENDER_IS_IMAGE = 256, RENDER_IS_IMAGE = 256,
RENDER_AUTO_SCALE = 128, RENDER_AUTO_SCALE = 128,
} }
@ -6195,7 +6195,7 @@ pub enum nsIPresShell__bindgen_ty_bindgen_id_151268 {
* transparent by default. * transparent by default.
*/ */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPresShell__bindgen_ty_bindgen_id_151384 { FORCE_DRAW = 1, } pub enum nsIPresShell__bindgen_ty_bindgen_id_151386 { FORCE_DRAW = 1, }
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsIPresShell_PointerCaptureInfo { pub struct nsIPresShell_PointerCaptureInfo {
@ -6582,67 +6582,67 @@ pub struct DOMPointInit {
impl Clone for DOMPointInit { impl Clone for DOMPointInit {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
pub const NODE_HAS_LISTENERMANAGER: _bindgen_ty_bindgen_id_152779 = pub const NODE_HAS_LISTENERMANAGER: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_HAS_LISTENERMANAGER; _bindgen_ty_bindgen_id_152781::NODE_HAS_LISTENERMANAGER;
pub const NODE_HAS_PROPERTIES: _bindgen_ty_bindgen_id_152779 = pub const NODE_HAS_PROPERTIES: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_HAS_PROPERTIES; _bindgen_ty_bindgen_id_152781::NODE_HAS_PROPERTIES;
pub const NODE_IS_ANONYMOUS_ROOT: _bindgen_ty_bindgen_id_152779 = pub const NODE_IS_ANONYMOUS_ROOT: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_IS_ANONYMOUS_ROOT; _bindgen_ty_bindgen_id_152781::NODE_IS_ANONYMOUS_ROOT;
pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: _bindgen_ty_bindgen_id_152779 = pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; _bindgen_ty_bindgen_id_152781::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: _bindgen_ty_bindgen_id_152779 = pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_IS_NATIVE_ANONYMOUS_ROOT; _bindgen_ty_bindgen_id_152781::NODE_IS_NATIVE_ANONYMOUS_ROOT;
pub const NODE_FORCE_XBL_BINDINGS: _bindgen_ty_bindgen_id_152779 = pub const NODE_FORCE_XBL_BINDINGS: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_FORCE_XBL_BINDINGS; _bindgen_ty_bindgen_id_152781::NODE_FORCE_XBL_BINDINGS;
pub const NODE_MAY_BE_IN_BINDING_MNGR: _bindgen_ty_bindgen_id_152779 = pub const NODE_MAY_BE_IN_BINDING_MNGR: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_MAY_BE_IN_BINDING_MNGR; _bindgen_ty_bindgen_id_152781::NODE_MAY_BE_IN_BINDING_MNGR;
pub const NODE_IS_EDITABLE: _bindgen_ty_bindgen_id_152779 = pub const NODE_IS_EDITABLE: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_IS_EDITABLE; _bindgen_ty_bindgen_id_152781::NODE_IS_EDITABLE;
pub const NODE_MAY_HAVE_CLASS: _bindgen_ty_bindgen_id_152779 = pub const NODE_MAY_HAVE_CLASS: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_MAY_HAVE_CLASS; _bindgen_ty_bindgen_id_152781::NODE_MAY_HAVE_CLASS;
pub const NODE_IS_IN_SHADOW_TREE: _bindgen_ty_bindgen_id_152779 = pub const NODE_IS_IN_SHADOW_TREE: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_IS_IN_SHADOW_TREE; _bindgen_ty_bindgen_id_152781::NODE_IS_IN_SHADOW_TREE;
pub const NODE_HAS_EMPTY_SELECTOR: _bindgen_ty_bindgen_id_152779 = pub const NODE_HAS_EMPTY_SELECTOR: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_HAS_EMPTY_SELECTOR; _bindgen_ty_bindgen_id_152781::NODE_HAS_EMPTY_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR: _bindgen_ty_bindgen_id_152779 = pub const NODE_HAS_SLOW_SELECTOR: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_HAS_SLOW_SELECTOR; _bindgen_ty_bindgen_id_152781::NODE_HAS_SLOW_SELECTOR;
pub const NODE_HAS_EDGE_CHILD_SELECTOR: _bindgen_ty_bindgen_id_152779 = pub const NODE_HAS_EDGE_CHILD_SELECTOR: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_HAS_EDGE_CHILD_SELECTOR; _bindgen_ty_bindgen_id_152781::NODE_HAS_EDGE_CHILD_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: _bindgen_ty_bindgen_id_152779 pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: _bindgen_ty_bindgen_id_152781
= =
_bindgen_ty_bindgen_id_152779::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; _bindgen_ty_bindgen_id_152781::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
pub const NODE_ALL_SELECTOR_FLAGS: _bindgen_ty_bindgen_id_152779 = pub const NODE_ALL_SELECTOR_FLAGS: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_ALL_SELECTOR_FLAGS; _bindgen_ty_bindgen_id_152781::NODE_ALL_SELECTOR_FLAGS;
pub const NODE_NEEDS_FRAME: _bindgen_ty_bindgen_id_152779 = pub const NODE_NEEDS_FRAME: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_NEEDS_FRAME; _bindgen_ty_bindgen_id_152781::NODE_NEEDS_FRAME;
pub const NODE_DESCENDANTS_NEED_FRAMES: _bindgen_ty_bindgen_id_152779 = pub const NODE_DESCENDANTS_NEED_FRAMES: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_DESCENDANTS_NEED_FRAMES; _bindgen_ty_bindgen_id_152781::NODE_DESCENDANTS_NEED_FRAMES;
pub const NODE_HAS_ACCESSKEY: _bindgen_ty_bindgen_id_152779 = pub const NODE_HAS_ACCESSKEY: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_HAS_ACCESSKEY; _bindgen_ty_bindgen_id_152781::NODE_HAS_ACCESSKEY;
pub const NODE_HAS_DIRECTION_RTL: _bindgen_ty_bindgen_id_152779 = pub const NODE_HAS_DIRECTION_RTL: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_HAS_DIRECTION_RTL; _bindgen_ty_bindgen_id_152781::NODE_HAS_DIRECTION_RTL;
pub const NODE_HAS_DIRECTION_LTR: _bindgen_ty_bindgen_id_152779 = pub const NODE_HAS_DIRECTION_LTR: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_HAS_DIRECTION_LTR; _bindgen_ty_bindgen_id_152781::NODE_HAS_DIRECTION_LTR;
pub const NODE_ALL_DIRECTION_FLAGS: _bindgen_ty_bindgen_id_152779 = pub const NODE_ALL_DIRECTION_FLAGS: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_ALL_DIRECTION_FLAGS; _bindgen_ty_bindgen_id_152781::NODE_ALL_DIRECTION_FLAGS;
pub const NODE_CHROME_ONLY_ACCESS: _bindgen_ty_bindgen_id_152779 = pub const NODE_CHROME_ONLY_ACCESS: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_CHROME_ONLY_ACCESS; _bindgen_ty_bindgen_id_152781::NODE_CHROME_ONLY_ACCESS;
pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: _bindgen_ty_bindgen_id_152779 = pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; _bindgen_ty_bindgen_id_152781::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
pub const NODE_SHARED_RESTYLE_BIT_1: _bindgen_ty_bindgen_id_152779 = pub const NODE_SHARED_RESTYLE_BIT_1: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_SHARED_RESTYLE_BIT_1; _bindgen_ty_bindgen_id_152781::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_SHARED_RESTYLE_BIT_2: _bindgen_ty_bindgen_id_152779 = pub const NODE_SHARED_RESTYLE_BIT_2: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_SHARED_RESTYLE_BIT_2; _bindgen_ty_bindgen_id_152781::NODE_SHARED_RESTYLE_BIT_2;
pub const NODE_IS_DIRTY_FOR_SERVO: _bindgen_ty_bindgen_id_152779 = pub const NODE_IS_DIRTY_FOR_SERVO: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_SHARED_RESTYLE_BIT_1; _bindgen_ty_bindgen_id_152781::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: _bindgen_ty_bindgen_id_152779 pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: _bindgen_ty_bindgen_id_152781
= =
_bindgen_ty_bindgen_id_152779::NODE_SHARED_RESTYLE_BIT_2; _bindgen_ty_bindgen_id_152781::NODE_SHARED_RESTYLE_BIT_2;
pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: _bindgen_ty_bindgen_id_152779 = pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: _bindgen_ty_bindgen_id_152781 =
_bindgen_ty_bindgen_id_152779::NODE_TYPE_SPECIFIC_BITS_OFFSET; _bindgen_ty_bindgen_id_152781::NODE_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_bindgen_id_152779 { pub enum _bindgen_ty_bindgen_id_152781 {
NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_LISTENERMANAGER = 4,
NODE_HAS_PROPERTIES = 8, NODE_HAS_PROPERTIES = 8,
NODE_IS_ANONYMOUS_ROOT = 16, NODE_IS_ANONYMOUS_ROOT = 16,
@ -6700,7 +6700,7 @@ pub struct nsITimer_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsITimer__bindgen_ty_bindgen_id_169492 { pub enum nsITimer__bindgen_ty_bindgen_id_169494 {
TYPE_ONE_SHOT = 0, TYPE_ONE_SHOT = 0,
TYPE_REPEATING_SLACK = 1, TYPE_REPEATING_SLACK = 1,
TYPE_REPEATING_PRECISE = 2, TYPE_REPEATING_PRECISE = 2,
@ -6726,7 +6726,7 @@ pub struct nsExpirationState {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsExpirationState__bindgen_ty_bindgen_id_169968 { pub enum nsExpirationState__bindgen_ty_bindgen_id_169970 {
NOT_TRACKED = 15, NOT_TRACKED = 15,
MAX_INDEX_IN_GENERATION = 268435455, MAX_INDEX_IN_GENERATION = 268435455,
} }
@ -6800,7 +6800,7 @@ pub struct imgIRequest_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum imgIRequest__bindgen_ty_bindgen_id_170555 { pub enum imgIRequest__bindgen_ty_bindgen_id_170557 {
STATUS_NONE = 0, STATUS_NONE = 0,
STATUS_SIZE_AVAILABLE = 1, STATUS_SIZE_AVAILABLE = 1,
STATUS_LOAD_COMPLETE = 2, STATUS_LOAD_COMPLETE = 2,
@ -6812,7 +6812,7 @@ pub enum imgIRequest__bindgen_ty_bindgen_id_170555 {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum imgIRequest__bindgen_ty_bindgen_id_170635 { pub enum imgIRequest__bindgen_ty_bindgen_id_170637 {
CORS_NONE = 1, CORS_NONE = 1,
CORS_ANONYMOUS = 2, CORS_ANONYMOUS = 2,
CORS_USE_CREDENTIALS = 3, CORS_USE_CREDENTIALS = 3,
@ -7311,7 +7311,7 @@ pub type nsPresArena_FreeList_KeyType = u32;
pub type nsPresArena_FreeList_KeyTypePointer = *const ::std::os::raw::c_void; pub type nsPresArena_FreeList_KeyTypePointer = *const ::std::os::raw::c_void;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsPresArena_FreeList__bindgen_ty_bindgen_id_191017 { pub enum nsPresArena_FreeList__bindgen_ty_bindgen_id_191019 {
ALLOW_MEMMOVE = 0, ALLOW_MEMMOVE = 0,
} }
#[test] #[test]
@ -7338,7 +7338,7 @@ pub struct imgINotificationObserver_COMTypeInfo<T, U> {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum imgINotificationObserver__bindgen_ty_bindgen_id_191164 { pub enum imgINotificationObserver__bindgen_ty_bindgen_id_191166 {
SIZE_AVAILABLE = 1, SIZE_AVAILABLE = 1,
FRAME_UPDATE = 2, FRAME_UPDATE = 2,
FRAME_COMPLETE = 3, FRAME_COMPLETE = 3,
@ -7587,7 +7587,7 @@ pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyTypePointer =
*const gfxFontFeatureValueSet_FeatureValueHashKey; *const gfxFontFeatureValueSet_FeatureValueHashKey;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_bindgen_id_192402 pub enum gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_bindgen_id_192404
{ {
ALLOW_MEMMOVE = 1, ALLOW_MEMMOVE = 1,
} }
@ -7983,23 +7983,23 @@ pub enum nsStyleUnit {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct _bindgen_ty_bindgen_id_193155 { pub struct _bindgen_ty_bindgen_id_193157 {
pub mInt: __BindgenUnionField<i32>, pub mInt: __BindgenUnionField<i32>,
pub mFloat: __BindgenUnionField<f32>, pub mFloat: __BindgenUnionField<f32>,
pub mPointer: __BindgenUnionField<*mut ::std::os::raw::c_void>, pub mPointer: __BindgenUnionField<*mut ::std::os::raw::c_void>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout__bindgen_ty_bindgen_id_193155() { fn bindgen_test_layout__bindgen_ty_bindgen_id_193157() {
assert_eq!(::std::mem::size_of::<_bindgen_ty_bindgen_id_193155>() , assert_eq!(::std::mem::size_of::<_bindgen_ty_bindgen_id_193157>() ,
8usize); 8usize);
assert_eq!(::std::mem::align_of::<_bindgen_ty_bindgen_id_193155>() , assert_eq!(::std::mem::align_of::<_bindgen_ty_bindgen_id_193157>() ,
8usize); 8usize);
} }
impl Clone for _bindgen_ty_bindgen_id_193155 { impl Clone for _bindgen_ty_bindgen_id_193157 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
pub type nsStyleUnion = _bindgen_ty_bindgen_id_193155; pub type nsStyleUnion = _bindgen_ty_bindgen_id_193157;
/** /**
* Class that hold a single size specification used by the style * Class that hold a single size specification used by the style
* system. The size specification consists of two parts -- a number * system. The size specification consists of two parts -- a number
@ -9045,7 +9045,7 @@ fn bindgen_test_layout_imgRequestProxy() {
assert_eq!(::std::mem::align_of::<imgRequestProxy>() , 8usize); assert_eq!(::std::mem::align_of::<imgRequestProxy>() , 8usize);
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_202196 { pub struct bindgen_vtable__bindgen_id_202198 {
} }
/** /**
* An interface for observing changes to image state, as reported by * An interface for observing changes to image state, as reported by
@ -9062,7 +9062,7 @@ pub struct bindgen_vtable__bindgen_id_202196 {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct IProgressObserver { pub struct IProgressObserver {
pub vtable_: *const bindgen_vtable__bindgen_id_202196, pub vtable_: *const bindgen_vtable__bindgen_id_202198,
pub _base: u64, pub _base: u64,
} }
#[test] #[test]
@ -9084,7 +9084,7 @@ pub struct nsISupportsPriority_COMTypeInfo<T, U> {
} }
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsISupportsPriority__bindgen_ty_bindgen_id_202272 { pub enum nsISupportsPriority__bindgen_ty_bindgen_id_202274 {
PRIORITY_HIGHEST = -20, PRIORITY_HIGHEST = -20,
PRIORITY_HIGH = -10, PRIORITY_HIGH = -10,
PRIORITY_NORMAL = 0, PRIORITY_NORMAL = 0,
@ -9519,7 +9519,7 @@ fn bindgen_test_layout_nsCSSValueFloatColor() {
#[derive(Debug)] #[derive(Debug)]
pub struct nsCSSValue { pub struct nsCSSValue {
pub mUnit: nsCSSUnit, pub mUnit: nsCSSUnit,
pub mValue: nsCSSValue__bindgen_ty_bindgen_id_205267, pub mValue: nsCSSValue__bindgen_ty_bindgen_id_205269,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
@ -9535,7 +9535,7 @@ fn bindgen_test_layout_nsCSSValue_Array() {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsCSSValue__bindgen_ty_bindgen_id_205267 { pub struct nsCSSValue__bindgen_ty_bindgen_id_205269 {
pub mInt: __BindgenUnionField<i32>, pub mInt: __BindgenUnionField<i32>,
pub mFloat: __BindgenUnionField<f32>, pub mFloat: __BindgenUnionField<f32>,
pub mString: __BindgenUnionField<*mut nsStringBuffer>, pub mString: __BindgenUnionField<*mut nsStringBuffer>,
@ -9560,13 +9560,13 @@ pub struct nsCSSValue__bindgen_ty_bindgen_id_205267 {
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsCSSValue__bindgen_ty_bindgen_id_205267() { fn bindgen_test_layout_nsCSSValue__bindgen_ty_bindgen_id_205269() {
assert_eq!(::std::mem::size_of::<nsCSSValue__bindgen_ty_bindgen_id_205267>() assert_eq!(::std::mem::size_of::<nsCSSValue__bindgen_ty_bindgen_id_205269>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsCSSValue__bindgen_ty_bindgen_id_205267>() assert_eq!(::std::mem::align_of::<nsCSSValue__bindgen_ty_bindgen_id_205269>()
, 8usize); , 8usize);
} }
impl Clone for nsCSSValue__bindgen_ty_bindgen_id_205267 { impl Clone for nsCSSValue__bindgen_ty_bindgen_id_205269 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -9587,12 +9587,12 @@ fn bindgen_test_layout_nsCSSValueGradientStop() {
assert_eq!(::std::mem::align_of::<nsCSSValueGradientStop>() , 8usize); assert_eq!(::std::mem::align_of::<nsCSSValueGradientStop>() , 8usize);
} }
#[repr(C)] #[repr(C)]
pub struct bindgen_vtable__bindgen_id_205475 { pub struct bindgen_vtable__bindgen_id_205477 {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct CounterStyle { pub struct CounterStyle {
pub vtable_: *const bindgen_vtable__bindgen_id_205475, pub vtable_: *const bindgen_vtable__bindgen_id_205477,
pub mStyle: i32, pub mStyle: i32,
} }
#[test] #[test]
@ -9792,25 +9792,25 @@ pub struct nsStyleImage {
pub mCachedBIData: UniquePtr<CachedBorderImageData, pub mCachedBIData: UniquePtr<CachedBorderImageData,
DefaultDelete<CachedBorderImageData>>, DefaultDelete<CachedBorderImageData>>,
pub mType: nsStyleImageType, pub mType: nsStyleImageType,
pub __bindgen_anon_1: nsStyleImage__bindgen_ty_bindgen_id_207443, pub __bindgen_anon_1: nsStyleImage__bindgen_ty_bindgen_id_207445,
pub mCropRect: UniquePtr<nsStyleSides, DefaultDelete<nsStyleSides>>, pub mCropRect: UniquePtr<nsStyleSides, DefaultDelete<nsStyleSides>>,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStyleImage__bindgen_ty_bindgen_id_207443 { pub struct nsStyleImage__bindgen_ty_bindgen_id_207445 {
pub mImage: __BindgenUnionField<*mut imgRequestProxy>, pub mImage: __BindgenUnionField<*mut imgRequestProxy>,
pub mGradient: __BindgenUnionField<*mut nsStyleGradient>, pub mGradient: __BindgenUnionField<*mut nsStyleGradient>,
pub mElementId: __BindgenUnionField<*mut u16>, pub mElementId: __BindgenUnionField<*mut u16>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsStyleImage__bindgen_ty_bindgen_id_207443() { fn bindgen_test_layout_nsStyleImage__bindgen_ty_bindgen_id_207445() {
assert_eq!(::std::mem::size_of::<nsStyleImage__bindgen_ty_bindgen_id_207443>() assert_eq!(::std::mem::size_of::<nsStyleImage__bindgen_ty_bindgen_id_207445>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsStyleImage__bindgen_ty_bindgen_id_207443>() assert_eq!(::std::mem::align_of::<nsStyleImage__bindgen_ty_bindgen_id_207445>()
, 8usize); , 8usize);
} }
impl Clone for nsStyleImage__bindgen_ty_bindgen_id_207443 { impl Clone for nsStyleImage__bindgen_ty_bindgen_id_207445 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -9861,7 +9861,7 @@ pub struct nsStyleImageLayers {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsStyleImageLayers__bindgen_ty_bindgen_id_207496 { pub enum nsStyleImageLayers__bindgen_ty_bindgen_id_207498 {
shorthand = 0, shorthand = 0,
color = 1, color = 1,
image = 2, image = 2,
@ -10361,7 +10361,7 @@ impl Clone for nsStyleImageOrientation {
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsTimingFunction { pub struct nsTimingFunction {
pub mType: nsTimingFunction_Type, pub mType: nsTimingFunction_Type,
pub __bindgen_anon_1: nsTimingFunction__bindgen_ty_bindgen_id_209249, pub __bindgen_anon_1: nsTimingFunction__bindgen_ty_bindgen_id_209251,
} }
#[repr(i32)] #[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
@ -10380,56 +10380,56 @@ pub enum nsTimingFunction_Type {
pub enum nsTimingFunction_Keyword { Implicit = 0, Explicit = 1, } pub enum nsTimingFunction_Keyword { Implicit = 0, Explicit = 1, }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsTimingFunction__bindgen_ty_bindgen_id_209249 { pub struct nsTimingFunction__bindgen_ty_bindgen_id_209251 {
pub mFunc: __BindgenUnionField<nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209250>, pub mFunc: __BindgenUnionField<nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209252>,
pub __bindgen_anon_1: __BindgenUnionField<nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209261>, pub __bindgen_anon_1: __BindgenUnionField<nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209263>,
pub bindgen_union_field: [u32; 4usize], pub bindgen_union_field: [u32; 4usize],
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209250 { pub struct nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209252 {
pub mX1: f32, pub mX1: f32,
pub mY1: f32, pub mY1: f32,
pub mX2: f32, pub mX2: f32,
pub mY2: f32, pub mY2: f32,
} }
#[test] #[test]
fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209250() { fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209252() {
assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209250>() assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209252>()
, 16usize); , 16usize);
assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209250>() assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209252>()
, 4usize); , 4usize);
} }
impl Clone for impl Clone for
nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209250 nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209252
{ {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209261 { pub struct nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209263 {
pub mSteps: u32, pub mSteps: u32,
} }
#[test] #[test]
fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209261() { fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209263() {
assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209261>() assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209263>()
, 4usize); , 4usize);
assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209261>() assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209263>()
, 4usize); , 4usize);
} }
impl Clone for impl Clone for
nsTimingFunction__bindgen_ty_bindgen_id_209249__bindgen_ty_bindgen_id_209261 nsTimingFunction__bindgen_ty_bindgen_id_209251__bindgen_ty_bindgen_id_209263
{ {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_209249() { fn bindgen_test_layout_nsTimingFunction__bindgen_ty_bindgen_id_209251() {
assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_209249>() assert_eq!(::std::mem::size_of::<nsTimingFunction__bindgen_ty_bindgen_id_209251>()
, 16usize); , 16usize);
assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_209249>() assert_eq!(::std::mem::align_of::<nsTimingFunction__bindgen_ty_bindgen_id_209251>()
, 4usize); , 4usize);
} }
impl Clone for nsTimingFunction__bindgen_ty_bindgen_id_209249 { impl Clone for nsTimingFunction__bindgen_ty_bindgen_id_209251 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -10490,13 +10490,13 @@ fn bindgen_test_layout_StyleBasicShape() {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct StyleShapeSource<ReferenceBox> { pub struct StyleShapeSource<ReferenceBox> {
pub __bindgen_anon_1: StyleShapeSource__bindgen_ty_bindgen_id_209632<ReferenceBox>, pub __bindgen_anon_1: StyleShapeSource__bindgen_ty_bindgen_id_209634<ReferenceBox>,
pub mType: StyleShapeSourceType, pub mType: StyleShapeSourceType,
pub mReferenceBox: ReferenceBox, pub mReferenceBox: ReferenceBox,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct StyleShapeSource__bindgen_ty_bindgen_id_209632<ReferenceBox> { pub struct StyleShapeSource__bindgen_ty_bindgen_id_209634<ReferenceBox> {
pub mBasicShape: __BindgenUnionField<*mut StyleBasicShape>, pub mBasicShape: __BindgenUnionField<*mut StyleBasicShape>,
pub mURL: __BindgenUnionField<*mut FragmentOrURL>, pub mURL: __BindgenUnionField<*mut FragmentOrURL>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
@ -10548,24 +10548,24 @@ pub enum nsStyleContentType {
#[derive(Debug)] #[derive(Debug)]
pub struct nsStyleContentData { pub struct nsStyleContentData {
pub mType: nsStyleContentType, pub mType: nsStyleContentType,
pub mContent: nsStyleContentData__bindgen_ty_bindgen_id_209716, pub mContent: nsStyleContentData__bindgen_ty_bindgen_id_209718,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStyleContentData__bindgen_ty_bindgen_id_209716 { pub struct nsStyleContentData__bindgen_ty_bindgen_id_209718 {
pub mString: __BindgenUnionField<*mut u16>, pub mString: __BindgenUnionField<*mut u16>,
pub mImage: __BindgenUnionField<*mut imgRequestProxy>, pub mImage: __BindgenUnionField<*mut imgRequestProxy>,
pub mCounters: __BindgenUnionField<*mut nsCSSValue_Array>, pub mCounters: __BindgenUnionField<*mut nsCSSValue_Array>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsStyleContentData__bindgen_ty_bindgen_id_209716() { fn bindgen_test_layout_nsStyleContentData__bindgen_ty_bindgen_id_209718() {
assert_eq!(::std::mem::size_of::<nsStyleContentData__bindgen_ty_bindgen_id_209716>() assert_eq!(::std::mem::size_of::<nsStyleContentData__bindgen_ty_bindgen_id_209718>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsStyleContentData__bindgen_ty_bindgen_id_209716>() assert_eq!(::std::mem::align_of::<nsStyleContentData__bindgen_ty_bindgen_id_209718>()
, 8usize); , 8usize);
} }
impl Clone for nsStyleContentData__bindgen_ty_bindgen_id_209716 { impl Clone for nsStyleContentData__bindgen_ty_bindgen_id_209718 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -10690,25 +10690,25 @@ pub enum nsStyleSVGPaintType {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsStyleSVGPaint { pub struct nsStyleSVGPaint {
pub mPaint: nsStyleSVGPaint__bindgen_ty_bindgen_id_210113, pub mPaint: nsStyleSVGPaint__bindgen_ty_bindgen_id_210115,
pub mType: nsStyleSVGPaintType, pub mType: nsStyleSVGPaintType,
pub mFallbackColor: nscolor, pub mFallbackColor: nscolor,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStyleSVGPaint__bindgen_ty_bindgen_id_210113 { pub struct nsStyleSVGPaint__bindgen_ty_bindgen_id_210115 {
pub mColor: __BindgenUnionField<nscolor>, pub mColor: __BindgenUnionField<nscolor>,
pub mPaintServer: __BindgenUnionField<*mut FragmentOrURL>, pub mPaintServer: __BindgenUnionField<*mut FragmentOrURL>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsStyleSVGPaint__bindgen_ty_bindgen_id_210113() { fn bindgen_test_layout_nsStyleSVGPaint__bindgen_ty_bindgen_id_210115() {
assert_eq!(::std::mem::size_of::<nsStyleSVGPaint__bindgen_ty_bindgen_id_210113>() assert_eq!(::std::mem::size_of::<nsStyleSVGPaint__bindgen_ty_bindgen_id_210115>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsStyleSVGPaint__bindgen_ty_bindgen_id_210113>() assert_eq!(::std::mem::align_of::<nsStyleSVGPaint__bindgen_ty_bindgen_id_210115>()
, 8usize); , 8usize);
} }
impl Clone for nsStyleSVGPaint__bindgen_ty_bindgen_id_210113 { impl Clone for nsStyleSVGPaint__bindgen_ty_bindgen_id_210115 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]
@ -10743,7 +10743,7 @@ pub struct nsStyleSVG {
} }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsStyleSVG__bindgen_ty_bindgen_id_210290 { pub enum nsStyleSVG__bindgen_ty_bindgen_id_210292 {
FILL_OPACITY_SOURCE_MASK = 3, FILL_OPACITY_SOURCE_MASK = 3,
STROKE_OPACITY_SOURCE_MASK = 12, STROKE_OPACITY_SOURCE_MASK = 12,
STROKE_DASHARRAY_CONTEXT = 16, STROKE_DASHARRAY_CONTEXT = 16,
@ -10762,23 +10762,23 @@ fn bindgen_test_layout_nsStyleSVG() {
pub struct nsStyleFilter { pub struct nsStyleFilter {
pub mType: i32, pub mType: i32,
pub mFilterParameter: nsStyleCoord, pub mFilterParameter: nsStyleCoord,
pub __bindgen_anon_1: nsStyleFilter__bindgen_ty_bindgen_id_210356, pub __bindgen_anon_1: nsStyleFilter__bindgen_ty_bindgen_id_210358,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)] #[derive(Debug, Copy)]
pub struct nsStyleFilter__bindgen_ty_bindgen_id_210356 { pub struct nsStyleFilter__bindgen_ty_bindgen_id_210358 {
pub mURL: __BindgenUnionField<*mut FragmentOrURL>, pub mURL: __BindgenUnionField<*mut FragmentOrURL>,
pub mDropShadow: __BindgenUnionField<*mut nsCSSShadowArray>, pub mDropShadow: __BindgenUnionField<*mut nsCSSShadowArray>,
pub bindgen_union_field: u64, pub bindgen_union_field: u64,
} }
#[test] #[test]
fn bindgen_test_layout_nsStyleFilter__bindgen_ty_bindgen_id_210356() { fn bindgen_test_layout_nsStyleFilter__bindgen_ty_bindgen_id_210358() {
assert_eq!(::std::mem::size_of::<nsStyleFilter__bindgen_ty_bindgen_id_210356>() assert_eq!(::std::mem::size_of::<nsStyleFilter__bindgen_ty_bindgen_id_210358>()
, 8usize); , 8usize);
assert_eq!(::std::mem::align_of::<nsStyleFilter__bindgen_ty_bindgen_id_210356>() assert_eq!(::std::mem::align_of::<nsStyleFilter__bindgen_ty_bindgen_id_210358>()
, 8usize); , 8usize);
} }
impl Clone for nsStyleFilter__bindgen_ty_bindgen_id_210356 { impl Clone for nsStyleFilter__bindgen_ty_bindgen_id_210358 {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[test] #[test]