diff options
Diffstat (limited to 'components/style/gecko/generated/structs_debug.rs')
-rw-r--r-- | components/style/gecko/generated/structs_debug.rs | 1425 |
1 files changed, 483 insertions, 942 deletions
diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs index ac85772bc49..e8386a2e044 100644 --- a/components/style/gecko/generated/structs_debug.rs +++ b/components/style/gecko/generated/structs_debug.rs @@ -1001,6 +1001,8 @@ pub mod root { } pub type pair_first_type<_T1> = _T1; pub type pair_second_type<_T2> = _T2; + pub type pair__PCCP = u8; + pub type pair__PCCFP = u8; #[repr(C)] #[derive(Debug, Copy)] pub struct input_iterator_tag { @@ -1154,11 +1156,6 @@ pub mod root { #[derive(Debug, Copy, Clone)] pub struct WeakReference { } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct ThreadLocal { - pub _address: u8, - } } pub type Conditional_Type<A> = A; #[repr(u32)] @@ -2399,7 +2396,7 @@ pub mod root { #[repr(C)] #[derive(Debug)] pub struct SRIMetadata { - pub mHashes: root::nsTArray<root::nsTString<::std::os::raw::c_char>>, + pub mHashes: root::nsTArray<root::nsCString>, pub mIntegrityString: ::nsstring::nsStringRepr, pub mAlgorithm: root::nsCString, pub mAlgorithmType: i8, @@ -5808,6 +5805,7 @@ pub mod root { assert_eq! (::std::mem::align_of::<Runnable>() , 8usize , concat ! ( "Alignment of " , stringify ! ( Runnable ) )); } + pub type Preferences_PrefSetting = root::mozilla::dom::PrefSetting; #[repr(C)] #[derive(Debug)] pub struct CycleCollectedJSContext_RunInMetastableStateData { @@ -6039,7 +6037,7 @@ pub mod root { #[repr(C)] #[derive(Debug)] pub struct LangGroupFontPrefs { - pub mLangGroup: root::nsCOMPtr<root::nsIAtom>, + pub mLangGroup: root::RefPtr<root::nsIAtom>, pub mMinimumFontSize: root::nscoord, pub mDefaultVariableFont: root::nsFont, pub mDefaultFixedFont: root::nsFont, @@ -6412,85 +6410,6 @@ pub mod root { impl Clone for XREAppData_NSFreePolicy { fn clone(&self) -> Self { *self } } - #[repr(C)] - pub struct SchedulerGroup__bindgen_vtable(::std::os::raw::c_void); - #[repr(C)] - #[derive(Debug, Copy)] - pub struct SchedulerGroup { - pub _bindgen_opaque_blob: [u64; 21usize], - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum SchedulerGroup_EnqueueStatus { - NewlyQueued = 0, - AlreadyQueued = 1, - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum SchedulerGroup_DequeueStatus { - StillQueued = 0, - NoLongerQueued = 1, - } - #[repr(C)] - #[derive(Debug)] - pub struct SchedulerGroup_Runnable { - pub _base: root::mozilla::Runnable, - pub _base_1: root::nsIRunnablePriority, - pub _base_2: root::nsILabelableRunnable, - pub mRunnable: root::nsCOMPtr<root::nsIRunnable>, - pub mGroup: root::RefPtr<root::mozilla::SchedulerGroup>, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct SchedulerGroup_Runnable_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_SchedulerGroup_Runnable() { - assert_eq!(::std::mem::size_of::<SchedulerGroup_Runnable>() , - 72usize , concat ! ( - "Size of: " , stringify ! ( SchedulerGroup_Runnable ) - )); - assert_eq! (::std::mem::align_of::<SchedulerGroup_Runnable>() , - 8usize , concat ! ( - "Alignment of " , stringify ! ( - SchedulerGroup_Runnable ) )); - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum SchedulerGroup_ValidationType { - StartValidation = 0, - EndValidation = 1, - } - #[test] - fn bindgen_test_layout_SchedulerGroup() { - assert_eq!(::std::mem::size_of::<SchedulerGroup>() , 168usize , - concat ! ( "Size of: " , stringify ! ( SchedulerGroup ) - )); - assert_eq! (::std::mem::align_of::<SchedulerGroup>() , 8usize , - concat ! ( - "Alignment of " , stringify ! ( SchedulerGroup ) )); - } - impl Clone for SchedulerGroup { - fn clone(&self) -> Self { *self } - } - #[test] - fn __bindgen_test_layout_ThreadLocal_open0_bool__close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::mozilla::detail::ThreadLocal>() - , 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::detail::ThreadLocal ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::detail::ThreadLocal>() - , 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! - ( root::mozilla::detail::ThreadLocal ) )); - } - extern "C" { - #[link_name = - "_ZN7mozilla14SchedulerGroup20sTlsValidatingAccessE"] - pub static mut SchedulerGroup_sTlsValidatingAccess: - root::mozilla::detail::ThreadLocal; - } pub mod image { #[allow(unused_imports)] use self::super::super::super::root; @@ -6671,7 +6590,7 @@ pub mod root { pub mDuration: f32, pub mDelay: f32, pub mProperty: root::nsCSSPropertyID, - pub mUnknownProperty: root::nsCOMPtr<root::nsIAtom>, + pub mUnknownProperty: root::RefPtr<root::nsIAtom>, } #[test] fn bindgen_test_layout_StyleTransition() { @@ -8144,6 +8063,8 @@ pub mod root { #[repr(C)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub struct OriginFlags(pub u8); + pub type ComputedKeyframeValues = + root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>; #[test] fn __bindgen_test_layout_DefaultDelete_open0_RawServoStyleSet_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , @@ -11802,7 +11723,7 @@ pub mod root { #[derive(Debug)] pub struct gfxFontFeatureValueSet_ValueList { pub name: ::nsstring::nsStringRepr, - pub featureSelectors: root::nsTArray<::std::os::raw::c_uint>, + pub featureSelectors: root::nsTArray<u32>, } #[test] fn bindgen_test_layout_gfxFontFeatureValueSet_ValueList() { @@ -11907,7 +11828,7 @@ pub mod root { pub struct gfxFontFeatureValueSet_FeatureValueHashEntry { pub _base: root::PLDHashEntryHdr, pub mKey: root::gfxFontFeatureValueSet_FeatureValueHashKey, - pub mValues: root::nsTArray<::std::os::raw::c_uint>, + pub mValues: root::nsTArray<u32>, } pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyType = *const root::gfxFontFeatureValueSet_FeatureValueHashKey; @@ -12005,7 +11926,7 @@ pub mod root { pub alternateValues: root::nsTArray<root::gfxAlternateValue>, pub featureValueLookup: root::RefPtr<root::gfxFontFeatureValueSet>, pub fontFeatureSettings: root::nsTArray<root::gfxFontFeature>, - pub fontVariationSettings: root::nsTArray<root::mozilla::gfx::FontVariation>, + pub fontVariationSettings: root::nsTArray<root::gfxFontVariation>, pub languageOverride: u32, } #[test] @@ -12615,7 +12536,7 @@ pub mod root { pub mScriptUnconstrainedSize: root::nscoord, pub mScriptMinSize: root::nscoord, pub mScriptSizeMultiplier: f32, - pub mLanguage: root::nsCOMPtr<root::nsIAtom>, + pub mLanguage: root::RefPtr<root::nsIAtom>, } pub const nsStyleFont_kHasFinishStyle: bool = false; #[test] @@ -13254,7 +13175,7 @@ pub mod root { pub mMarkerMid: root::RefPtr<root::mozilla::css::URLValue>, pub mMarkerStart: root::RefPtr<root::mozilla::css::URLValue>, pub mStrokeDasharray: root::nsTArray<root::nsStyleCoord>, - pub mContextProps: root::nsTArray<root::nsCOMPtr<root::nsIAtom>>, + pub mContextProps: root::nsTArray<root::RefPtr<root::nsIAtom>>, pub mStrokeDashoffset: root::nsStyleCoord, pub mStrokeWidth: root::nsStyleCoord, pub mFillOpacity: f32, @@ -13785,7 +13706,7 @@ pub mod root { pub mIsolation: u8, pub mTopLayer: u8, pub mWillChangeBitField: u8, - pub mWillChange: root::nsCOMArray, + pub mWillChange: root::nsTArray<root::RefPtr<root::nsIAtom>>, pub mTouchAction: u8, pub mScrollBehavior: u8, pub mScrollSnapTypeX: u8, @@ -15008,18 +14929,13 @@ pub mod root { "::" , stringify ! ( mStorageSize ) )); } #[repr(C)] - #[derive(Debug, Copy)] + #[derive(Debug)] pub struct nsIAtom { - pub _base: root::nsISupports, + pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, pub _bitfield_1: u32, pub mHash: u32, pub mString: *mut u16, } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIAtom_COMTypeInfo { - pub _address: u8, - } #[repr(u8)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum nsIAtom_AtomKind { @@ -15027,6 +14943,7 @@ pub mod root { StaticAtom = 1, HTML5Atom = 2, } + pub type nsIAtom_HasThreadSafeRefCnt = root::mozilla::TrueType; #[test] fn bindgen_test_layout_nsIAtom() { assert_eq!(::std::mem::size_of::<nsIAtom>() , 24usize , concat ! ( @@ -15034,6 +14951,11 @@ pub mod root { assert_eq! (::std::mem::align_of::<nsIAtom>() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsIAtom ) )); assert_eq! (unsafe { + & ( * ( 0 as * const nsIAtom ) ) . mRefCnt as * const _ as + usize } , 0usize , concat ! ( + "Alignment of field: " , stringify ! ( nsIAtom ) , "::" , + stringify ! ( mRefCnt ) )); + assert_eq! (unsafe { & ( * ( 0 as * const nsIAtom ) ) . mHash as * const _ as usize } , 12usize , concat ! ( "Alignment of field: " , stringify ! ( nsIAtom ) , "::" , @@ -15044,9 +14966,6 @@ pub mod root { "Alignment of field: " , stringify ! ( nsIAtom ) , "::" , stringify ! ( mString ) )); } - impl Clone for nsIAtom { - fn clone(&self) -> Self { *self } - } impl nsIAtom { #[inline] pub fn mLength(&self) -> u32 { @@ -16297,7 +16216,7 @@ pub mod root { pub mUpgradeInsecurePreloads: bool, pub mHSTSPrimingURIList: [u64; 5usize], pub mDocumentContainer: u64, - pub mCharacterSet: root::mozilla::NotNull<*const root::mozilla::Encoding>, + pub mCharacterSet: root::mozilla::NotNull<*const root::nsIDocument_Encoding>, pub mCharacterSetSource: i32, pub mParentDocument: *mut root::nsIDocument, pub mCachedRootElement: *mut root::mozilla::dom::Element, @@ -16349,7 +16268,7 @@ pub mod root { /// The current frame request callback handle pub mFrameRequestCallbackCounter: i32, pub mStaticCloneCount: u32, - pub mBlockedTrackingNodes: root::nsTArray<root::nsCOMPtr<root::nsIWeakReference>>, + pub mBlockedTrackingNodes: root::nsTArray<root::nsWeakPtr>, pub mWindow: *mut root::nsPIDOMWindowInner, pub mCachedEncoder: root::nsCOMPtr<root::nsIDocumentEncoder>, pub mFrameRequestCallbacks: root::nsTArray<root::nsIDocument_FrameRequest>, @@ -16626,8 +16545,8 @@ pub mod root { #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum nsIDocument_ElementCallbackType { eCreated = 0, - eAttached = 1, - eDetached = 2, + eConnected = 1, + eDisconnected = 2, eAttributeChanged = 3, } pub const nsIDocument_eScopedStyle_Unknown: @@ -19300,7 +19219,7 @@ pub mod root { pub mRefCnt: root::nsCycleCollectingAutoRefCnt, pub _mOwningThread: root::nsAutoOwningThread, pub mBoundContentSet: u64, - pub mWrapperTable: u64, + pub mWrapperTable: root::nsAutoPtr<root::nsBindingManager_WrapperHashtable>, pub mDocumentTable: u64, pub mLoadingDocTable: u64, pub mAttachedStack: root::nsBindingList, @@ -19433,7 +19352,7 @@ pub mod root { pub struct nsCSSCounterStyleRule { pub _base: root::mozilla::css::Rule, pub _base_1: root::nsIDOMCSSCounterStyleRule, - pub mName: root::nsCOMPtr<root::nsIAtom>, + pub mName: root::RefPtr<root::nsIAtom>, pub mValues: [root::nsCSSValue; 10usize], pub mGeneration: u32, } @@ -19588,7 +19507,7 @@ pub mod root { #[repr(C)] #[derive(Debug)] pub struct nsStyleContext { - pub mPseudoTag: root::nsCOMPtr<root::nsIAtom>, + pub mPseudoTag: root::RefPtr<root::nsIAtom>, pub mBits: u64, pub mFrameRefCnt: u32, } @@ -19645,10 +19564,10 @@ pub mod root { pub mRestyleManager: root::RefPtr<root::mozilla::RestyleManager>, pub mCounterStyleManager: root::RefPtr<root::mozilla::CounterStyleManager>, pub mMedium: *mut root::nsIAtom, - pub mMediaEmulated: root::nsCOMPtr<root::nsIAtom>, + pub mMediaEmulated: root::RefPtr<root::nsIAtom>, pub mFontFeatureValuesLookup: root::RefPtr<root::gfxFontFeatureValueSet>, pub mLinkHandler: *mut root::nsILinkHandler, - pub mLanguage: root::nsCOMPtr<root::nsIAtom>, + pub mLanguage: root::RefPtr<root::nsIAtom>, pub mInflationDisabledForShrinkWrap: bool, pub mContainer: u64, pub mBaseMinFontSize: i32, @@ -19706,7 +19625,7 @@ pub mod root { pub mTelemetryScrollMaxY: root::nscoord, pub mTelemetryScrollTotalY: root::nscoord, pub _bitfield_1: [u8; 7usize], - pub mLayoutPhaseCount: [u32; 3usize], + pub mLayoutPhaseCount: [u32; 4usize], } pub type nsPresContext_Encoding = root::mozilla::Encoding; pub type nsPresContext_NotNull<T> = root::mozilla::NotNull<T>; @@ -19829,7 +19748,7 @@ pub mod root { } #[test] fn bindgen_test_layout_nsPresContext() { - assert_eq!(::std::mem::size_of::<nsPresContext>() , 1328usize , concat + assert_eq!(::std::mem::size_of::<nsPresContext>() , 1336usize , concat ! ( "Size of: " , stringify ! ( nsPresContext ) )); assert_eq! (::std::mem::align_of::<nsPresContext>() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsPresContext ) )); @@ -22774,7 +22693,7 @@ pub mod root { pub mBits: usize, } pub type nsAttrValue_AtomArray = - root::nsTArray<root::nsCOMPtr<root::nsIAtom>>; + root::nsTArray<root::RefPtr<root::nsIAtom>>; pub const nsAttrValue_ValueType_eSVGTypesBegin: root::nsAttrValue_ValueType = nsAttrValue_ValueType::eSVGAngle; @@ -23135,7 +23054,7 @@ pub mod root { pub struct nsIGlobalObject { pub _base: root::nsISupports, pub _base_1: root::mozilla::dom::DispatcherTrait, - pub mHostObjectURIs: root::nsTArray<root::nsTString<::std::os::raw::c_char>>, + pub mHostObjectURIs: root::nsTArray<root::nsCString>, pub mIsDying: bool, } #[repr(C)] @@ -23259,7 +23178,7 @@ pub mod root { pub _base_1: root::nsWrapperCache, pub mRefCnt: root::nsCycleCollectingAutoRefCnt, pub _mOwningThread: root::nsAutoOwningThread, - pub mContent: root::nsCOMPtr<root::mozilla::dom::Element>, + pub mContent: root::nsCOMPtr<root::nsDOMAttributeMap_Element>, /// Cache of Attrs. pub mAttributeCache: root::nsDOMAttributeMap_AttrCache, } @@ -24631,57 +24550,57 @@ pub mod root { pub struct nsRange { _unused: [u8; 0], } - pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_HAS_LISTENERMANAGER; - pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_HAS_PROPERTIES; - pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_IS_ANONYMOUS_ROOT; - pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; - pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_IS_NATIVE_ANONYMOUS_ROOT; - pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_FORCE_XBL_BINDINGS; - pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_MAY_BE_IN_BINDING_MNGR; - pub const NODE_IS_EDITABLE: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_IS_EDITABLE; - pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_IS_NATIVE_ANONYMOUS; - pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_IS_IN_SHADOW_TREE; - pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_HAS_EMPTY_SELECTOR; - pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_HAS_SLOW_SELECTOR; - pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_HAS_EDGE_CHILD_SELECTOR; - pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; - pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_ALL_SELECTOR_FLAGS; - pub const NODE_NEEDS_FRAME: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_NEEDS_FRAME; - pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_DESCENDANTS_NEED_FRAMES; - pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_HAS_ACCESSKEY; - pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_HAS_DIRECTION_RTL; - pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_HAS_DIRECTION_LTR; - pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_ALL_DIRECTION_FLAGS; - pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_CHROME_ONLY_ACCESS; - pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; - pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_84 = - _bindgen_ty_84::NODE_TYPE_SPECIFIC_BITS_OFFSET; + pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_HAS_LISTENERMANAGER; + pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_HAS_PROPERTIES; + pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_IS_ANONYMOUS_ROOT; + pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; + pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_IS_NATIVE_ANONYMOUS_ROOT; + pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_FORCE_XBL_BINDINGS; + pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_MAY_BE_IN_BINDING_MNGR; + pub const NODE_IS_EDITABLE: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_IS_EDITABLE; + pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_IS_NATIVE_ANONYMOUS; + pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_IS_IN_SHADOW_TREE; + pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_HAS_EMPTY_SELECTOR; + pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_HAS_SLOW_SELECTOR; + pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_HAS_EDGE_CHILD_SELECTOR; + pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; + pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_ALL_SELECTOR_FLAGS; + pub const NODE_NEEDS_FRAME: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_NEEDS_FRAME; + pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_DESCENDANTS_NEED_FRAMES; + pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_HAS_ACCESSKEY; + pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_HAS_DIRECTION_RTL; + pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_HAS_DIRECTION_LTR; + pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_ALL_DIRECTION_FLAGS; + pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_CHROME_ONLY_ACCESS; + pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; + pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_72 = + _bindgen_ty_72::NODE_TYPE_SPECIFIC_BITS_OFFSET; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum _bindgen_ty_84 { + pub enum _bindgen_ty_72 { NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_PROPERTIES = 8, NODE_IS_ANONYMOUS_ROOT = 16, @@ -25336,24 +25255,11 @@ pub mod root { impl Clone for nsIEventTarget { fn clone(&self) -> Self { *self } } - /// templated hashtable class maps keys to interface pointers. - /// See nsBaseHashtable for complete declaration. - /// @param KeyClass a wrapper-class for the hashtable key, see nsHashKeys.h - /// for a complete specification. - /// @param Interface the interface-type being wrapped - /// @see nsDataHashtable, nsClassHashtable - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsInterfaceHashtable { - } - pub type nsInterfaceHashtable_KeyType = [u8; 0usize]; - pub type nsInterfaceHashtable_UserDataType<Interface> = *mut Interface; - pub type nsInterfaceHashtable_base_type = u8; #[repr(C)] #[derive(Debug)] pub struct nsLanguageAtomService { pub mLangToGroup: [u64; 5usize], - pub mLocaleLanguage: root::nsCOMPtr<root::nsIAtom>, + pub mLocaleLanguage: root::RefPtr<root::nsIAtom>, } pub type nsLanguageAtomService_Encoding = root::mozilla::Encoding; pub type nsLanguageAtomService_NotNull<T> = root::mozilla::NotNull<T>; @@ -25420,44 +25326,6 @@ pub mod root { impl Clone for nsIRunnable { fn clone(&self) -> Self { *self } } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIRunnablePriority { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIRunnablePriority_COMTypeInfo { - pub _address: u8, - } - pub const nsIRunnablePriority_PRIORITY_NORMAL: - root::nsIRunnablePriority__bindgen_ty_1 = - nsIRunnablePriority__bindgen_ty_1::PRIORITY_NORMAL; - pub const nsIRunnablePriority_PRIORITY_INPUT: - root::nsIRunnablePriority__bindgen_ty_1 = - nsIRunnablePriority__bindgen_ty_1::PRIORITY_INPUT; - pub const nsIRunnablePriority_PRIORITY_HIGH: - root::nsIRunnablePriority__bindgen_ty_1 = - nsIRunnablePriority__bindgen_ty_1::PRIORITY_HIGH; - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsIRunnablePriority__bindgen_ty_1 { - PRIORITY_NORMAL = 0, - PRIORITY_INPUT = 1, - PRIORITY_HIGH = 2, - } - #[test] - fn bindgen_test_layout_nsIRunnablePriority() { - assert_eq!(::std::mem::size_of::<nsIRunnablePriority>() , 8usize , - concat ! ( - "Size of: " , stringify ! ( nsIRunnablePriority ) )); - assert_eq! (::std::mem::align_of::<nsIRunnablePriority>() , 8usize , - concat ! ( - "Alignment of " , stringify ! ( nsIRunnablePriority ) )); - } - impl Clone for nsIRunnablePriority { - fn clone(&self) -> Self { *self } - } pub type nsRunnableMethod_BaseType = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -28351,28 +28219,6 @@ pub mod root { impl Clone for nsCSSProps { fn clone(&self) -> Self { *self } } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsILabelableRunnable { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsILabelableRunnable_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsILabelableRunnable() { - assert_eq!(::std::mem::size_of::<nsILabelableRunnable>() , 8usize , - concat ! ( - "Size of: " , stringify ! ( nsILabelableRunnable ) )); - assert_eq! (::std::mem::align_of::<nsILabelableRunnable>() , 8usize , - concat ! ( - "Alignment of " , stringify ! ( nsILabelableRunnable ) )); - } - impl Clone for nsILabelableRunnable { - fn clone(&self) -> Self { *self } - } /// Class to safely handle main-thread-only pointers off the main thread. /// /// Classes like XPCWrappedJS are main-thread-only, which means that it is @@ -28438,7 +28284,7 @@ pub mod root { pub mRefCnt: root::nsAutoRefCnt, pub _mOwningThread: root::nsAutoOwningThread, pub mBehaviour: root::mozilla::UniquePtr<root::ProxyBehaviour>, - pub mURI: root::RefPtr<root::mozilla::image::ImageURL>, + pub mURI: root::RefPtr<root::imgRequestProxy_ImageURL>, pub mListener: *mut root::imgINotificationObserver, pub mLoadGroup: root::nsCOMPtr<root::nsILoadGroup>, pub mTabGroup: root::RefPtr<root::mozilla::dom::TabGroup>, @@ -30587,7 +30433,7 @@ pub mod root { #[repr(C)] #[derive(Debug)] pub struct nsBorderColors { - pub mColors: [root::nsTArray<::std::os::raw::c_uint>; 4usize], + pub mColors: [root::nsTArray<root::nscolor>; 4usize], } #[test] fn bindgen_test_layout_nsBorderColors() { @@ -30611,8 +30457,7 @@ pub mod root { pub mQuotePairs: root::nsStyleQuoteValues_QuotePairArray, } pub type nsStyleQuoteValues_QuotePairArray = - root::nsTArray<root::std::pair<::nsstring::nsStringRepr, - ::nsstring::nsStringRepr>>; + root::nsTArray<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>; pub type nsStyleQuoteValues_HasThreadSafeRefCnt = root::mozilla::TrueType; #[test] fn bindgen_test_layout_nsStyleQuoteValues() { @@ -31617,7 +31462,7 @@ pub mod root { pub type RawGeckoPropertyValuePairList = root::nsTArray<root::mozilla::PropertyValuePair>; pub type RawGeckoComputedKeyframeValuesList = - root::nsTArray<root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>>; + root::nsTArray<root::mozilla::ComputedKeyframeValues>; pub type RawGeckoStyleAnimationList = root::nsStyleAutoArray<root::mozilla::StyleAnimation>; pub type RawGeckoFontFaceRuleList = @@ -32290,51 +32135,51 @@ pub mod root { assert_eq! (::std::mem::align_of::<nsISMILAttr>() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsISMILAttr ) )); } - pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_1; - pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_2; - pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_3; - pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_4; - pub const ELEMENT_SHARED_RESTYLE_BITS: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BITS; - pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_1; + pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_1; + pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_2; + pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_3; + pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_4; + pub const ELEMENT_SHARED_RESTYLE_BITS: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BITS; + pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_1; pub const ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO: - root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_2; - pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_3; - pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_4; - pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_1; - pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_2; - pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_86 + root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_2; + pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_3; + pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_4; + pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_1; + pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_2; + pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_74 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_3; + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_3; pub const ELEMENT_IS_POTENTIAL_ANIMATION_ONLY_RESTYLE_ROOT: - root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_SHARED_RESTYLE_BIT_4; - pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR; - pub const ELEMENT_HAS_CHILD_WITH_LATER_SIBLINGS_HINT: root::_bindgen_ty_86 + root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_4; + pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR; + pub const ELEMENT_HAS_CHILD_WITH_LATER_SIBLINGS_HINT: root::_bindgen_ty_74 = - _bindgen_ty_86::ELEMENT_HAS_CHILD_WITH_LATER_SIBLINGS_HINT; - pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_PENDING_RESTYLE_FLAGS; - pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS; - pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_ALL_RESTYLE_FLAGS; - pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_86 = - _bindgen_ty_86::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET; + _bindgen_ty_74::ELEMENT_HAS_CHILD_WITH_LATER_SIBLINGS_HINT; + pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_PENDING_RESTYLE_FLAGS; + pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS; + pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_ALL_RESTYLE_FLAGS; + pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_74 = + _bindgen_ty_74::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum _bindgen_ty_86 { + pub enum _bindgen_ty_74 { ELEMENT_SHARED_RESTYLE_BIT_1 = 8388608, ELEMENT_SHARED_RESTYLE_BIT_2 = 16777216, ELEMENT_SHARED_RESTYLE_BIT_3 = 33554432, @@ -32737,6 +32582,19 @@ pub mod root { pageBreak = 6, _Count = 7, } + /// templated hashtable class maps keys to interface pointers. + /// See nsBaseHashtable for complete declaration. + /// @param KeyClass a wrapper-class for the hashtable key, see nsHashKeys.h + /// for a complete specification. + /// @param Interface the interface-type being wrapped + /// @see nsDataHashtable, nsClassHashtable + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsInterfaceHashtable { + } + pub type nsInterfaceHashtable_KeyType = [u8; 0usize]; + pub type nsInterfaceHashtable_UserDataType<Interface> = *mut Interface; + pub type nsInterfaceHashtable_base_type = u8; pub type nsBindingList = root::nsTArray<root::RefPtr<root::nsXBLBinding>>; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -32881,7 +32739,7 @@ pub mod root { pub mHasOnly: bool, pub mTypeOmitted: bool, pub mHadUnknownExpression: bool, - pub mMediaType: root::nsCOMPtr<root::nsIAtom>, + pub mMediaType: root::RefPtr<root::nsIAtom>, pub mExpressions: root::nsTArray<root::nsMediaExpression>, } #[test] @@ -32985,28 +32843,15 @@ pub mod root { root::nsTString<::std::os::raw::c_char> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char_close1_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); - } - #[test] - fn __bindgen_test_layout_nsTString_open0_char_close0_instantiation_1() { - assert_eq!(::std::mem::size_of::<root::nsTString<::std::os::raw::c_char>>() - , 16usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsCString_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); - assert_eq!(::std::mem::align_of::<root::nsTString<::std::os::raw::c_char>>() - , 8usize , concat ! ( + root::nsTArray<root::nsCString> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); + root::nsTArray<root::nsCString> ) )); } #[test] fn __bindgen_test_layout_UniquePtr_open0_JSErrorNotes_DeletePolicy_open1_JSErrorNotes_close1_close0_instantiation() { @@ -33055,28 +32900,17 @@ pub mod root { )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_1() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] fn __bindgen_test_layout_nsTArray_open0_FontFamilyName_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FontFamilyName>>() , 8usize , concat ! ( @@ -33099,26 +32933,26 @@ pub mod root { root::nsTArray<root::mozilla::FontFamilyName> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_uint32_t_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + root::nsTArray<u32> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); + root::nsTArray<u32> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_1() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_uint32_t_close0_instantiation_1() { + assert_eq!(::std::mem::size_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + root::nsTArray<u32> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); + root::nsTArray<u32> ) )); } #[test] fn __bindgen_test_layout_nsTArray_open0_gfxFontFeatureValueSet_ValueList_close0_instantiation() { @@ -33134,37 +32968,37 @@ pub mod root { )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_2() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_uint32_t_close0_instantiation_2() { + assert_eq!(::std::mem::size_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + root::nsTArray<u32> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); + root::nsTArray<u32> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_3() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_uint32_t_close0_instantiation_3() { + assert_eq!(::std::mem::size_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + root::nsTArray<u32> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); + root::nsTArray<u32> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_4() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_uint32_t_close0_instantiation_4() { + assert_eq!(::std::mem::size_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + root::nsTArray<u32> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<u32>>() , 8usize , + concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); + root::nsTArray<u32> ) )); } #[test] fn __bindgen_test_layout_nsTArray_open0_gfxAlternateValue_close0_instantiation() { @@ -33200,18 +33034,18 @@ pub mod root { root::nsTArray<root::gfxFontFeature> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_FontVariation_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::gfx::FontVariation>>() + fn __bindgen_test_layout_nsTArray_open0_gfxFontVariation_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::gfxFontVariation>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<root::mozilla::gfx::FontVariation> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::mozilla::gfx::FontVariation>>() + root::nsTArray<root::gfxFontVariation> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::gfxFontVariation>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::mozilla::gfx::FontVariation> ) )); + root::nsTArray<root::gfxFontVariation> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_226146_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_199905_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsCSSSelector>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -33222,15 +33056,15 @@ pub mod root { root::nsTArray<*mut root::nsCSSSelector> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_RefPtr_open0_nsStyleImageRequest_close0_instantiation() { @@ -33321,26 +33155,26 @@ pub mod root { root::nsTArray<root::nsStyleCoord> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsCOMPtr_open1_nsIAtom_close1_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIAtom>>>() + fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsIAtom_close1_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsCOMPtr<root::nsIAtom>> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCOMPtr<root::nsIAtom>>>() + root::nsTArray<root::RefPtr<root::nsIAtom>> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsCOMPtr<root::nsIAtom>> ) )); + root::nsTArray<root::RefPtr<root::nsIAtom>> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_1() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_1() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_UniquePtr_open0_nsStyleGridTemplate_DefaultDelete_open1_nsStyleGridTemplate_close1_close0_instantiation() { @@ -33400,15 +33234,26 @@ pub mod root { )); } #[test] - fn __bindgen_test_layout_nsCOMArray_open0_nsIAtom_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsCOMArray>() , 8usize , concat - ! ( + fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsIAtom_close1_close0_instantiation_1() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>() + , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMArray ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMArray>() , 8usize , - concat ! ( + root::nsTArray<root::RefPtr<root::nsIAtom>> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>() + , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMArray ) )); + root::nsTArray<root::RefPtr<root::nsIAtom>> ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_2() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_nsTArray_open0_Position_close0_instantiation() { @@ -33567,29 +33412,18 @@ pub mod root { root::RefPtr<root::mozilla::ServoStyleContext> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_1() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_1() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_2() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_227994_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_201750_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -33754,7 +33588,7 @@ pub mod root { root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_233624__bindgen_ty_id_233631_close0_instantiation() { + fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_207354__bindgen_ty_id_207361_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::std::iterator>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -33897,52 +33731,26 @@ pub mod root { root::nsCOMPtr<root::nsIPrincipal> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char_close1_close0_instantiation_1() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); - } - #[test] - fn __bindgen_test_layout_nsTString_open0_char_close0_instantiation_2() { - assert_eq!(::std::mem::size_of::<root::nsTString<::std::os::raw::c_char>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); - assert_eq!(::std::mem::align_of::<root::nsTString<::std::os::raw::c_char>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char_close1_close0_instantiation_2() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsCString_close0_instantiation_1() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( + root::nsTArray<root::nsCString> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); + root::nsTArray<root::nsCString> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char_close0_instantiation_3() { - assert_eq!(::std::mem::size_of::<root::nsTString<::std::os::raw::c_char>>() - , 16usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsCString_close0_instantiation_2() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); - assert_eq!(::std::mem::align_of::<root::nsTString<::std::os::raw::c_char>>() - , 8usize , concat ! ( + root::nsTArray<root::nsCString> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); + root::nsTArray<root::nsCString> ) )); } #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation() { @@ -34061,15 +33869,15 @@ pub mod root { root::RefPtr<root::mozilla::StyleSheet> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_236161_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_209868_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIDocument_Element>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<*mut root::mozilla::dom::Element> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() + root::nsTArray<*mut root::nsIDocument_Element> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIDocument_Element>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<*mut root::mozilla::dom::Element> ) )); + root::nsTArray<*mut root::nsIDocument_Element> ) )); } #[test] fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_Element_close1_close0_instantiation() { @@ -34129,15 +33937,15 @@ pub mod root { root::nsCOMPtr<root::nsIObserver> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_236466_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_210173_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIDocument_Element>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<*mut root::mozilla::dom::Element> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() + root::nsTArray<*mut root::nsIDocument_Element> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIDocument_Element>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<*mut root::mozilla::dom::Element> ) )); + root::nsTArray<*mut root::nsIDocument_Element> ) )); } #[test] fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_Element_close1_close0_instantiation_1() { @@ -34241,16 +34049,16 @@ pub mod root { root::RefPtr<root::mozilla::URLExtraData> ) )); } #[test] - fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_237017_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::mozilla::NotNull<*const root::mozilla::Encoding>>() + fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_210724_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::mozilla::NotNull<*const root::nsIDocument_Encoding>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::mozilla::NotNull<*const root::mozilla::Encoding> ) + root::mozilla::NotNull<*const root::nsIDocument_Encoding> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::NotNull<*const root::mozilla::Encoding>>() + assert_eq!(::std::mem::align_of::<root::mozilla::NotNull<*const root::nsIDocument_Encoding>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::mozilla::NotNull<*const root::mozilla::Encoding> ) + root::mozilla::NotNull<*const root::nsIDocument_Encoding> ) )); } #[test] @@ -34452,28 +34260,15 @@ pub mod root { root::nsCOMPtr<root::nsIDocument> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsCOMPtr_open1_nsIWeakReference_close1_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIWeakReference>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsCOMPtr<root::nsIWeakReference>> ) - )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCOMPtr<root::nsIWeakReference>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsCOMPtr<root::nsIWeakReference>> ) - )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIWeakReference_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsWeakPtr_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsWeakPtr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIWeakReference> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIWeakReference>>() - , 8usize , concat ! ( + root::nsTArray<root::nsWeakPtr> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsWeakPtr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIWeakReference> ) )); + root::nsTArray<root::nsWeakPtr> ) )); } #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocumentEncoder_close0_instantiation() { @@ -34678,7 +34473,7 @@ pub mod root { root::RefPtr<root::mozilla::StyleSheet> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_237448_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_211151_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34744,28 +34539,15 @@ pub mod root { root::RefPtr<root::mozilla::StyleSheet> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char_close1_close0_instantiation_3() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); - } - #[test] - fn __bindgen_test_layout_nsTString_open0_char_close0_instantiation_4() { - assert_eq!(::std::mem::size_of::<root::nsTString<::std::os::raw::c_char>>() - , 16usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsCString_close0_instantiation_3() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); - assert_eq!(::std::mem::align_of::<root::nsTString<::std::os::raw::c_char>>() - , 8usize , concat ! ( + root::nsTArray<root::nsCString> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); + root::nsTArray<root::nsCString> ) )); } #[test] fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_ServoStyleSheet_close1_close0_instantiation() { @@ -34794,7 +34576,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_237864_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_211564_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34917,29 +34699,18 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_2() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_2() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_3() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_238839_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_212537_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34970,13 +34741,17 @@ pub mod root { root::nsRefPtrHashKey<root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsAutoPtr_open0_nsInterfaceHashtable_open1_nsISupportsHashKey_nsIXPConnectWrappedJS_close1_close0_instantiation() { - assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( u64 ) + fn __bindgen_test_layout_nsAutoPtr_open0_nsBindingManager_WrapperHashtable_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsAutoPtr<root::nsBindingManager_WrapperHashtable>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsAutoPtr<root::nsBindingManager_WrapperHashtable> ) )); - assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsAutoPtr<root::nsBindingManager_WrapperHashtable>>() + , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - u64 ) )); + root::nsAutoPtr<root::nsBindingManager_WrapperHashtable> ) + )); } #[test] fn __bindgen_test_layout_nsAutoPtr_open0_nsRefPtrHashtable_open1_nsURIHashKey_nsXBLDocumentInfo_close1_close0_instantiation() { @@ -35006,15 +34781,15 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_2() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_3() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_RefPtr_open0_nsCSSFontFaceRule_close0_instantiation() { @@ -35028,7 +34803,7 @@ pub mod root { root::RefPtr<root::nsCSSFontFaceRule> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239151_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_212846_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35039,7 +34814,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239156_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_212851_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35050,15 +34825,15 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_3() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_4() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIStyleRule_close0_instantiation() { @@ -35096,7 +34871,7 @@ pub mod root { root::RefPtr<root::mozilla::CSSStyleSheet> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239652_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_213347_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35265,15 +35040,15 @@ pub mod root { root::RefPtr<root::mozilla::CounterStyleManager> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_4() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_5() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_RefPtr_open0_gfxFontFeatureValueSet_close0_instantiation_1() { @@ -35287,15 +35062,15 @@ pub mod root { root::RefPtr<root::gfxFontFeatureValueSet> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_5() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_6() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsITheme_close0_instantiation() { @@ -35397,26 +35172,26 @@ pub mod root { root::nsRefPtrHashKey<root::nsIAtom> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsCOMPtr_open1_nsIAtom_close1_close0_instantiation_1() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIAtom>>>() + fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsIAtom_close1_close0_instantiation_2() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsCOMPtr<root::nsIAtom>> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCOMPtr<root::nsIAtom>>>() + root::nsTArray<root::RefPtr<root::nsIAtom>> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsCOMPtr<root::nsIAtom>> ) )); + root::nsTArray<root::RefPtr<root::nsIAtom>> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_6() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_7() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation_4() { @@ -35463,61 +35238,37 @@ pub mod root { root::RefPtr<root::nsNodeInfoManager> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char_close1_close0_instantiation_4() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsTString<::std::os::raw::c_char>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsTString<::std::os::raw::c_char>> ) - )); - } - #[test] - fn __bindgen_test_layout_nsTString_open0_char_close0_instantiation_5() { - assert_eq!(::std::mem::size_of::<root::nsTString<::std::os::raw::c_char>>() - , 16usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsCString_close0_instantiation_4() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); - assert_eq!(::std::mem::align_of::<root::nsTString<::std::os::raw::c_char>>() - , 8usize , concat ! ( + root::nsTArray<root::nsCString> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCString>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTString<::std::os::raw::c_char> ) )); + root::nsTArray<root::nsCString> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_3() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_3() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_4() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_Element_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::mozilla::dom::Element>>() + fn __bindgen_test_layout_nsCOMPtr_open0_nsDOMAttributeMap_Element_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsDOMAttributeMap_Element>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::mozilla::dom::Element> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::mozilla::dom::Element>>() + root::nsCOMPtr<root::nsDOMAttributeMap_Element> ) )); + assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsDOMAttributeMap_Element>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::mozilla::dom::Element> ) )); + root::nsCOMPtr<root::nsDOMAttributeMap_Element> ) )); } #[test] fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_StyleSheet_close1_close0_instantiation_3() { @@ -35768,7 +35519,7 @@ pub mod root { root::nsCOMPtr<root::nsIPrincipal> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIWeakReference_close0_instantiation_1() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIWeakReference_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35779,7 +35530,7 @@ pub mod root { root::nsCOMPtr<root::nsIWeakReference> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242474_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_216158_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut ::std::os::raw::c_void>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35812,15 +35563,26 @@ pub mod root { root::mozilla::StaticRefPtr<root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_7() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsIAtom_close0_instantiation_1() { + assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_8() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_UniquePtr_open0_TimeoutManager_DefaultDelete_open1_TimeoutManager_close1_close0_instantiation() { @@ -35847,7 +35609,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_248739_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_222341_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::AudioContext>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35937,7 +35699,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_251013_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_224718_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35948,28 +35710,17 @@ pub mod root { root::nsTArray<*mut root::nsISupports> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_4() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_4() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_5() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_10() { assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIURI>>() , 8usize , concat ! ( @@ -35981,28 +35732,17 @@ pub mod root { root::nsCOMPtr<root::nsIURI> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_5() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_5() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_6() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_SheetLoadData_close1_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>>>() , 8usize , concat ! ( @@ -36154,7 +35894,7 @@ pub mod root { root::nsTArray<f64> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_252501_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_226190_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36190,14 +35930,6 @@ pub mod root { root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry> ) )); } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Storage { - pub _address: u8, - } - impl Clone for Storage { - fn clone(&self) -> Self { *self } - } #[test] fn __bindgen_test_layout_UniquePtr_open0_ProfilerBacktrace_ProfilerBacktraceDestructor_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::ProfilerBacktrace>>() @@ -36210,37 +35942,26 @@ pub mod root { root::mozilla::UniquePtr<root::ProfilerBacktrace> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_6() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_6() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_7() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_8() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_9() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_nsAutoPtr_open0_LangGroupFontPrefs_close0_instantiation() { @@ -36267,7 +35988,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsIAtom_close0_instantiation_1() { + fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsIAtom_close0_instantiation_2() { assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36278,7 +35999,7 @@ pub mod root { root::nsRefPtrHashKey<root::nsIAtom> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_254917_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_228600_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::CounterStyle>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36311,28 +36032,17 @@ pub mod root { root::nsCOMPtr<root::nsIRunnable> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_7() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_7() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_8() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] fn __bindgen_test_layout_UniquePtr_open0_URLParams_DefaultDelete_open1_URLParams_close1_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::mozilla::dom::URLParams>>() , 8usize , concat ! ( @@ -36357,28 +36067,17 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_8() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_8() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_9() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] fn __bindgen_test_layout_nsTArray_open0_URLParams_Param_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::dom::URLParams_Param>>() , 8usize , concat ! ( @@ -36401,50 +36100,6 @@ pub mod root { root::mozilla::UniquePtr<::std::os::raw::c_char> ) )); } #[test] - fn __bindgen_test_layout_RefPtr_open0_SchedulerGroup_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::SchedulerGroup>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::SchedulerGroup> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::SchedulerGroup>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::SchedulerGroup> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIRunnable_close0_instantiation_5() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIRunnable> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIRunnable>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIRunnable> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_SchedulerGroup_close0_instantiation_1() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::SchedulerGroup>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::SchedulerGroup> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::SchedulerGroup>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::SchedulerGroup> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_SchedulerGroup_close0_instantiation_2() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::SchedulerGroup>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::SchedulerGroup> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::SchedulerGroup>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::SchedulerGroup> ) )); - } - #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIEventTarget_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIEventTarget>>() , 8usize , concat ! ( @@ -36489,15 +36144,15 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_RefPtr_open0_ImageURL_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::image::ImageURL>>() + fn __bindgen_test_layout_RefPtr_open0_imgRequestProxy_ImageURL_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::imgRequestProxy_ImageURL>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::image::ImageURL> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::image::ImageURL>>() + root::RefPtr<root::imgRequestProxy_ImageURL> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::imgRequestProxy_ImageURL>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::image::ImageURL> ) )); + root::RefPtr<root::imgRequestProxy_ImageURL> ) )); } #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsILoadGroup_close0_instantiation() { @@ -36577,28 +36232,17 @@ pub mod root { root::nsTArray<root::mozilla::css::GridNamedArea> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_9() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_9() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_10() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] fn __bindgen_test_layout_nsTArray_open0_nsCSSValueGradientStop_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCSSValueGradientStop>>() , 8usize , concat ! ( @@ -36687,72 +36331,39 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_10() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_10() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_11() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_11() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_11() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_12() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_12() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_12() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_13() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] fn __bindgen_test_layout_nsTArray_open0_nsStyleGradientStop_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleGradientStop>>() , 8usize , concat ! ( @@ -36920,18 +36531,18 @@ pub mod root { )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_5() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nscolor_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nscolor>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::std::os::raw::c_uint>>() - , 8usize , concat ! ( + root::nsTArray<root::nscolor> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nscolor>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::std::os::raw::c_uint> ) )); + root::nsTArray<root::nscolor> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_pair_open1_nsTString_open2_char16_t_close2_nsTString_open2_char16_t_close2_close1_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0_pair_open1_nsString_nsString_close1_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>>() , 8usize , concat ! ( @@ -36946,44 +36557,18 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_pair_open0_nsTString_open1_char16_t_close1_nsTString_open1_char16_t_close1_close0_instantiation() { - assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, - ::nsstring::nsStringRepr>>() + fn __bindgen_test_layout_pair_open0_nsString_nsString_close0_instantiation() { + assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>() , 32usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> - ) )); - assert_eq!(::std::mem::align_of::<root::std::pair<::nsstring::nsStringRepr, - ::nsstring::nsStringRepr>>() + root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> - ) )); - } - #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_14() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); + root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_15() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTArray_open1_nsTString_open2_char16_t_close2_close1_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0_nsTArray_open1_nsString_close1_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsTArray<::nsstring::nsStringRepr>>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36994,28 +36579,17 @@ pub mod root { root::nsTArray<root::nsTArray<::nsstring::nsStringRepr>> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_13() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_13() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_16() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] fn __bindgen_test_layout_nsTArray_open0_nsStyleCoord_close0_instantiation_1() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleCoord>>() , 8usize , concat ! ( @@ -37038,59 +36612,37 @@ pub mod root { root::nsTArray<root::nsStyleCoord> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_14() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_14() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_17() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_15() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_15() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_18() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_9() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_10() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_nsTArray_open0_nsStyleCoord_close0_instantiation_3() { @@ -37148,7 +36700,7 @@ pub mod root { root::RefPtr<root::nsStyleImageRequest> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257575_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_231220_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37385,7 +36937,7 @@ pub mod root { root::nsCOMPtr<root::nsIURI> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_265894_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_238938_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37396,7 +36948,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_265899_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_238943_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37484,7 +37036,7 @@ pub mod root { root::RefPtr<root::mozilla::dom::ShadowRoot> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_266012_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239056_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37758,7 +37310,7 @@ pub mod root { root::nsRefPtrHashKey<root::mozilla::dom::Element> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267595_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240650_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37780,7 +37332,7 @@ pub mod root { root::RefPtr<root::mozilla::dom::Element> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267757_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240810_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37791,7 +37343,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267762_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240815_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37802,7 +37354,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_6() { + fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37813,28 +37365,17 @@ pub mod root { root::nsTArray<::std::os::raw::c_uint> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTString_open1_char16_t_close1_close0_instantiation_16() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_16() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() - , 8usize , concat ! ( + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation_19() { - assert_eq!(::std::mem::size_of::<::nsstring::nsStringRepr>() , 16usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - assert_eq!(::std::mem::align_of::<::nsstring::nsStringRepr>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - ::nsstring::nsStringRepr ) )); - } - #[test] fn __bindgen_test_layout_UniquePtr_open0_nsStyleGridTemplate_DefaultDelete_open1_nsStyleGridTemplate_close1_close0_instantiation_2() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleGridTemplate>>() , 8usize , concat ! ( @@ -37923,18 +37464,18 @@ pub mod root { root::nsTArray<root::gfxFontFeature> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0_FontVariation_close0_instantiation_1() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::gfx::FontVariation>>() + fn __bindgen_test_layout_nsTArray_open0_gfxFontVariation_close0_instantiation_1() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::gfxFontVariation>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsTArray<root::mozilla::gfx::FontVariation> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::mozilla::gfx::FontVariation>>() + root::nsTArray<root::gfxFontVariation> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::gfxFontVariation>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::mozilla::gfx::FontVariation> ) )); + root::nsTArray<root::gfxFontVariation> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_270177_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_243246_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37945,7 +37486,7 @@ pub mod root { root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_270185_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_243254_close0_instantiation() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37956,15 +37497,15 @@ pub mod root { root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_10() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_11() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + root::RefPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); + root::RefPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_nsTArray_open0_nsMediaExpression_close0_instantiation() { |