diff --git a/components/style/counter_style/mod.rs b/components/style/counter_style/mod.rs index 20cd638b758..a018f9b8286 100644 --- a/components/style/counter_style/mod.rs +++ b/components/style/counter_style/mod.rs @@ -337,7 +337,7 @@ impl ToCss for System { } /// https://drafts.csswg.org/css-counter-styles/#typedef-symbol -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq)] pub enum Symbol { /// String(String), @@ -367,6 +367,17 @@ impl ToCss for Symbol { } } +impl Symbol { + /// Returns whether this symbol is allowed in symbols() function. + pub fn is_allowed_in_symbols(&self) -> bool { + match self { + // Identifier is not allowed. + &Symbol::Ident(_) => false, + _ => true, + } + } +} + /// https://drafts.csswg.org/css-counter-styles/#counter-style-negative #[derive(Debug, Clone)] pub struct Negative(pub Symbol, pub Option); @@ -495,7 +506,7 @@ impl ToCss for Fallback { } /// https://drafts.csswg.org/css-counter-styles/#descdef-counter-style-symbols -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq)] pub struct Symbols(pub Vec); impl Parse for Symbols { diff --git a/components/style/gecko/generated/atom_macro.rs b/components/style/gecko/generated/atom_macro.rs index df2d391bcee..fc228e585f9 100644 --- a/components/style/gecko/generated/atom_macro.rs +++ b/components/style/gecko/generated/atom_macro.rs @@ -1874,6 +1874,10 @@ cfg_if! { pub static nsGkAtoms_onsent: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms5onsetE"] pub static nsGkAtoms_onset: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms23onshippingaddresschangeE"] + pub static nsGkAtoms_onshippingaddresschange: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms22onshippingoptionchangeE"] + pub static nsGkAtoms_onshippingoptionchange: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms6onshowE"] pub static nsGkAtoms_onshow: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms13onstatechangeE"] @@ -6893,6 +6897,10 @@ cfg_if! { pub static nsGkAtoms_onsent: *mut nsIAtom; #[link_name = "?onset@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_onset: *mut nsIAtom; + #[link_name = "?onshippingaddresschange@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_onshippingaddresschange: *mut nsIAtom; + #[link_name = "?onshippingoptionchange@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_onshippingoptionchange: *mut nsIAtom; #[link_name = "?onshow@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_onshow: *mut nsIAtom; #[link_name = "?onstatechange@nsGkAtoms@@2PEAVnsIAtom@@EA"] @@ -11912,6 +11920,10 @@ cfg_if! { pub static nsGkAtoms_onsent: *mut nsIAtom; #[link_name = "\x01?onset@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_onset: *mut nsIAtom; + #[link_name = "\x01?onshippingaddresschange@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_onshippingaddresschange: *mut nsIAtom; + #[link_name = "\x01?onshippingoptionchange@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_onshippingoptionchange: *mut nsIAtom; #[link_name = "\x01?onshow@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_onshow: *mut nsIAtom; #[link_name = "\x01?onstatechange@nsGkAtoms@@2PAVnsIAtom@@A"] @@ -16934,6 +16946,10 @@ macro_rules! atom { { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsent as *mut _) } }; ("onset") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onset as *mut _) } }; +("onshippingaddresschange") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onshippingaddresschange as *mut _) } }; +("onshippingoptionchange") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onshippingoptionchange as *mut _) } }; ("onshow") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onshow as *mut _) } }; ("onstatechange") => diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs index 7f3aa9921e1..7774ccbeb0a 100644 --- a/components/style/gecko/generated/bindings.rs +++ b/components/style/gecko/generated/bindings.rs @@ -32,6 +32,7 @@ use gecko_bindings::structs::CSSPseudoElementType; use gecko_bindings::structs::TraversalRestyleBehavior; use gecko_bindings::structs::TraversalRootBehavior; use gecko_bindings::structs::ComputedTimingFunction_BeforeFlag; +use gecko_bindings::structs::CounterStylePtr; use gecko_bindings::structs::FontFamilyList; use gecko_bindings::structs::FontFamilyType; use gecko_bindings::structs::FontSizePrefs; @@ -852,12 +853,22 @@ extern "C" { aSrc: *const nsStyleVisibility); } extern "C" { - pub fn Gecko_SetListStyleType(style_struct: *mut nsStyleList, - name: *mut nsIAtom); + pub fn Gecko_SetCounterStyleToName(ptr: *mut CounterStylePtr, + name: *mut nsIAtom); } extern "C" { - pub fn Gecko_CopyListStyleTypeFrom(dst: *mut nsStyleList, - src: *const nsStyleList); + pub fn Gecko_SetCounterStyleToSymbols(ptr: *mut CounterStylePtr, + symbols_type: u8, + symbols: *const *const nsACString, + symbols_count: u32); +} +extern "C" { + pub fn Gecko_SetCounterStyleToString(ptr: *mut CounterStylePtr, + symbol: *const nsACString); +} +extern "C" { + pub fn Gecko_CopyCounterStyle(dst: *mut CounterStylePtr, + src: *const CounterStylePtr); } extern "C" { pub fn Gecko_SetNullImageValue(image: *mut nsStyleImage); diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs index 7bfdc9c93d9..923dda94562 100644 --- a/components/style/gecko/generated/structs_debug.rs +++ b/components/style/gecko/generated/structs_debug.rs @@ -1415,47 +1415,47 @@ pub mod root { #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum ArenaObjectID { - eArenaObjectID_DummyBeforeFirstObjectID = 175, - eArenaObjectID_nsLineBox = 176, - eArenaObjectID_nsRuleNode = 177, - eArenaObjectID_nsStyleContext = 178, - eArenaObjectID_DisplayItemData = 179, - eArenaObjectID_nsInheritedStyleData = 180, - eArenaObjectID_nsResetStyleData = 181, - eArenaObjectID_nsConditionalResetStyleData = 182, - eArenaObjectID_nsConditionalResetStyleDataEntry = 183, - eArenaObjectID_nsFrameList = 184, - eArenaObjectID_CustomCounterStyle = 185, - eArenaObjectID_DependentBuiltinCounterStyle = 186, - eArenaObjectID_nsCallbackEventRequest = 187, - eArenaObjectID_nsIntervalSet_Interval = 188, - eArenaObjectID_CellData = 189, - eArenaObjectID_BCCellData = 190, - eArenaObjectID_nsStyleFont = 191, - eArenaObjectID_nsStyleColor = 192, - eArenaObjectID_nsStyleList = 193, - eArenaObjectID_nsStyleText = 194, - eArenaObjectID_nsStyleVisibility = 195, - eArenaObjectID_nsStyleUserInterface = 196, - eArenaObjectID_nsStyleTableBorder = 197, - eArenaObjectID_nsStyleSVG = 198, - eArenaObjectID_nsStyleVariables = 199, - eArenaObjectID_nsStyleBackground = 200, - eArenaObjectID_nsStylePosition = 201, - eArenaObjectID_nsStyleTextReset = 202, - eArenaObjectID_nsStyleDisplay = 203, - eArenaObjectID_nsStyleContent = 204, - eArenaObjectID_nsStyleUIReset = 205, - eArenaObjectID_nsStyleTable = 206, - eArenaObjectID_nsStyleMargin = 207, - eArenaObjectID_nsStylePadding = 208, - eArenaObjectID_nsStyleBorder = 209, - eArenaObjectID_nsStyleOutline = 210, - eArenaObjectID_nsStyleXUL = 211, - eArenaObjectID_nsStyleSVGReset = 212, - eArenaObjectID_nsStyleColumn = 213, - eArenaObjectID_nsStyleEffects = 214, - eArenaObjectID_COUNT = 215, + eArenaObjectID_DummyBeforeFirstObjectID = 172, + eArenaObjectID_nsLineBox = 173, + eArenaObjectID_nsRuleNode = 174, + eArenaObjectID_nsStyleContext = 175, + eArenaObjectID_DisplayItemData = 176, + eArenaObjectID_nsInheritedStyleData = 177, + eArenaObjectID_nsResetStyleData = 178, + eArenaObjectID_nsConditionalResetStyleData = 179, + eArenaObjectID_nsConditionalResetStyleDataEntry = 180, + eArenaObjectID_nsFrameList = 181, + eArenaObjectID_CustomCounterStyle = 182, + eArenaObjectID_DependentBuiltinCounterStyle = 183, + eArenaObjectID_nsCallbackEventRequest = 184, + eArenaObjectID_nsIntervalSet_Interval = 185, + eArenaObjectID_CellData = 186, + eArenaObjectID_BCCellData = 187, + eArenaObjectID_nsStyleFont = 188, + eArenaObjectID_nsStyleColor = 189, + eArenaObjectID_nsStyleList = 190, + eArenaObjectID_nsStyleText = 191, + eArenaObjectID_nsStyleVisibility = 192, + eArenaObjectID_nsStyleUserInterface = 193, + eArenaObjectID_nsStyleTableBorder = 194, + eArenaObjectID_nsStyleSVG = 195, + eArenaObjectID_nsStyleVariables = 196, + eArenaObjectID_nsStyleBackground = 197, + eArenaObjectID_nsStylePosition = 198, + eArenaObjectID_nsStyleTextReset = 199, + eArenaObjectID_nsStyleDisplay = 200, + eArenaObjectID_nsStyleContent = 201, + eArenaObjectID_nsStyleUIReset = 202, + eArenaObjectID_nsStyleTable = 203, + eArenaObjectID_nsStyleMargin = 204, + eArenaObjectID_nsStylePadding = 205, + eArenaObjectID_nsStyleBorder = 206, + eArenaObjectID_nsStyleOutline = 207, + eArenaObjectID_nsStyleXUL = 208, + eArenaObjectID_nsStyleSVGReset = 209, + eArenaObjectID_nsStyleColumn = 210, + eArenaObjectID_nsStyleEffects = 211, + eArenaObjectID_COUNT = 212, } #[repr(C)] #[derive(Debug, Copy)] @@ -8257,7 +8257,14 @@ pub mod root { pub struct CounterStylePtr { pub mRaw: usize, } - pub const CounterStylePtr_kAnonymousFlag: usize = 1; + #[repr(u64)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum CounterStylePtr_Type { + eCounterStyle = 0, + eAnonymousCounterStyle = 1, + eUnresolvedAtom = 2, + eMask = 3, + } #[test] fn bindgen_test_layout_CounterStylePtr() { assert_eq!(::std::mem::size_of::() , 8usize , @@ -11137,168 +11144,311 @@ pub mod root { nsColumnSetFrame_id = 12, nsComboboxControlFrame_id = 13, nsComboboxDisplayFrame_id = 14, - nsContainerFrame_id = 15, - nsContinuingTextFrame_id = 16, - nsDateTimeControlFrame_id = 17, - nsDeckFrame_id = 18, - nsDocElementBoxFrame_id = 19, - nsFieldSetFrame_id = 20, - nsFileControlFrame_id = 21, - nsFirstLetterFrame_id = 22, - nsFirstLineFrame_id = 23, - nsFlexContainerFrame_id = 24, - nsFormControlFrame_id = 25, - nsFrame_id = 26, - nsGfxButtonControlFrame_id = 27, - nsGfxCheckboxControlFrame_id = 28, - nsGfxRadioControlFrame_id = 29, - nsGridContainerFrame_id = 30, - nsGridRowGroupFrame_id = 31, - nsGridRowLeafFrame_id = 32, - nsGroupBoxFrame_id = 33, - nsHTMLButtonControlFrame_id = 34, - nsHTMLCanvasFrame_id = 35, - nsHTMLFramesetBlankFrame_id = 36, - nsHTMLFramesetBorderFrame_id = 37, - nsHTMLFramesetFrame_id = 38, - nsHTMLScrollFrame_id = 39, - nsIAnonymousContentCreator_id = 40, - nsIComboboxControlFrame_id = 41, - nsIFormControlFrame_id = 42, - nsIFrame_id = 43, - nsIFrameFrame_id = 44, - nsIListControlFrame_id = 45, - nsIMathMLFrame_id = 46, - nsIMenuFrame_id = 47, - nsIObjectFrame_id = 48, - nsIPageSequenceFrame_id = 49, - nsIPercentBSizeObserver_id = 50, - nsIRootBox_id = 51, - nsSVGDisplayableFrame_id = 52, - nsISVGSVGFrame_id = 53, - nsIScrollableFrame_id = 54, - nsIScrollbarMediator_id = 55, - nsISelectControlFrame_id = 56, - nsIStatefulFrame_id = 57, - nsITableCellLayout_id = 58, - nsITableLayout_id = 59, - nsITextControlFrame_id = 60, - nsITreeBoxObject_id = 61, - nsImageBoxFrame_id = 62, - nsImageControlFrame_id = 63, - nsImageFrame_id = 64, - nsInlineFrame_id = 65, - nsLeafBoxFrame_id = 66, - nsLeafFrame_id = 67, - nsLegendFrame_id = 68, - nsListBoxBodyFrame_id = 69, - nsListControlFrame_id = 70, - nsListItemFrame_id = 71, - nsMathMLContainerFrame_id = 72, - nsMathMLFrame_id = 73, - nsMathMLmactionFrame_id = 74, - nsMathMLmathBlockFrame_id = 75, - nsMathMLmathInlineFrame_id = 76, - nsMathMLmencloseFrame_id = 77, - nsMathMLmfencedFrame_id = 78, - nsMathMLmfracFrame_id = 79, - nsMathMLmmultiscriptsFrame_id = 80, - nsMathMLmoFrame_id = 81, - nsMathMLmoverFrame_id = 82, - nsMathMLmpaddedFrame_id = 83, - nsMathMLmrootFrame_id = 84, - nsMathMLmrowFrame_id = 85, - nsMathMLmspaceFrame_id = 86, - nsMathMLmsqrtFrame_id = 87, - nsMathMLmstyleFrame_id = 88, - nsMathMLmtableFrame_id = 89, - nsMathMLmtableWrapperFrame_id = 90, - nsMathMLmtdFrame_id = 91, - nsMathMLmtdInnerFrame_id = 92, - nsMathMLmtrFrame_id = 93, - nsMathMLmunderFrame_id = 94, - nsMathMLmunderoverFrame_id = 95, - nsMathMLsemanticsFrame_id = 96, - nsMathMLTokenFrame_id = 97, - nsMenuBarFrame_id = 98, - nsMenuFrame_id = 99, - nsMenuPopupFrame_id = 100, - nsMeterFrame_id = 101, - nsNumberControlFrame_id = 102, - nsPluginFrame_id = 103, - nsPageBreakFrame_id = 104, - nsPageContentFrame_id = 105, - nsPageFrame_id = 106, - nsPlaceholderFrame_id = 107, - nsPopupSetFrame_id = 108, - nsProgressFrame_id = 109, - nsProgressMeterFrame_id = 110, - nsRangeFrame_id = 111, - nsResizerFrame_id = 112, - nsRootBoxFrame_id = 113, - nsRubyBaseContainerFrame_id = 114, - nsRubyBaseFrame_id = 115, - nsRubyContentFrame_id = 116, - nsRubyFrame_id = 117, - nsRubyTextContainerFrame_id = 118, - nsRubyTextFrame_id = 119, - nsScrollbarButtonFrame_id = 120, - nsScrollbarFrame_id = 121, - nsSelectsAreaFrame_id = 122, - nsSimplePageSequenceFrame_id = 123, - nsSliderFrame_id = 124, - nsSplittableFrame_id = 125, - nsSplitterFrame_id = 126, - nsStackFrame_id = 127, - nsSubDocumentFrame_id = 128, - nsSVGAFrame_id = 129, - nsSVGClipPathFrame_id = 130, - nsSVGContainerFrame_id = 131, - nsSVGDisplayContainerFrame_id = 132, - SVGFEContainerFrame_id = 133, - SVGFEImageFrame_id = 134, - SVGFELeafFrame_id = 135, - SVGFEUnstyledLeafFrame_id = 136, - nsSVGFilterFrame_id = 137, - nsSVGForeignObjectFrame_id = 138, - nsSVGGenericContainerFrame_id = 139, - nsSVGGFrame_id = 140, - nsSVGGradientFrame_id = 141, - nsSVGImageFrame_id = 142, - nsSVGInnerSVGFrame_id = 143, - nsSVGLinearGradientFrame_id = 144, - nsSVGMarkerFrame_id = 145, - nsSVGMarkerAnonChildFrame_id = 146, - nsSVGMaskFrame_id = 147, - nsSVGOuterSVGFrame_id = 148, - nsSVGOuterSVGAnonChildFrame_id = 149, - nsSVGPaintServerFrame_id = 150, - SVGGeometryFrame_id = 151, - nsSVGPatternFrame_id = 152, - nsSVGRadialGradientFrame_id = 153, - nsSVGStopFrame_id = 154, - nsSVGSwitchFrame_id = 155, - SVGTextFrame_id = 156, - nsSVGUseFrame_id = 157, - SVGViewFrame_id = 158, - nsTableCellFrame_id = 159, - nsTableColFrame_id = 160, - nsTableColGroupFrame_id = 161, - nsTableFrame_id = 162, - nsTableWrapperFrame_id = 163, - nsTableRowFrame_id = 164, - nsTableRowGroupFrame_id = 165, - nsTextBoxFrame_id = 166, - nsTextControlFrame_id = 167, - nsTextFrame_id = 168, - nsTitleBarFrame_id = 169, - nsTreeBodyFrame_id = 170, - nsTreeColFrame_id = 171, - nsVideoFrame_id = 172, - nsXULLabelFrame_id = 173, - nsXULScrollFrame_id = 174, - ViewportFrame_id = 175, - NON_FRAME_MARKER = 176, + nsContinuingTextFrame_id = 15, + nsDateTimeControlFrame_id = 16, + nsDeckFrame_id = 17, + nsDocElementBoxFrame_id = 18, + nsFieldSetFrame_id = 19, + nsFileControlFrame_id = 20, + nsFirstLetterFrame_id = 21, + nsFirstLineFrame_id = 22, + nsFlexContainerFrame_id = 23, + nsFrame_id = 24, + nsGfxButtonControlFrame_id = 25, + nsGfxCheckboxControlFrame_id = 26, + nsGfxRadioControlFrame_id = 27, + nsGridContainerFrame_id = 28, + nsGridRowGroupFrame_id = 29, + nsGridRowLeafFrame_id = 30, + nsGroupBoxFrame_id = 31, + nsHTMLButtonControlFrame_id = 32, + nsHTMLCanvasFrame_id = 33, + nsHTMLFramesetBlankFrame_id = 34, + nsHTMLFramesetBorderFrame_id = 35, + nsHTMLFramesetFrame_id = 36, + nsHTMLScrollFrame_id = 37, + nsImageBoxFrame_id = 38, + nsImageControlFrame_id = 39, + nsImageFrame_id = 40, + nsInlineFrame_id = 41, + nsLeafBoxFrame_id = 42, + nsLegendFrame_id = 43, + nsListBoxBodyFrame_id = 44, + nsListControlFrame_id = 45, + nsListItemFrame_id = 46, + nsMathMLFrame_id = 47, + nsMathMLmactionFrame_id = 48, + nsMathMLmathBlockFrame_id = 49, + nsMathMLmathInlineFrame_id = 50, + nsMathMLmencloseFrame_id = 51, + nsMathMLmfencedFrame_id = 52, + nsMathMLmfracFrame_id = 53, + nsMathMLmmultiscriptsFrame_id = 54, + nsMathMLmoFrame_id = 55, + nsMathMLmpaddedFrame_id = 56, + nsMathMLmrootFrame_id = 57, + nsMathMLmrowFrame_id = 58, + nsMathMLmspaceFrame_id = 59, + nsMathMLmsqrtFrame_id = 60, + nsMathMLmtableFrame_id = 61, + nsMathMLmtableWrapperFrame_id = 62, + nsMathMLmtdFrame_id = 63, + nsMathMLmtdInnerFrame_id = 64, + nsMathMLmtrFrame_id = 65, + nsMathMLmunderoverFrame_id = 66, + nsMathMLsemanticsFrame_id = 67, + nsMathMLTokenFrame_id = 68, + nsMenuBarFrame_id = 69, + nsMenuFrame_id = 70, + nsMenuPopupFrame_id = 71, + nsMeterFrame_id = 72, + nsNumberControlFrame_id = 73, + nsPluginFrame_id = 74, + nsPageBreakFrame_id = 75, + nsPageContentFrame_id = 76, + nsPageFrame_id = 77, + nsPlaceholderFrame_id = 78, + nsPopupSetFrame_id = 79, + nsProgressFrame_id = 80, + nsProgressMeterFrame_id = 81, + nsRangeFrame_id = 82, + nsResizerFrame_id = 83, + nsRootBoxFrame_id = 84, + nsRubyBaseContainerFrame_id = 85, + nsRubyBaseFrame_id = 86, + nsRubyFrame_id = 87, + nsRubyTextContainerFrame_id = 88, + nsRubyTextFrame_id = 89, + nsScrollbarButtonFrame_id = 90, + nsScrollbarFrame_id = 91, + nsSelectsAreaFrame_id = 92, + nsSimplePageSequenceFrame_id = 93, + nsSliderFrame_id = 94, + nsSplitterFrame_id = 95, + nsStackFrame_id = 96, + nsSubDocumentFrame_id = 97, + nsSVGAFrame_id = 98, + nsSVGClipPathFrame_id = 99, + nsSVGContainerFrame_id = 100, + SVGFEContainerFrame_id = 101, + SVGFEImageFrame_id = 102, + SVGFELeafFrame_id = 103, + SVGFEUnstyledLeafFrame_id = 104, + nsSVGFilterFrame_id = 105, + nsSVGForeignObjectFrame_id = 106, + nsSVGGenericContainerFrame_id = 107, + nsSVGGFrame_id = 108, + nsSVGImageFrame_id = 109, + nsSVGInnerSVGFrame_id = 110, + nsSVGLinearGradientFrame_id = 111, + nsSVGMarkerFrame_id = 112, + nsSVGMarkerAnonChildFrame_id = 113, + nsSVGMaskFrame_id = 114, + nsSVGOuterSVGFrame_id = 115, + nsSVGOuterSVGAnonChildFrame_id = 116, + SVGGeometryFrame_id = 117, + nsSVGPatternFrame_id = 118, + nsSVGRadialGradientFrame_id = 119, + nsSVGStopFrame_id = 120, + nsSVGSwitchFrame_id = 121, + SVGTextFrame_id = 122, + nsSVGUseFrame_id = 123, + SVGViewFrame_id = 124, + nsTableCellFrame_id = 125, + nsTableColFrame_id = 126, + nsTableColGroupFrame_id = 127, + nsTableFrame_id = 128, + nsTableWrapperFrame_id = 129, + nsTableRowFrame_id = 130, + nsTableRowGroupFrame_id = 131, + nsTextBoxFrame_id = 132, + nsTextControlFrame_id = 133, + nsTextFrame_id = 134, + nsTitleBarFrame_id = 135, + nsTreeBodyFrame_id = 136, + nsTreeColFrame_id = 137, + nsVideoFrame_id = 138, + nsXULLabelFrame_id = 139, + nsXULScrollFrame_id = 140, + ViewportFrame_id = 141, + nsContainerFrame_id = 142, + nsFormControlFrame_id = 143, + nsIFrame_id = 144, + nsLeafFrame_id = 145, + nsMathMLContainerFrame_id = 146, + nsRubyContentFrame_id = 147, + nsSplittableFrame_id = 148, + nsSVGDisplayContainerFrame_id = 149, + nsSVGGradientFrame_id = 150, + nsSVGPaintServerFrame_id = 151, + nsIAnonymousContentCreator_id = 152, + nsIComboboxControlFrame_id = 153, + nsIFormControlFrame_id = 154, + nsIFrameFrame_id = 155, + nsIListControlFrame_id = 156, + nsIMathMLFrame_id = 157, + nsIMenuFrame_id = 158, + nsIObjectFrame_id = 159, + nsIPageSequenceFrame_id = 160, + nsIPercentBSizeObserver_id = 161, + nsIRootBox_id = 162, + nsIScrollableFrame_id = 163, + nsIScrollbarMediator_id = 164, + nsISelectControlFrame_id = 165, + nsISVGSVGFrame_id = 166, + nsIStatefulFrame_id = 167, + nsITableCellLayout_id = 168, + nsITableLayout_id = 169, + nsITextControlFrame_id = 170, + nsITreeBoxObject_id = 171, + nsSVGDisplayableFrame_id = 172, + NON_FRAME_MARKER = 173, + } + #[repr(u8)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum nsQueryFrame_ClassID { + BRFrame_id = 0, + DetailsFrame_id = 1, + nsAutoRepeatBoxFrame_id = 2, + nsBCTableCellFrame_id = 3, + nsBackdropFrame_id = 4, + nsBlockFrame_id = 5, + nsBox_id = 6, + nsBoxFrame_id = 7, + nsBulletFrame_id = 8, + nsButtonBoxFrame_id = 9, + nsCanvasFrame_id = 10, + nsColorControlFrame_id = 11, + nsColumnSetFrame_id = 12, + nsComboboxControlFrame_id = 13, + nsComboboxDisplayFrame_id = 14, + nsContinuingTextFrame_id = 15, + nsDateTimeControlFrame_id = 16, + nsDeckFrame_id = 17, + nsDocElementBoxFrame_id = 18, + nsFieldSetFrame_id = 19, + nsFileControlFrame_id = 20, + nsFirstLetterFrame_id = 21, + nsFirstLineFrame_id = 22, + nsFlexContainerFrame_id = 23, + nsFrame_id = 24, + nsGfxButtonControlFrame_id = 25, + nsGfxCheckboxControlFrame_id = 26, + nsGfxRadioControlFrame_id = 27, + nsGridContainerFrame_id = 28, + nsGridRowGroupFrame_id = 29, + nsGridRowLeafFrame_id = 30, + nsGroupBoxFrame_id = 31, + nsHTMLButtonControlFrame_id = 32, + nsHTMLCanvasFrame_id = 33, + nsHTMLFramesetBlankFrame_id = 34, + nsHTMLFramesetBorderFrame_id = 35, + nsHTMLFramesetFrame_id = 36, + nsHTMLScrollFrame_id = 37, + nsImageBoxFrame_id = 38, + nsImageControlFrame_id = 39, + nsImageFrame_id = 40, + nsInlineFrame_id = 41, + nsLeafBoxFrame_id = 42, + nsLegendFrame_id = 43, + nsListBoxBodyFrame_id = 44, + nsListControlFrame_id = 45, + nsListItemFrame_id = 46, + nsMathMLFrame_id = 47, + nsMathMLmactionFrame_id = 48, + nsMathMLmathBlockFrame_id = 49, + nsMathMLmathInlineFrame_id = 50, + nsMathMLmencloseFrame_id = 51, + nsMathMLmfencedFrame_id = 52, + nsMathMLmfracFrame_id = 53, + nsMathMLmmultiscriptsFrame_id = 54, + nsMathMLmoFrame_id = 55, + nsMathMLmpaddedFrame_id = 56, + nsMathMLmrootFrame_id = 57, + nsMathMLmrowFrame_id = 58, + nsMathMLmspaceFrame_id = 59, + nsMathMLmsqrtFrame_id = 60, + nsMathMLmtableFrame_id = 61, + nsMathMLmtableWrapperFrame_id = 62, + nsMathMLmtdFrame_id = 63, + nsMathMLmtdInnerFrame_id = 64, + nsMathMLmtrFrame_id = 65, + nsMathMLmunderoverFrame_id = 66, + nsMathMLsemanticsFrame_id = 67, + nsMathMLTokenFrame_id = 68, + nsMenuBarFrame_id = 69, + nsMenuFrame_id = 70, + nsMenuPopupFrame_id = 71, + nsMeterFrame_id = 72, + nsNumberControlFrame_id = 73, + nsPluginFrame_id = 74, + nsPageBreakFrame_id = 75, + nsPageContentFrame_id = 76, + nsPageFrame_id = 77, + nsPlaceholderFrame_id = 78, + nsPopupSetFrame_id = 79, + nsProgressFrame_id = 80, + nsProgressMeterFrame_id = 81, + nsRangeFrame_id = 82, + nsResizerFrame_id = 83, + nsRootBoxFrame_id = 84, + nsRubyBaseContainerFrame_id = 85, + nsRubyBaseFrame_id = 86, + nsRubyFrame_id = 87, + nsRubyTextContainerFrame_id = 88, + nsRubyTextFrame_id = 89, + nsScrollbarButtonFrame_id = 90, + nsScrollbarFrame_id = 91, + nsSelectsAreaFrame_id = 92, + nsSimplePageSequenceFrame_id = 93, + nsSliderFrame_id = 94, + nsSplitterFrame_id = 95, + nsStackFrame_id = 96, + nsSubDocumentFrame_id = 97, + nsSVGAFrame_id = 98, + nsSVGClipPathFrame_id = 99, + nsSVGContainerFrame_id = 100, + SVGFEContainerFrame_id = 101, + SVGFEImageFrame_id = 102, + SVGFELeafFrame_id = 103, + SVGFEUnstyledLeafFrame_id = 104, + nsSVGFilterFrame_id = 105, + nsSVGForeignObjectFrame_id = 106, + nsSVGGenericContainerFrame_id = 107, + nsSVGGFrame_id = 108, + nsSVGImageFrame_id = 109, + nsSVGInnerSVGFrame_id = 110, + nsSVGLinearGradientFrame_id = 111, + nsSVGMarkerFrame_id = 112, + nsSVGMarkerAnonChildFrame_id = 113, + nsSVGMaskFrame_id = 114, + nsSVGOuterSVGFrame_id = 115, + nsSVGOuterSVGAnonChildFrame_id = 116, + SVGGeometryFrame_id = 117, + nsSVGPatternFrame_id = 118, + nsSVGRadialGradientFrame_id = 119, + nsSVGStopFrame_id = 120, + nsSVGSwitchFrame_id = 121, + SVGTextFrame_id = 122, + nsSVGUseFrame_id = 123, + SVGViewFrame_id = 124, + nsTableCellFrame_id = 125, + nsTableColFrame_id = 126, + nsTableColGroupFrame_id = 127, + nsTableFrame_id = 128, + nsTableWrapperFrame_id = 129, + nsTableRowFrame_id = 130, + nsTableRowGroupFrame_id = 131, + nsTextBoxFrame_id = 132, + nsTextControlFrame_id = 133, + nsTextFrame_id = 134, + nsTitleBarFrame_id = 135, + nsTreeBodyFrame_id = 136, + nsTreeColFrame_id = 137, + nsVideoFrame_id = 138, + nsXULLabelFrame_id = 139, + nsXULScrollFrame_id = 140, + ViewportFrame_id = 141, } #[test] fn bindgen_test_layout_nsQueryFrame() { @@ -15545,6 +15695,11 @@ pub mod root { stringify ! ( mSlots ) )); } #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsIRedirectHistoryEntry { + _unused: [u8; 0], + } + #[repr(C)] #[derive(Debug, Copy)] pub struct JSErrorFormatString { /** The error message name in ASCII. */ @@ -22082,7 +22237,7 @@ pub mod root { } #[test] fn bindgen_test_layout_nsIPresShell() { - assert_eq!(::std::mem::size_of::() , 5504usize , concat + assert_eq!(::std::mem::size_of::() , 5432usize , concat ! ( "Size of: " , stringify ! ( nsIPresShell ) )); assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsIPresShell ) )); @@ -22118,147 +22273,147 @@ pub mod root { "::" , stringify ! ( mFrameArena ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mSelection as * - const _ as usize } , 5288usize , concat ! ( + const _ as usize } , 5216usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mSelection ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFrameManager as * - const _ as usize } , 5296usize , concat ! ( + const _ as usize } , 5224usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFrameManager ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . - mForwardingContainer as * const _ as usize } , 5304usize , + mForwardingContainer as * const _ as usize } , 5232usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mForwardingContainer ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mDocAccessible as - * const _ as usize } , 5312usize , concat ! ( + * const _ as usize } , 5240usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mDocAccessible ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . - mReflowContinueTimer as * const _ as usize } , 5320usize , + mReflowContinueTimer as * const _ as usize } , 5248usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mReflowContinueTimer ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . - mDrawEventTargetFrame as * const _ as usize } , 5328usize + mDrawEventTargetFrame as * const _ as usize } , 5256usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mDrawEventTargetFrame ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mAllocatedPointers - as * const _ as usize } , 5336usize , concat ! ( + as * const _ as usize } , 5264usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mAllocatedPointers ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mPaintCount as * - const _ as usize } , 5384usize , concat ! ( + const _ as usize } , 5312usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mPaintCount ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mScrollPositionClampingScrollPortSize as * const _ as - usize } , 5392usize , concat ! ( + usize } , 5320usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mScrollPositionClampingScrollPortSize ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mAutoWeakFrames as - * const _ as usize } , 5400usize , concat ! ( + * const _ as usize } , 5328usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mAutoWeakFrames ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mWeakFrames as * - const _ as usize } , 5408usize , concat ! ( + const _ as usize } , 5336usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mWeakFrames ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . - mCanvasBackgroundColor as * const _ as usize } , 5456usize + mCanvasBackgroundColor as * const _ as usize } , 5384usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mCanvasBackgroundColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mResolution as * - const _ as usize } , 5460usize , concat ! ( + const _ as usize } , 5388usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mResolution ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mSelectionFlags as - * const _ as usize } , 5468usize , concat ! ( + * const _ as usize } , 5396usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mSelectionFlags ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mRenderFlags as * - const _ as usize } , 5470usize , concat ! ( + const _ as usize } , 5398usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mRenderFlags ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mPresShellId as * - const _ as usize } , 5476usize , concat ! ( + const _ as usize } , 5404usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mPresShellId ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationEmPerLine as * const _ as usize } , - 5480usize , concat ! ( + 5408usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationEmPerLine ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationMinTwips as * const _ as usize } , - 5484usize , concat ! ( + 5412usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationMinTwips ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationLineThreshold as * const _ as usize } , - 5488usize , concat ! ( + 5416usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationLineThreshold ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationForceEnabled as * const _ as usize } , - 5492usize , concat ! ( + 5420usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationForceEnabled ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationDisabledInMasterProcess as * const _ as - usize } , 5493usize , concat ! ( + usize } , 5421usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationDisabledInMasterProcess ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationEnabled as * const _ as usize } , - 5494usize , concat ! ( + 5422usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationEnabled ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationEnabledIsDirty as * const _ as usize } , - 5495usize , concat ! ( + 5423usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationEnabledIsDirty ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mPaintingIsFrozen - as * const _ as usize } , 5496usize , concat ! ( + as * const _ as usize } , 5424usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mPaintingIsFrozen ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mIsNeverPainting - as * const _ as usize } , 5497usize , concat ! ( + as * const _ as usize } , 5425usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mIsNeverPainting ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mInFlush as * - const _ as usize } , 5498usize , concat ! ( + const _ as usize } , 5426usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mInFlush ) )); } @@ -23222,7 +23377,7 @@ pub mod root { } #[repr(C)] pub struct nsPresArena { - pub mFreeLists: [root::nsPresArena_FreeList; 215usize], + pub mFreeLists: [root::nsPresArena_FreeList; 212usize], pub mPool: [u64; 4usize], pub mArenaRefPtrs: [u64; 6usize], } @@ -23263,7 +23418,7 @@ pub mod root { } #[test] fn bindgen_test_layout_nsPresArena() { - assert_eq!(::std::mem::size_of::() , 5240usize , concat ! + assert_eq!(::std::mem::size_of::() , 5168usize , concat ! ( "Size of: " , stringify ! ( nsPresArena ) )); assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsPresArena ) )); @@ -23274,12 +23429,12 @@ pub mod root { "::" , stringify ! ( mFreeLists ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresArena ) ) . mPool as * const _ - as usize } , 5160usize , concat ! ( + as usize } , 5088usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresArena ) , "::" , stringify ! ( mPool ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresArena ) ) . mArenaRefPtrs as * - const _ as usize } , 5192usize , concat ! ( + const _ as usize } , 5120usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresArena ) , "::" , stringify ! ( mArenaRefPtrs ) )); } @@ -24017,6 +24172,12 @@ pub mod root { pub const nsITimer_TYPE_REPEATING_PRECISE_CAN_SKIP: root::nsITimer__bindgen_ty_1 = nsITimer__bindgen_ty_1::TYPE_REPEATING_PRECISE_CAN_SKIP; + pub const nsITimer_TYPE_REPEATING_SLACK_LOW_PRIORITY: + root::nsITimer__bindgen_ty_1 = + nsITimer__bindgen_ty_1::TYPE_REPEATING_SLACK_LOW_PRIORITY; + pub const nsITimer_TYPE_ONE_SHOT_LOW_PRIORITY: + root::nsITimer__bindgen_ty_1 = + nsITimer__bindgen_ty_1::TYPE_ONE_SHOT_LOW_PRIORITY; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum nsITimer__bindgen_ty_1 { @@ -24024,6 +24185,8 @@ pub mod root { TYPE_REPEATING_SLACK = 1, TYPE_REPEATING_PRECISE = 2, TYPE_REPEATING_PRECISE_CAN_SKIP = 3, + TYPE_REPEATING_SLACK_LOW_PRIORITY = 4, + TYPE_ONE_SHOT_LOW_PRIORITY = 5, } #[test] fn bindgen_test_layout_nsITimer() { @@ -30826,7 +30989,6 @@ pub mod root { pub struct nsStyleList { pub mListStylePosition: u8, pub mListStyleImage: root::RefPtr, - pub mListStyleType: root::nsCOMPtr, pub mCounterStyle: root::mozilla::CounterStylePtr, pub mQuotes: root::RefPtr, pub mImageRegion: root::nsRect, @@ -30843,7 +31005,7 @@ pub mod root { } #[test] fn bindgen_test_layout_nsStyleList() { - assert_eq!(::std::mem::size_of::() , 56usize , concat ! ( + assert_eq!(::std::mem::size_of::() , 48usize , concat ! ( "Size of: " , stringify ! ( nsStyleList ) )); assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsStyleList ) )); @@ -30857,24 +31019,19 @@ pub mod root { * const _ as usize } , 8usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleList ) , "::" , stringify ! ( mListStyleImage ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const nsStyleList ) ) . mListStyleType as * - const _ as usize } , 16usize , concat ! ( - "Alignment of field: " , stringify ! ( nsStyleList ) , - "::" , stringify ! ( mListStyleType ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleList ) ) . mCounterStyle as * - const _ as usize } , 24usize , concat ! ( + const _ as usize } , 16usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleList ) , "::" , stringify ! ( mCounterStyle ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleList ) ) . mQuotes as * const - _ as usize } , 32usize , concat ! ( + _ as usize } , 24usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleList ) , "::" , stringify ! ( mQuotes ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleList ) ) . mImageRegion as * - const _ as usize } , 40usize , concat ! ( + const _ as usize } , 32usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleList ) , "::" , stringify ! ( mImageRegion ) )); } @@ -31923,7 +32080,6 @@ pub mod root { pub mIdent: ::nsstring::nsStringRepr, pub mSeparator: ::nsstring::nsStringRepr, pub mCounterStyle: root::mozilla::CounterStylePtr, - pub mCounterStyleName: root::nsCOMPtr, pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, } pub type nsStyleContentData_CounterFunction_HasThreadSafeRefCnt = @@ -31931,7 +32087,7 @@ pub mod root { #[test] fn bindgen_test_layout_nsStyleContentData_CounterFunction() { assert_eq!(::std::mem::size_of::() - , 56usize , concat ! ( + , 48usize , concat ! ( "Size of: " , stringify ! ( nsStyleContentData_CounterFunction ) )); assert_eq! (::std::mem::align_of::() @@ -31960,14 +32116,7 @@ pub mod root { ( mCounterStyle ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleContentData_CounterFunction ) - ) . mCounterStyleName as * const _ as usize } , 40usize , - concat ! ( - "Alignment of field: " , stringify ! ( - nsStyleContentData_CounterFunction ) , "::" , stringify ! - ( mCounterStyleName ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const nsStyleContentData_CounterFunction ) - ) . mRefCnt as * const _ as usize } , 48usize , concat ! ( + ) . mRefCnt as * const _ as usize } , 40usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleContentData_CounterFunction ) , "::" , stringify ! ( mRefCnt ) )); @@ -34564,7 +34713,7 @@ pub mod root { root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_211387_instantiation_99() { + fn __bindgen_test_layout__bindgen_ty_id_211631_instantiation_99() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); @@ -34573,7 +34722,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_211423_instantiation_100() { + fn __bindgen_test_layout__bindgen_ty_id_211667_instantiation_100() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); @@ -35077,29 +35226,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_146() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_147() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_148() { + fn __bindgen_test_layout_nsTArray_instantiation_146() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35110,7 +35237,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_149() { + fn __bindgen_test_layout_nsTArray_instantiation_147() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35121,7 +35248,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_Heap_instantiation_150() { + fn __bindgen_test_layout_Heap_instantiation_148() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35132,7 +35259,7 @@ pub mod root { root::JS::Heap ) )); } #[test] - fn __bindgen_test_layout_Heap_instantiation_151() { + fn __bindgen_test_layout_Heap_instantiation_149() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35143,7 +35270,7 @@ pub mod root { root::JS::Heap<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_TenuredHeap_instantiation_152() { + fn __bindgen_test_layout_TenuredHeap_instantiation_150() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35154,7 +35281,7 @@ pub mod root { root::JS::TenuredHeap ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_153() { + fn __bindgen_test_layout_already_AddRefed_instantiation_151() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35165,7 +35292,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_154() { + fn __bindgen_test_layout_nsTArray_instantiation_152() { assert_eq!(::std::mem::size_of::>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35178,29 +35305,29 @@ pub mod root { ) )); } #[test] + fn __bindgen_test_layout_RefPtr_instantiation_153() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_154() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr ) )); + } + #[test] fn __bindgen_test_layout_RefPtr_instantiation_155() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_156() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_157() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35211,6 +35338,28 @@ pub mod root { root::RefPtr ) )); } #[test] + fn __bindgen_test_layout_nsCOMPtr_instantiation_156() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_157() { + assert_eq!(::std::mem::size_of::>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray> ) )); + assert_eq!(::std::mem::align_of::>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray> ) )); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_instantiation_158() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -35222,29 +35371,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_159() { - assert_eq!(::std::mem::size_of::>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray> ) )); - assert_eq!(::std::mem::align_of::>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_160() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_161() { + fn __bindgen_test_layout_already_AddRefed_instantiation_159() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35255,7 +35382,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_162() { + fn __bindgen_test_layout_already_AddRefed_instantiation_160() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35266,7 +35393,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_163() { + fn __bindgen_test_layout_RefPtr_instantiation_161() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35277,7 +35404,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_164() { + fn __bindgen_test_layout_already_AddRefed_instantiation_162() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35288,7 +35415,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_165() { + fn __bindgen_test_layout_MutableHandle_instantiation_163() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35299,29 +35426,29 @@ pub mod root { root::JS::MutableHandle<*mut root::JSObject> ) )); } #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_164() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_165() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_166() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_167() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_168() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35332,7 +35459,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_169() { + fn __bindgen_test_layout_RefPtr_instantiation_167() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35343,7 +35470,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_170() { + fn __bindgen_test_layout_Handle_instantiation_168() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35354,7 +35481,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_171() { + fn __bindgen_test_layout_already_AddRefed_instantiation_169() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35365,7 +35492,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_172() { + fn __bindgen_test_layout_already_AddRefed_instantiation_170() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35376,7 +35503,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_173() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_171() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35387,7 +35514,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_174() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_172() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35398,7 +35525,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_175() { + fn __bindgen_test_layout_RefPtr_instantiation_173() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35409,7 +35536,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_176() { + fn __bindgen_test_layout_Handle_instantiation_174() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35420,7 +35547,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_177() { + fn __bindgen_test_layout_DefaultDelete_instantiation_175() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35431,7 +35558,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_178() { + fn __bindgen_test_layout_UniquePtr_instantiation_176() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35442,7 +35569,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_179() { + fn __bindgen_test_layout_already_AddRefed_instantiation_177() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35453,7 +35580,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_180() { + fn __bindgen_test_layout_nsTArray_instantiation_178() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35464,6 +35591,28 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] + fn __bindgen_test_layout_Handle_instantiation_179() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_180() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + } + #[test] fn __bindgen_test_layout_Handle_instantiation_181() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -35475,29 +35624,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_182() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_183() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_184() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_182() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35510,7 +35637,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsDataHashtable_instantiation_185() { + fn __bindgen_test_layout_nsDataHashtable_instantiation_183() { assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35521,7 +35648,7 @@ pub mod root { [u64; 6usize] ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_186() { + fn __bindgen_test_layout_Handle_instantiation_184() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35532,7 +35659,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_187() { + fn __bindgen_test_layout_nsTArray_instantiation_185() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35543,7 +35670,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_188() { + fn __bindgen_test_layout_nsTArray_instantiation_186() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35554,7 +35681,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_189() { + fn __bindgen_test_layout_already_AddRefed_instantiation_187() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35565,7 +35692,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_190() { + fn __bindgen_test_layout_already_AddRefed_instantiation_188() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35576,7 +35703,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_SupportsWeakPtr_instantiation_191() { + fn __bindgen_test_layout_SupportsWeakPtr_instantiation_189() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); @@ -35585,7 +35712,7 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_192() { + fn __bindgen_test_layout_already_AddRefed_instantiation_190() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35596,7 +35723,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_193() { + fn __bindgen_test_layout_nsTArray_instantiation_191() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35607,7 +35734,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_194() { + fn __bindgen_test_layout_already_AddRefed_instantiation_192() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35618,7 +35745,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_195() { + fn __bindgen_test_layout_DefaultDelete_instantiation_193() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35629,7 +35756,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_196() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_194() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35640,7 +35767,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_197() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_195() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35651,7 +35778,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_198() { + fn __bindgen_test_layout_nsTArray_instantiation_196() { assert_eq!(::std::mem::size_of::>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35662,7 +35789,7 @@ pub mod root { root::nsTArray> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_199() { + fn __bindgen_test_layout_already_AddRefed_instantiation_197() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35673,6 +35800,28 @@ pub mod root { root::already_AddRefed ) )); } #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_198() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_199() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_200() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -35695,26 +35844,26 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_202() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_Handle_instantiation_202() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_203() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_Handle_instantiation_203() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::JS::Handle<*mut root::JSObject> ) )); } #[test] fn __bindgen_test_layout_Handle_instantiation_204() { @@ -35728,29 +35877,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_205() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_206() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_nsPIDOMWindow_instantiation_207() { + fn __bindgen_test_layout_nsPIDOMWindow_instantiation_205() { assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35761,7 +35888,7 @@ pub mod root { [u64; 29usize] ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_208() { + fn __bindgen_test_layout_already_AddRefed_instantiation_206() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35772,7 +35899,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_209() { + fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_207() { assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35783,7 +35910,7 @@ pub mod root { [u64; 6usize] ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_210() { + fn __bindgen_test_layout_Handle_instantiation_208() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35794,7 +35921,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_211() { + fn __bindgen_test_layout_nsTArray_instantiation_209() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35805,7 +35932,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_212() { + fn __bindgen_test_layout_already_AddRefed_instantiation_210() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35816,7 +35943,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_213() { + fn __bindgen_test_layout_RefPtr_instantiation_211() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35827,7 +35954,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_214() { + fn __bindgen_test_layout_RefPtr_instantiation_212() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35838,7 +35965,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_WeakPtr_instantiation_215() { + fn __bindgen_test_layout_WeakPtr_instantiation_213() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); @@ -35847,7 +35974,7 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_216() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_214() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35858,7 +35985,7 @@ pub mod root { root::nsPtrHashKey<::std::os::raw::c_void> ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_217() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_215() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35869,7 +35996,7 @@ pub mod root { root::nsPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_218() { + fn __bindgen_test_layout_Handle_instantiation_216() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35880,6 +36007,28 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] + fn __bindgen_test_layout_OwningNonNull_instantiation_217() { + assert_eq!(::std::mem::size_of::>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull ) )); + } + #[test] + fn __bindgen_test_layout_OwningNonNull_instantiation_218() { + assert_eq!(::std::mem::size_of::>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull ) )); + } + #[test] fn __bindgen_test_layout_OwningNonNull_instantiation_219() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( @@ -35891,51 +36040,29 @@ pub mod root { root::mozilla::OwningNonNull ) )); } #[test] - fn __bindgen_test_layout_OwningNonNull_instantiation_220() { - assert_eq!(::std::mem::size_of::>() - , 16usize , concat ! ( + fn __bindgen_test_layout_Handle_instantiation_220() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull ) )); - assert_eq!(::std::mem::align_of::>() + root::JS::Handle ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull ) )); + root::JS::Handle ) )); } #[test] - fn __bindgen_test_layout_OwningNonNull_instantiation_221() { - assert_eq!(::std::mem::size_of::>() - , 16usize , concat ! ( + fn __bindgen_test_layout_Handle_instantiation_221() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull ) )); - assert_eq!(::std::mem::align_of::>() + root::JS::Handle ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull ) )); + root::JS::Handle ) )); } #[test] fn __bindgen_test_layout_Handle_instantiation_222() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_223() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_224() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35946,7 +36073,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_225() { + fn __bindgen_test_layout_MutableHandle_instantiation_223() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35957,7 +36084,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_226() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_224() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35968,7 +36095,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_227() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_225() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35979,7 +36106,7 @@ pub mod root { root::nsPtrHashKey<::std::os::raw::c_void> ) )); } #[test] - fn __bindgen_test_layout_PointTyped_instantiation_228() { + fn __bindgen_test_layout_PointTyped_instantiation_226() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35990,7 +36117,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_IntPointTyped_instantiation_229() { + fn __bindgen_test_layout_IntPointTyped_instantiation_227() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36001,7 +36128,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_SizeTyped_instantiation_230() { + fn __bindgen_test_layout_SizeTyped_instantiation_228() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36012,7 +36139,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_RectTyped_instantiation_231() { + fn __bindgen_test_layout_RectTyped_instantiation_229() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36023,7 +36150,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_IntPointTyped_instantiation_232() { + fn __bindgen_test_layout_IntPointTyped_instantiation_230() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36034,7 +36161,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_IntSizeTyped_instantiation_233() { + fn __bindgen_test_layout_IntSizeTyped_instantiation_231() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36045,7 +36172,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_IntRectTyped_instantiation_234() { + fn __bindgen_test_layout_IntRectTyped_instantiation_232() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36056,7 +36183,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_MarginTyped_instantiation_235() { + fn __bindgen_test_layout_MarginTyped_instantiation_233() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36067,7 +36194,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_RectTyped_instantiation_236() { + fn __bindgen_test_layout_RectTyped_instantiation_234() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36078,7 +36205,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_IntRectTyped_instantiation_237() { + fn __bindgen_test_layout_IntRectTyped_instantiation_235() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36089,7 +36216,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_ScaleFactor_instantiation_238() { + fn __bindgen_test_layout_ScaleFactor_instantiation_236() { assert_eq!(::std::mem::size_of::() , 4usize , concat ! ( "Size of template specialization: " , stringify ! ( u32 ) )); @@ -36098,6 +36225,28 @@ pub mod root { u32 ) )); } #[test] + fn __bindgen_test_layout_ScaleFactors2D_instantiation_237() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_ScaleFactors2D_instantiation_238() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] fn __bindgen_test_layout_ScaleFactors2D_instantiation_239() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( @@ -36109,51 +36258,40 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_ScaleFactors2D_instantiation_240() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( + fn __bindgen_test_layout_already_AddRefed_instantiation_240() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); + root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_ScaleFactors2D_instantiation_241() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( + fn __bindgen_test_layout_already_AddRefed_instantiation_241() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_242() { - assert_eq!(::std::mem::size_of::>() + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_243() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_244() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36164,18 +36302,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_245() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_246() { + fn __bindgen_test_layout_nsTArray_instantiation_244() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36188,7 +36315,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_247() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_245() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36199,7 +36326,7 @@ pub mod root { root::nsPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_248() { + fn __bindgen_test_layout_already_AddRefed_instantiation_246() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36210,7 +36337,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsPIDOMWindow_instantiation_249() { + fn __bindgen_test_layout_nsPIDOMWindow_instantiation_247() { assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36221,7 +36348,7 @@ pub mod root { [u64; 29usize] ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_250() { + fn __bindgen_test_layout_MutableHandle_instantiation_248() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36232,7 +36359,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_251() { + fn __bindgen_test_layout_MutableHandle_instantiation_249() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36243,7 +36370,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_252() { + fn __bindgen_test_layout_already_AddRefed_instantiation_250() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36254,7 +36381,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_253() { + fn __bindgen_test_layout_DefaultDelete_instantiation_251() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36265,7 +36392,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_254() { + fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_252() { assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36276,7 +36403,7 @@ pub mod root { [u64; 6usize] ) )); } #[test] - fn __bindgen_test_layout_Rooted_instantiation_255() { + fn __bindgen_test_layout_Rooted_instantiation_253() { assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36287,7 +36414,7 @@ pub mod root { [u64; 3usize] ) )); } #[test] - fn __bindgen_test_layout_Rooted_instantiation_256() { + fn __bindgen_test_layout_Rooted_instantiation_254() { assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36298,7 +36425,7 @@ pub mod root { [u64; 3usize] ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_257() { + fn __bindgen_test_layout_already_AddRefed_instantiation_255() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36309,7 +36436,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_258() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_256() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36320,7 +36447,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_259() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_257() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36331,7 +36458,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_260() { + fn __bindgen_test_layout_nsTArray_instantiation_258() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36342,7 +36469,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_261() { + fn __bindgen_test_layout_Handle_instantiation_259() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36353,6 +36480,28 @@ pub mod root { root::JS::Handle ) )); } #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_260() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_261() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + } + #[test] fn __bindgen_test_layout_MutableHandle_instantiation_262() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -36364,29 +36513,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_263() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_264() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_265() { + fn __bindgen_test_layout_nsTArray_instantiation_263() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36397,7 +36524,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_266() { + fn __bindgen_test_layout_Handle_instantiation_264() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36408,7 +36535,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_267() { + fn __bindgen_test_layout_already_AddRefed_instantiation_265() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36419,7 +36546,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_268() { + fn __bindgen_test_layout_already_AddRefed_instantiation_266() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36430,7 +36557,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_269() { + fn __bindgen_test_layout_Handle_instantiation_267() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36441,7 +36568,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_270() { + fn __bindgen_test_layout_nsTArray_instantiation_268() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36452,7 +36579,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_271() { + fn __bindgen_test_layout_RefPtr_instantiation_269() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36465,7 +36592,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_272() { + fn __bindgen_test_layout_nsTArray_instantiation_270() { assert_eq!(::std::mem::size_of::>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36478,7 +36605,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_273() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_271() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36489,7 +36616,7 @@ pub mod root { root::nsPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_274() { + fn __bindgen_test_layout_RefPtr_instantiation_272() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36502,7 +36629,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_275() { + fn __bindgen_test_layout_UniquePtr_instantiation_273() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36513,7 +36640,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_276() { + fn __bindgen_test_layout_nsTArray_instantiation_274() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36524,6 +36651,28 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] + fn __bindgen_test_layout_Handle_instantiation_275() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle ) )); + } + #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_276() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle ) )); + } + #[test] fn __bindgen_test_layout_Handle_instantiation_277() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -36546,29 +36695,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_279() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle ) )); - } - #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_280() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_281() { + fn __bindgen_test_layout_already_AddRefed_instantiation_279() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36579,7 +36706,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsDataHashtable_instantiation_282() { + fn __bindgen_test_layout_nsDataHashtable_instantiation_280() { assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36590,7 +36717,7 @@ pub mod root { [u64; 6usize] ) )); } #[test] - fn __bindgen_test_layout_OwningNonNull_instantiation_283() { + fn __bindgen_test_layout_OwningNonNull_instantiation_281() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36603,7 +36730,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_284() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_282() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36614,7 +36741,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_285() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_283() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36625,7 +36752,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_286() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_284() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36636,7 +36763,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_287() { + fn __bindgen_test_layout_DefaultDelete_instantiation_285() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36647,6 +36774,28 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_286() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] + fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_287() { + assert_eq!(::std::mem::size_of::>() + , 24usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsMainThreadPtrHolder ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsMainThreadPtrHolder ) )); + } + #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_288() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -36658,51 +36807,40 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_289() { - assert_eq!(::std::mem::size_of::>() - , 24usize , concat ! ( + fn __bindgen_test_layout_already_AddRefed_instantiation_289() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsMainThreadPtrHolder ) )); - assert_eq!(::std::mem::align_of::>() + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsMainThreadPtrHolder ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_290() { - assert_eq!(::std::mem::size_of::>() + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_291() { - assert_eq!(::std::mem::size_of::>() + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_292() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_293() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36713,18 +36851,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_294() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_295() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_293() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36735,7 +36862,7 @@ pub mod root { root::nsPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_296() { + fn __bindgen_test_layout_already_AddRefed_instantiation_294() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36746,6 +36873,28 @@ pub mod root { root::already_AddRefed ) )); } #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_295() { + assert_eq!(::std::mem::size_of::() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_UniquePtr_instantiation_296() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::UniquePtr ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::UniquePtr ) )); + } + #[test] fn __bindgen_test_layout_DefaultDelete_instantiation_297() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( @@ -36758,28 +36907,6 @@ pub mod root { } #[test] fn __bindgen_test_layout_UniquePtr_instantiation_298() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::UniquePtr ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::UniquePtr ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_299() { - assert_eq!(::std::mem::size_of::() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_300() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36790,7 +36917,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_301() { + fn __bindgen_test_layout_already_AddRefed_instantiation_299() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36801,7 +36928,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_SupportsWeakPtr_instantiation_302() { + fn __bindgen_test_layout_SupportsWeakPtr_instantiation_300() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); @@ -36810,7 +36937,7 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_303() { + fn __bindgen_test_layout_nsTArray_instantiation_301() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36821,7 +36948,18 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_304() { + fn __bindgen_test_layout_nsTArray_instantiation_302() { + assert_eq!(::std::mem::size_of::>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_303() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36832,7 +36970,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_305() { + fn __bindgen_test_layout_already_AddRefed_instantiation_304() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36843,6 +36981,17 @@ pub mod root { root::already_AddRefed ) )); } #[test] + fn __bindgen_test_layout_Maybe_instantiation_305() { + assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + } + #[test] fn __bindgen_test_layout_Maybe_instantiation_306() { assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! ( @@ -36854,18 +37003,7 @@ pub mod root { [u32; 3usize] ) )); } #[test] - fn __bindgen_test_layout_Maybe_instantiation_307() { - assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_308() { + fn __bindgen_test_layout_already_AddRefed_instantiation_307() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36876,7 +37014,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_309() { + fn __bindgen_test_layout_already_AddRefed_instantiation_308() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36887,7 +37025,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_310() { + fn __bindgen_test_layout_DefaultDelete_instantiation_309() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36898,7 +37036,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_311() { + fn __bindgen_test_layout_UniquePtr_instantiation_310() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36909,7 +37047,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_312() { + fn __bindgen_test_layout_DefaultDelete_instantiation_311() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36920,7 +37058,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_313() { + fn __bindgen_test_layout_UniquePtr_instantiation_312() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36931,7 +37069,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_314() { + fn __bindgen_test_layout_already_AddRefed_instantiation_313() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36942,7 +37080,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_Maybe_instantiation_315() { + fn __bindgen_test_layout_Maybe_instantiation_314() { assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36953,6 +37091,17 @@ pub mod root { [u32; 3usize] ) )); } #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_315() { + assert_eq!(::std::mem::size_of::() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] fn __bindgen_test_layout_DefaultDelete_instantiation_316() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( @@ -36964,18 +37113,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_317() { - assert_eq!(::std::mem::size_of::() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_pair_instantiation_318() { + fn __bindgen_test_layout_pair_instantiation_317() { assert_eq!(::std::mem::size_of::>() , 32usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36986,7 +37124,7 @@ pub mod root { root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_319() { + fn __bindgen_test_layout_nsTArray_instantiation_318() { assert_eq!(::std::mem::size_of::>>() , 8usize , concat ! ( @@ -37001,7 +37139,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_320() { + fn __bindgen_test_layout_already_AddRefed_instantiation_319() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37012,7 +37150,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_321() { + fn __bindgen_test_layout_nsTArray_instantiation_320() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37023,6 +37161,17 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] + fn __bindgen_test_layout_nsTArray_instantiation_321() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray ) )); + } + #[test] fn __bindgen_test_layout_nsTArray_instantiation_322() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -37034,18 +37183,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_323() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_324() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_323() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37056,7 +37194,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsStyleAutoArray_instantiation_325() { + fn __bindgen_test_layout_nsStyleAutoArray_instantiation_324() { assert_eq!(::std::mem::size_of::>() , 64usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37067,7 +37205,7 @@ pub mod root { root::nsStyleAutoArray ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_326() { + fn __bindgen_test_layout_DefaultDelete_instantiation_325() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37078,7 +37216,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_327() { + fn __bindgen_test_layout_UniquePtr_instantiation_326() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37089,7 +37227,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_328() { + fn __bindgen_test_layout_DefaultDelete_instantiation_327() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37100,7 +37238,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_329() { + fn __bindgen_test_layout_UniquePtr_instantiation_328() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37111,7 +37249,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_NonNull_instantiation_330() { + fn __bindgen_test_layout_NonNull_instantiation_329() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37124,7 +37262,7 @@ pub mod root { )); } #[test] - fn __bindgen_test_layout_NonNull_instantiation_331() { + fn __bindgen_test_layout_NonNull_instantiation_330() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37137,7 +37275,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_332() { + fn __bindgen_test_layout_Handle_instantiation_331() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37148,7 +37286,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_333() { + fn __bindgen_test_layout_MutableHandle_instantiation_332() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37159,6 +37297,17 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] + fn __bindgen_test_layout_Maybe_instantiation_333() { + assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat + ! ( + "Size of template specialization: " , stringify ! ( + [u64; 18usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 18usize]>() , 8usize , concat + ! ( + "Alignment of template specialization: " , stringify ! ( + [u64; 18usize] ) )); + } + #[test] fn __bindgen_test_layout_Maybe_instantiation_334() { assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat ! ( @@ -37170,18 +37319,7 @@ pub mod root { [u64; 18usize] ) )); } #[test] - fn __bindgen_test_layout_Maybe_instantiation_335() { - assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat - ! ( - "Size of template specialization: " , stringify ! ( - [u64; 18usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 18usize]>() , 8usize , concat - ! ( - "Alignment of template specialization: " , stringify ! ( - [u64; 18usize] ) )); - } - #[test] - fn __bindgen_test_layout_BaseTimeDuration_instantiation_336() { + fn __bindgen_test_layout_BaseTimeDuration_instantiation_335() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37192,6 +37330,17 @@ pub mod root { root::mozilla::BaseTimeDuration ) )); } #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_336() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_337() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -37203,15 +37352,15 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_338() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_nsTArray_instantiation_338() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::nsTArray<*mut root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::nsTArray<*mut root::nsIContent> ) )); } #[test] fn __bindgen_test_layout_nsTArray_instantiation_339() { @@ -37225,18 +37374,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_340() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_341() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_340() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37247,7 +37385,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_342() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_341() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37260,7 +37398,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_343() { + fn __bindgen_test_layout_already_AddRefed_instantiation_342() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37271,7 +37409,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_344() { + fn __bindgen_test_layout_nsTArray_instantiation_343() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37284,6 +37422,17 @@ pub mod root { ) )); } #[test] + fn __bindgen_test_layout_Handle_instantiation_344() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + } + #[test] fn __bindgen_test_layout_Handle_instantiation_345() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -37295,18 +37444,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_346() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_347() { + fn __bindgen_test_layout_RefPtr_instantiation_346() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37317,7 +37455,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_348() { + fn __bindgen_test_layout_Handle_instantiation_347() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37328,7 +37466,7 @@ pub mod root { root::JS::Handle ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_349() { + fn __bindgen_test_layout_MutableHandle_instantiation_348() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37339,7 +37477,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Sequence_instantiation_350() { + fn __bindgen_test_layout_Sequence_instantiation_349() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); @@ -37348,7 +37486,7 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_351() { + fn __bindgen_test_layout_Handle_instantiation_350() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37359,6 +37497,15 @@ pub mod root { root::JS::Handle ) )); } #[test] + fn __bindgen_test_layout_Sequence_instantiation_351() { + assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( u64 ) + )); + assert_eq!(::std::mem::align_of::() , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + u64 ) )); + } + #[test] fn __bindgen_test_layout_Sequence_instantiation_352() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) @@ -37368,27 +37515,18 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_Sequence_instantiation_353() { - assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( u64 ) - )); - assert_eq!(::std::mem::align_of::() , 8usize , concat ! ( + fn __bindgen_test_layout_Handle_instantiation_353() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - u64 ) )); + root::JS::Handle ) )); } #[test] fn __bindgen_test_layout_Handle_instantiation_354() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_355() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37399,7 +37537,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_356() { + fn __bindgen_test_layout_MutableHandle_instantiation_355() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37410,7 +37548,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_357() { + fn __bindgen_test_layout_Handle_instantiation_356() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37421,7 +37559,7 @@ pub mod root { root::JS::Handle ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_358() { + fn __bindgen_test_layout_MutableHandle_instantiation_357() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37432,7 +37570,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_359() { + fn __bindgen_test_layout_Handle_instantiation_358() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37443,7 +37581,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_360() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_359() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37454,7 +37592,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsClassHashtable_instantiation_361() { + fn __bindgen_test_layout_nsClassHashtable_instantiation_360() { assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37465,7 +37603,7 @@ pub mod root { [u64; 6usize] ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_362() { + fn __bindgen_test_layout_Handle_instantiation_361() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37476,7 +37614,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_363() { + fn __bindgen_test_layout_nsTArray_instantiation_362() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37487,7 +37625,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_364() { + fn __bindgen_test_layout_already_AddRefed_instantiation_363() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37498,7 +37636,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_365() { + fn __bindgen_test_layout_Handle_instantiation_364() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37509,7 +37647,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_366() { + fn __bindgen_test_layout_nsTArray_instantiation_365() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37520,7 +37658,7 @@ pub mod root { root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); } #[test] - fn __bindgen_test_layout_nsAutoPtr_instantiation_367() { + fn __bindgen_test_layout_nsAutoPtr_instantiation_366() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( diff --git a/components/style/gecko/generated/structs_release.rs b/components/style/gecko/generated/structs_release.rs index 8b77df41d4d..ac4c81cb1ca 100644 --- a/components/style/gecko/generated/structs_release.rs +++ b/components/style/gecko/generated/structs_release.rs @@ -1357,47 +1357,47 @@ pub mod root { #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum ArenaObjectID { - eArenaObjectID_DummyBeforeFirstObjectID = 175, - eArenaObjectID_nsLineBox = 176, - eArenaObjectID_nsRuleNode = 177, - eArenaObjectID_nsStyleContext = 178, - eArenaObjectID_DisplayItemData = 179, - eArenaObjectID_nsInheritedStyleData = 180, - eArenaObjectID_nsResetStyleData = 181, - eArenaObjectID_nsConditionalResetStyleData = 182, - eArenaObjectID_nsConditionalResetStyleDataEntry = 183, - eArenaObjectID_nsFrameList = 184, - eArenaObjectID_CustomCounterStyle = 185, - eArenaObjectID_DependentBuiltinCounterStyle = 186, - eArenaObjectID_nsCallbackEventRequest = 187, - eArenaObjectID_nsIntervalSet_Interval = 188, - eArenaObjectID_CellData = 189, - eArenaObjectID_BCCellData = 190, - eArenaObjectID_nsStyleFont = 191, - eArenaObjectID_nsStyleColor = 192, - eArenaObjectID_nsStyleList = 193, - eArenaObjectID_nsStyleText = 194, - eArenaObjectID_nsStyleVisibility = 195, - eArenaObjectID_nsStyleUserInterface = 196, - eArenaObjectID_nsStyleTableBorder = 197, - eArenaObjectID_nsStyleSVG = 198, - eArenaObjectID_nsStyleVariables = 199, - eArenaObjectID_nsStyleBackground = 200, - eArenaObjectID_nsStylePosition = 201, - eArenaObjectID_nsStyleTextReset = 202, - eArenaObjectID_nsStyleDisplay = 203, - eArenaObjectID_nsStyleContent = 204, - eArenaObjectID_nsStyleUIReset = 205, - eArenaObjectID_nsStyleTable = 206, - eArenaObjectID_nsStyleMargin = 207, - eArenaObjectID_nsStylePadding = 208, - eArenaObjectID_nsStyleBorder = 209, - eArenaObjectID_nsStyleOutline = 210, - eArenaObjectID_nsStyleXUL = 211, - eArenaObjectID_nsStyleSVGReset = 212, - eArenaObjectID_nsStyleColumn = 213, - eArenaObjectID_nsStyleEffects = 214, - eArenaObjectID_COUNT = 215, + eArenaObjectID_DummyBeforeFirstObjectID = 172, + eArenaObjectID_nsLineBox = 173, + eArenaObjectID_nsRuleNode = 174, + eArenaObjectID_nsStyleContext = 175, + eArenaObjectID_DisplayItemData = 176, + eArenaObjectID_nsInheritedStyleData = 177, + eArenaObjectID_nsResetStyleData = 178, + eArenaObjectID_nsConditionalResetStyleData = 179, + eArenaObjectID_nsConditionalResetStyleDataEntry = 180, + eArenaObjectID_nsFrameList = 181, + eArenaObjectID_CustomCounterStyle = 182, + eArenaObjectID_DependentBuiltinCounterStyle = 183, + eArenaObjectID_nsCallbackEventRequest = 184, + eArenaObjectID_nsIntervalSet_Interval = 185, + eArenaObjectID_CellData = 186, + eArenaObjectID_BCCellData = 187, + eArenaObjectID_nsStyleFont = 188, + eArenaObjectID_nsStyleColor = 189, + eArenaObjectID_nsStyleList = 190, + eArenaObjectID_nsStyleText = 191, + eArenaObjectID_nsStyleVisibility = 192, + eArenaObjectID_nsStyleUserInterface = 193, + eArenaObjectID_nsStyleTableBorder = 194, + eArenaObjectID_nsStyleSVG = 195, + eArenaObjectID_nsStyleVariables = 196, + eArenaObjectID_nsStyleBackground = 197, + eArenaObjectID_nsStylePosition = 198, + eArenaObjectID_nsStyleTextReset = 199, + eArenaObjectID_nsStyleDisplay = 200, + eArenaObjectID_nsStyleContent = 201, + eArenaObjectID_nsStyleUIReset = 202, + eArenaObjectID_nsStyleTable = 203, + eArenaObjectID_nsStyleMargin = 204, + eArenaObjectID_nsStylePadding = 205, + eArenaObjectID_nsStyleBorder = 206, + eArenaObjectID_nsStyleOutline = 207, + eArenaObjectID_nsStyleXUL = 208, + eArenaObjectID_nsStyleSVGReset = 209, + eArenaObjectID_nsStyleColumn = 210, + eArenaObjectID_nsStyleEffects = 211, + eArenaObjectID_COUNT = 212, } /** * A default deletion policy using plain old operator delete. @@ -8017,7 +8017,14 @@ pub mod root { pub struct CounterStylePtr { pub mRaw: usize, } - pub const CounterStylePtr_kAnonymousFlag: usize = 1; + #[repr(u64)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum CounterStylePtr_Type { + eCounterStyle = 0, + eAnonymousCounterStyle = 1, + eUnresolvedAtom = 2, + eMask = 3, + } #[test] fn bindgen_test_layout_CounterStylePtr() { assert_eq!(::std::mem::size_of::() , 8usize , @@ -10675,168 +10682,311 @@ pub mod root { nsColumnSetFrame_id = 12, nsComboboxControlFrame_id = 13, nsComboboxDisplayFrame_id = 14, - nsContainerFrame_id = 15, - nsContinuingTextFrame_id = 16, - nsDateTimeControlFrame_id = 17, - nsDeckFrame_id = 18, - nsDocElementBoxFrame_id = 19, - nsFieldSetFrame_id = 20, - nsFileControlFrame_id = 21, - nsFirstLetterFrame_id = 22, - nsFirstLineFrame_id = 23, - nsFlexContainerFrame_id = 24, - nsFormControlFrame_id = 25, - nsFrame_id = 26, - nsGfxButtonControlFrame_id = 27, - nsGfxCheckboxControlFrame_id = 28, - nsGfxRadioControlFrame_id = 29, - nsGridContainerFrame_id = 30, - nsGridRowGroupFrame_id = 31, - nsGridRowLeafFrame_id = 32, - nsGroupBoxFrame_id = 33, - nsHTMLButtonControlFrame_id = 34, - nsHTMLCanvasFrame_id = 35, - nsHTMLFramesetBlankFrame_id = 36, - nsHTMLFramesetBorderFrame_id = 37, - nsHTMLFramesetFrame_id = 38, - nsHTMLScrollFrame_id = 39, - nsIAnonymousContentCreator_id = 40, - nsIComboboxControlFrame_id = 41, - nsIFormControlFrame_id = 42, - nsIFrame_id = 43, - nsIFrameFrame_id = 44, - nsIListControlFrame_id = 45, - nsIMathMLFrame_id = 46, - nsIMenuFrame_id = 47, - nsIObjectFrame_id = 48, - nsIPageSequenceFrame_id = 49, - nsIPercentBSizeObserver_id = 50, - nsIRootBox_id = 51, - nsSVGDisplayableFrame_id = 52, - nsISVGSVGFrame_id = 53, - nsIScrollableFrame_id = 54, - nsIScrollbarMediator_id = 55, - nsISelectControlFrame_id = 56, - nsIStatefulFrame_id = 57, - nsITableCellLayout_id = 58, - nsITableLayout_id = 59, - nsITextControlFrame_id = 60, - nsITreeBoxObject_id = 61, - nsImageBoxFrame_id = 62, - nsImageControlFrame_id = 63, - nsImageFrame_id = 64, - nsInlineFrame_id = 65, - nsLeafBoxFrame_id = 66, - nsLeafFrame_id = 67, - nsLegendFrame_id = 68, - nsListBoxBodyFrame_id = 69, - nsListControlFrame_id = 70, - nsListItemFrame_id = 71, - nsMathMLContainerFrame_id = 72, - nsMathMLFrame_id = 73, - nsMathMLmactionFrame_id = 74, - nsMathMLmathBlockFrame_id = 75, - nsMathMLmathInlineFrame_id = 76, - nsMathMLmencloseFrame_id = 77, - nsMathMLmfencedFrame_id = 78, - nsMathMLmfracFrame_id = 79, - nsMathMLmmultiscriptsFrame_id = 80, - nsMathMLmoFrame_id = 81, - nsMathMLmoverFrame_id = 82, - nsMathMLmpaddedFrame_id = 83, - nsMathMLmrootFrame_id = 84, - nsMathMLmrowFrame_id = 85, - nsMathMLmspaceFrame_id = 86, - nsMathMLmsqrtFrame_id = 87, - nsMathMLmstyleFrame_id = 88, - nsMathMLmtableFrame_id = 89, - nsMathMLmtableWrapperFrame_id = 90, - nsMathMLmtdFrame_id = 91, - nsMathMLmtdInnerFrame_id = 92, - nsMathMLmtrFrame_id = 93, - nsMathMLmunderFrame_id = 94, - nsMathMLmunderoverFrame_id = 95, - nsMathMLsemanticsFrame_id = 96, - nsMathMLTokenFrame_id = 97, - nsMenuBarFrame_id = 98, - nsMenuFrame_id = 99, - nsMenuPopupFrame_id = 100, - nsMeterFrame_id = 101, - nsNumberControlFrame_id = 102, - nsPluginFrame_id = 103, - nsPageBreakFrame_id = 104, - nsPageContentFrame_id = 105, - nsPageFrame_id = 106, - nsPlaceholderFrame_id = 107, - nsPopupSetFrame_id = 108, - nsProgressFrame_id = 109, - nsProgressMeterFrame_id = 110, - nsRangeFrame_id = 111, - nsResizerFrame_id = 112, - nsRootBoxFrame_id = 113, - nsRubyBaseContainerFrame_id = 114, - nsRubyBaseFrame_id = 115, - nsRubyContentFrame_id = 116, - nsRubyFrame_id = 117, - nsRubyTextContainerFrame_id = 118, - nsRubyTextFrame_id = 119, - nsScrollbarButtonFrame_id = 120, - nsScrollbarFrame_id = 121, - nsSelectsAreaFrame_id = 122, - nsSimplePageSequenceFrame_id = 123, - nsSliderFrame_id = 124, - nsSplittableFrame_id = 125, - nsSplitterFrame_id = 126, - nsStackFrame_id = 127, - nsSubDocumentFrame_id = 128, - nsSVGAFrame_id = 129, - nsSVGClipPathFrame_id = 130, - nsSVGContainerFrame_id = 131, - nsSVGDisplayContainerFrame_id = 132, - SVGFEContainerFrame_id = 133, - SVGFEImageFrame_id = 134, - SVGFELeafFrame_id = 135, - SVGFEUnstyledLeafFrame_id = 136, - nsSVGFilterFrame_id = 137, - nsSVGForeignObjectFrame_id = 138, - nsSVGGenericContainerFrame_id = 139, - nsSVGGFrame_id = 140, - nsSVGGradientFrame_id = 141, - nsSVGImageFrame_id = 142, - nsSVGInnerSVGFrame_id = 143, - nsSVGLinearGradientFrame_id = 144, - nsSVGMarkerFrame_id = 145, - nsSVGMarkerAnonChildFrame_id = 146, - nsSVGMaskFrame_id = 147, - nsSVGOuterSVGFrame_id = 148, - nsSVGOuterSVGAnonChildFrame_id = 149, - nsSVGPaintServerFrame_id = 150, - SVGGeometryFrame_id = 151, - nsSVGPatternFrame_id = 152, - nsSVGRadialGradientFrame_id = 153, - nsSVGStopFrame_id = 154, - nsSVGSwitchFrame_id = 155, - SVGTextFrame_id = 156, - nsSVGUseFrame_id = 157, - SVGViewFrame_id = 158, - nsTableCellFrame_id = 159, - nsTableColFrame_id = 160, - nsTableColGroupFrame_id = 161, - nsTableFrame_id = 162, - nsTableWrapperFrame_id = 163, - nsTableRowFrame_id = 164, - nsTableRowGroupFrame_id = 165, - nsTextBoxFrame_id = 166, - nsTextControlFrame_id = 167, - nsTextFrame_id = 168, - nsTitleBarFrame_id = 169, - nsTreeBodyFrame_id = 170, - nsTreeColFrame_id = 171, - nsVideoFrame_id = 172, - nsXULLabelFrame_id = 173, - nsXULScrollFrame_id = 174, - ViewportFrame_id = 175, - NON_FRAME_MARKER = 176, + nsContinuingTextFrame_id = 15, + nsDateTimeControlFrame_id = 16, + nsDeckFrame_id = 17, + nsDocElementBoxFrame_id = 18, + nsFieldSetFrame_id = 19, + nsFileControlFrame_id = 20, + nsFirstLetterFrame_id = 21, + nsFirstLineFrame_id = 22, + nsFlexContainerFrame_id = 23, + nsFrame_id = 24, + nsGfxButtonControlFrame_id = 25, + nsGfxCheckboxControlFrame_id = 26, + nsGfxRadioControlFrame_id = 27, + nsGridContainerFrame_id = 28, + nsGridRowGroupFrame_id = 29, + nsGridRowLeafFrame_id = 30, + nsGroupBoxFrame_id = 31, + nsHTMLButtonControlFrame_id = 32, + nsHTMLCanvasFrame_id = 33, + nsHTMLFramesetBlankFrame_id = 34, + nsHTMLFramesetBorderFrame_id = 35, + nsHTMLFramesetFrame_id = 36, + nsHTMLScrollFrame_id = 37, + nsImageBoxFrame_id = 38, + nsImageControlFrame_id = 39, + nsImageFrame_id = 40, + nsInlineFrame_id = 41, + nsLeafBoxFrame_id = 42, + nsLegendFrame_id = 43, + nsListBoxBodyFrame_id = 44, + nsListControlFrame_id = 45, + nsListItemFrame_id = 46, + nsMathMLFrame_id = 47, + nsMathMLmactionFrame_id = 48, + nsMathMLmathBlockFrame_id = 49, + nsMathMLmathInlineFrame_id = 50, + nsMathMLmencloseFrame_id = 51, + nsMathMLmfencedFrame_id = 52, + nsMathMLmfracFrame_id = 53, + nsMathMLmmultiscriptsFrame_id = 54, + nsMathMLmoFrame_id = 55, + nsMathMLmpaddedFrame_id = 56, + nsMathMLmrootFrame_id = 57, + nsMathMLmrowFrame_id = 58, + nsMathMLmspaceFrame_id = 59, + nsMathMLmsqrtFrame_id = 60, + nsMathMLmtableFrame_id = 61, + nsMathMLmtableWrapperFrame_id = 62, + nsMathMLmtdFrame_id = 63, + nsMathMLmtdInnerFrame_id = 64, + nsMathMLmtrFrame_id = 65, + nsMathMLmunderoverFrame_id = 66, + nsMathMLsemanticsFrame_id = 67, + nsMathMLTokenFrame_id = 68, + nsMenuBarFrame_id = 69, + nsMenuFrame_id = 70, + nsMenuPopupFrame_id = 71, + nsMeterFrame_id = 72, + nsNumberControlFrame_id = 73, + nsPluginFrame_id = 74, + nsPageBreakFrame_id = 75, + nsPageContentFrame_id = 76, + nsPageFrame_id = 77, + nsPlaceholderFrame_id = 78, + nsPopupSetFrame_id = 79, + nsProgressFrame_id = 80, + nsProgressMeterFrame_id = 81, + nsRangeFrame_id = 82, + nsResizerFrame_id = 83, + nsRootBoxFrame_id = 84, + nsRubyBaseContainerFrame_id = 85, + nsRubyBaseFrame_id = 86, + nsRubyFrame_id = 87, + nsRubyTextContainerFrame_id = 88, + nsRubyTextFrame_id = 89, + nsScrollbarButtonFrame_id = 90, + nsScrollbarFrame_id = 91, + nsSelectsAreaFrame_id = 92, + nsSimplePageSequenceFrame_id = 93, + nsSliderFrame_id = 94, + nsSplitterFrame_id = 95, + nsStackFrame_id = 96, + nsSubDocumentFrame_id = 97, + nsSVGAFrame_id = 98, + nsSVGClipPathFrame_id = 99, + nsSVGContainerFrame_id = 100, + SVGFEContainerFrame_id = 101, + SVGFEImageFrame_id = 102, + SVGFELeafFrame_id = 103, + SVGFEUnstyledLeafFrame_id = 104, + nsSVGFilterFrame_id = 105, + nsSVGForeignObjectFrame_id = 106, + nsSVGGenericContainerFrame_id = 107, + nsSVGGFrame_id = 108, + nsSVGImageFrame_id = 109, + nsSVGInnerSVGFrame_id = 110, + nsSVGLinearGradientFrame_id = 111, + nsSVGMarkerFrame_id = 112, + nsSVGMarkerAnonChildFrame_id = 113, + nsSVGMaskFrame_id = 114, + nsSVGOuterSVGFrame_id = 115, + nsSVGOuterSVGAnonChildFrame_id = 116, + SVGGeometryFrame_id = 117, + nsSVGPatternFrame_id = 118, + nsSVGRadialGradientFrame_id = 119, + nsSVGStopFrame_id = 120, + nsSVGSwitchFrame_id = 121, + SVGTextFrame_id = 122, + nsSVGUseFrame_id = 123, + SVGViewFrame_id = 124, + nsTableCellFrame_id = 125, + nsTableColFrame_id = 126, + nsTableColGroupFrame_id = 127, + nsTableFrame_id = 128, + nsTableWrapperFrame_id = 129, + nsTableRowFrame_id = 130, + nsTableRowGroupFrame_id = 131, + nsTextBoxFrame_id = 132, + nsTextControlFrame_id = 133, + nsTextFrame_id = 134, + nsTitleBarFrame_id = 135, + nsTreeBodyFrame_id = 136, + nsTreeColFrame_id = 137, + nsVideoFrame_id = 138, + nsXULLabelFrame_id = 139, + nsXULScrollFrame_id = 140, + ViewportFrame_id = 141, + nsContainerFrame_id = 142, + nsFormControlFrame_id = 143, + nsIFrame_id = 144, + nsLeafFrame_id = 145, + nsMathMLContainerFrame_id = 146, + nsRubyContentFrame_id = 147, + nsSplittableFrame_id = 148, + nsSVGDisplayContainerFrame_id = 149, + nsSVGGradientFrame_id = 150, + nsSVGPaintServerFrame_id = 151, + nsIAnonymousContentCreator_id = 152, + nsIComboboxControlFrame_id = 153, + nsIFormControlFrame_id = 154, + nsIFrameFrame_id = 155, + nsIListControlFrame_id = 156, + nsIMathMLFrame_id = 157, + nsIMenuFrame_id = 158, + nsIObjectFrame_id = 159, + nsIPageSequenceFrame_id = 160, + nsIPercentBSizeObserver_id = 161, + nsIRootBox_id = 162, + nsIScrollableFrame_id = 163, + nsIScrollbarMediator_id = 164, + nsISelectControlFrame_id = 165, + nsISVGSVGFrame_id = 166, + nsIStatefulFrame_id = 167, + nsITableCellLayout_id = 168, + nsITableLayout_id = 169, + nsITextControlFrame_id = 170, + nsITreeBoxObject_id = 171, + nsSVGDisplayableFrame_id = 172, + NON_FRAME_MARKER = 173, + } + #[repr(u8)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum nsQueryFrame_ClassID { + BRFrame_id = 0, + DetailsFrame_id = 1, + nsAutoRepeatBoxFrame_id = 2, + nsBCTableCellFrame_id = 3, + nsBackdropFrame_id = 4, + nsBlockFrame_id = 5, + nsBox_id = 6, + nsBoxFrame_id = 7, + nsBulletFrame_id = 8, + nsButtonBoxFrame_id = 9, + nsCanvasFrame_id = 10, + nsColorControlFrame_id = 11, + nsColumnSetFrame_id = 12, + nsComboboxControlFrame_id = 13, + nsComboboxDisplayFrame_id = 14, + nsContinuingTextFrame_id = 15, + nsDateTimeControlFrame_id = 16, + nsDeckFrame_id = 17, + nsDocElementBoxFrame_id = 18, + nsFieldSetFrame_id = 19, + nsFileControlFrame_id = 20, + nsFirstLetterFrame_id = 21, + nsFirstLineFrame_id = 22, + nsFlexContainerFrame_id = 23, + nsFrame_id = 24, + nsGfxButtonControlFrame_id = 25, + nsGfxCheckboxControlFrame_id = 26, + nsGfxRadioControlFrame_id = 27, + nsGridContainerFrame_id = 28, + nsGridRowGroupFrame_id = 29, + nsGridRowLeafFrame_id = 30, + nsGroupBoxFrame_id = 31, + nsHTMLButtonControlFrame_id = 32, + nsHTMLCanvasFrame_id = 33, + nsHTMLFramesetBlankFrame_id = 34, + nsHTMLFramesetBorderFrame_id = 35, + nsHTMLFramesetFrame_id = 36, + nsHTMLScrollFrame_id = 37, + nsImageBoxFrame_id = 38, + nsImageControlFrame_id = 39, + nsImageFrame_id = 40, + nsInlineFrame_id = 41, + nsLeafBoxFrame_id = 42, + nsLegendFrame_id = 43, + nsListBoxBodyFrame_id = 44, + nsListControlFrame_id = 45, + nsListItemFrame_id = 46, + nsMathMLFrame_id = 47, + nsMathMLmactionFrame_id = 48, + nsMathMLmathBlockFrame_id = 49, + nsMathMLmathInlineFrame_id = 50, + nsMathMLmencloseFrame_id = 51, + nsMathMLmfencedFrame_id = 52, + nsMathMLmfracFrame_id = 53, + nsMathMLmmultiscriptsFrame_id = 54, + nsMathMLmoFrame_id = 55, + nsMathMLmpaddedFrame_id = 56, + nsMathMLmrootFrame_id = 57, + nsMathMLmrowFrame_id = 58, + nsMathMLmspaceFrame_id = 59, + nsMathMLmsqrtFrame_id = 60, + nsMathMLmtableFrame_id = 61, + nsMathMLmtableWrapperFrame_id = 62, + nsMathMLmtdFrame_id = 63, + nsMathMLmtdInnerFrame_id = 64, + nsMathMLmtrFrame_id = 65, + nsMathMLmunderoverFrame_id = 66, + nsMathMLsemanticsFrame_id = 67, + nsMathMLTokenFrame_id = 68, + nsMenuBarFrame_id = 69, + nsMenuFrame_id = 70, + nsMenuPopupFrame_id = 71, + nsMeterFrame_id = 72, + nsNumberControlFrame_id = 73, + nsPluginFrame_id = 74, + nsPageBreakFrame_id = 75, + nsPageContentFrame_id = 76, + nsPageFrame_id = 77, + nsPlaceholderFrame_id = 78, + nsPopupSetFrame_id = 79, + nsProgressFrame_id = 80, + nsProgressMeterFrame_id = 81, + nsRangeFrame_id = 82, + nsResizerFrame_id = 83, + nsRootBoxFrame_id = 84, + nsRubyBaseContainerFrame_id = 85, + nsRubyBaseFrame_id = 86, + nsRubyFrame_id = 87, + nsRubyTextContainerFrame_id = 88, + nsRubyTextFrame_id = 89, + nsScrollbarButtonFrame_id = 90, + nsScrollbarFrame_id = 91, + nsSelectsAreaFrame_id = 92, + nsSimplePageSequenceFrame_id = 93, + nsSliderFrame_id = 94, + nsSplitterFrame_id = 95, + nsStackFrame_id = 96, + nsSubDocumentFrame_id = 97, + nsSVGAFrame_id = 98, + nsSVGClipPathFrame_id = 99, + nsSVGContainerFrame_id = 100, + SVGFEContainerFrame_id = 101, + SVGFEImageFrame_id = 102, + SVGFELeafFrame_id = 103, + SVGFEUnstyledLeafFrame_id = 104, + nsSVGFilterFrame_id = 105, + nsSVGForeignObjectFrame_id = 106, + nsSVGGenericContainerFrame_id = 107, + nsSVGGFrame_id = 108, + nsSVGImageFrame_id = 109, + nsSVGInnerSVGFrame_id = 110, + nsSVGLinearGradientFrame_id = 111, + nsSVGMarkerFrame_id = 112, + nsSVGMarkerAnonChildFrame_id = 113, + nsSVGMaskFrame_id = 114, + nsSVGOuterSVGFrame_id = 115, + nsSVGOuterSVGAnonChildFrame_id = 116, + SVGGeometryFrame_id = 117, + nsSVGPatternFrame_id = 118, + nsSVGRadialGradientFrame_id = 119, + nsSVGStopFrame_id = 120, + nsSVGSwitchFrame_id = 121, + SVGTextFrame_id = 122, + nsSVGUseFrame_id = 123, + SVGViewFrame_id = 124, + nsTableCellFrame_id = 125, + nsTableColFrame_id = 126, + nsTableColGroupFrame_id = 127, + nsTableFrame_id = 128, + nsTableWrapperFrame_id = 129, + nsTableRowFrame_id = 130, + nsTableRowGroupFrame_id = 131, + nsTextBoxFrame_id = 132, + nsTextControlFrame_id = 133, + nsTextFrame_id = 134, + nsTitleBarFrame_id = 135, + nsTreeBodyFrame_id = 136, + nsTreeColFrame_id = 137, + nsVideoFrame_id = 138, + nsXULLabelFrame_id = 139, + nsXULScrollFrame_id = 140, + ViewportFrame_id = 141, } #[test] fn bindgen_test_layout_nsQueryFrame() { @@ -15208,6 +15358,11 @@ pub mod root { stringify ! ( mSlots ) )); } #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsIRedirectHistoryEntry { + _unused: [u8; 0], + } + #[repr(C)] #[derive(Debug, Copy)] pub struct JSErrorFormatString { /** The error message name in ASCII. */ @@ -21683,7 +21838,7 @@ pub mod root { } #[test] fn bindgen_test_layout_nsIPresShell() { - assert_eq!(::std::mem::size_of::() , 5432usize , concat + assert_eq!(::std::mem::size_of::() , 5360usize , concat ! ( "Size of: " , stringify ! ( nsIPresShell ) )); assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsIPresShell ) )); @@ -21719,136 +21874,136 @@ pub mod root { "::" , stringify ! ( mFrameArena ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mSelection as * - const _ as usize } , 5280usize , concat ! ( + const _ as usize } , 5208usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mSelection ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFrameManager as * - const _ as usize } , 5288usize , concat ! ( + const _ as usize } , 5216usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFrameManager ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . - mForwardingContainer as * const _ as usize } , 5296usize , + mForwardingContainer as * const _ as usize } , 5224usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mForwardingContainer ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mDocAccessible as - * const _ as usize } , 5304usize , concat ! ( + * const _ as usize } , 5232usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mDocAccessible ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . - mReflowContinueTimer as * const _ as usize } , 5312usize , + mReflowContinueTimer as * const _ as usize } , 5240usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mReflowContinueTimer ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mPaintCount as * - const _ as usize } , 5320usize , concat ! ( + const _ as usize } , 5248usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mPaintCount ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mScrollPositionClampingScrollPortSize as * const _ as - usize } , 5328usize , concat ! ( + usize } , 5256usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mScrollPositionClampingScrollPortSize ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mAutoWeakFrames as - * const _ as usize } , 5336usize , concat ! ( + * const _ as usize } , 5264usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mAutoWeakFrames ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mWeakFrames as * - const _ as usize } , 5344usize , concat ! ( + const _ as usize } , 5272usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mWeakFrames ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . - mCanvasBackgroundColor as * const _ as usize } , 5384usize + mCanvasBackgroundColor as * const _ as usize } , 5312usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mCanvasBackgroundColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mResolution as * - const _ as usize } , 5388usize , concat ! ( + const _ as usize } , 5316usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mResolution ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mSelectionFlags as - * const _ as usize } , 5396usize , concat ! ( + * const _ as usize } , 5324usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mSelectionFlags ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mRenderFlags as * - const _ as usize } , 5398usize , concat ! ( + const _ as usize } , 5326usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mRenderFlags ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mPresShellId as * - const _ as usize } , 5404usize , concat ! ( + const _ as usize } , 5332usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mPresShellId ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationEmPerLine as * const _ as usize } , - 5408usize , concat ! ( + 5336usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationEmPerLine ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationMinTwips as * const _ as usize } , - 5412usize , concat ! ( + 5340usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationMinTwips ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationLineThreshold as * const _ as usize } , - 5416usize , concat ! ( + 5344usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationLineThreshold ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationForceEnabled as * const _ as usize } , - 5420usize , concat ! ( + 5348usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationForceEnabled ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationDisabledInMasterProcess as * const _ as - usize } , 5421usize , concat ! ( + usize } , 5349usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationDisabledInMasterProcess ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationEnabled as * const _ as usize } , - 5422usize , concat ! ( + 5350usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationEnabled ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mFontSizeInflationEnabledIsDirty as * const _ as usize } , - 5423usize , concat ! ( + 5351usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mFontSizeInflationEnabledIsDirty ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mPaintingIsFrozen - as * const _ as usize } , 5424usize , concat ! ( + as * const _ as usize } , 5352usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mPaintingIsFrozen ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mIsNeverPainting - as * const _ as usize } , 5425usize , concat ! ( + as * const _ as usize } , 5353usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mIsNeverPainting ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsIPresShell ) ) . mInFlush as * - const _ as usize } , 5426usize , concat ! ( + const _ as usize } , 5354usize , concat ! ( "Alignment of field: " , stringify ! ( nsIPresShell ) , "::" , stringify ! ( mInFlush ) )); } @@ -22804,7 +22959,7 @@ pub mod root { } #[repr(C)] pub struct nsPresArena { - pub mFreeLists: [root::nsPresArena_FreeList; 215usize], + pub mFreeLists: [root::nsPresArena_FreeList; 212usize], pub mPool: [u64; 4usize], pub mArenaRefPtrs: [u64; 5usize], } @@ -22845,7 +23000,7 @@ pub mod root { } #[test] fn bindgen_test_layout_nsPresArena() { - assert_eq!(::std::mem::size_of::() , 5232usize , concat ! + assert_eq!(::std::mem::size_of::() , 5160usize , concat ! ( "Size of: " , stringify ! ( nsPresArena ) )); assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsPresArena ) )); @@ -22856,12 +23011,12 @@ pub mod root { "::" , stringify ! ( mFreeLists ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresArena ) ) . mPool as * const _ - as usize } , 5160usize , concat ! ( + as usize } , 5088usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresArena ) , "::" , stringify ! ( mPool ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresArena ) ) . mArenaRefPtrs as * - const _ as usize } , 5192usize , concat ! ( + const _ as usize } , 5120usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresArena ) , "::" , stringify ! ( mArenaRefPtrs ) )); } @@ -23599,6 +23754,12 @@ pub mod root { pub const nsITimer_TYPE_REPEATING_PRECISE_CAN_SKIP: root::nsITimer__bindgen_ty_1 = nsITimer__bindgen_ty_1::TYPE_REPEATING_PRECISE_CAN_SKIP; + pub const nsITimer_TYPE_REPEATING_SLACK_LOW_PRIORITY: + root::nsITimer__bindgen_ty_1 = + nsITimer__bindgen_ty_1::TYPE_REPEATING_SLACK_LOW_PRIORITY; + pub const nsITimer_TYPE_ONE_SHOT_LOW_PRIORITY: + root::nsITimer__bindgen_ty_1 = + nsITimer__bindgen_ty_1::TYPE_ONE_SHOT_LOW_PRIORITY; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum nsITimer__bindgen_ty_1 { @@ -23606,6 +23767,8 @@ pub mod root { TYPE_REPEATING_SLACK = 1, TYPE_REPEATING_PRECISE = 2, TYPE_REPEATING_PRECISE_CAN_SKIP = 3, + TYPE_REPEATING_SLACK_LOW_PRIORITY = 4, + TYPE_ONE_SHOT_LOW_PRIORITY = 5, } #[test] fn bindgen_test_layout_nsITimer() { @@ -30315,7 +30478,6 @@ pub mod root { pub struct nsStyleList { pub mListStylePosition: u8, pub mListStyleImage: root::RefPtr, - pub mListStyleType: root::nsCOMPtr, pub mCounterStyle: root::mozilla::CounterStylePtr, pub mQuotes: root::RefPtr, pub mImageRegion: root::nsRect, @@ -30332,7 +30494,7 @@ pub mod root { } #[test] fn bindgen_test_layout_nsStyleList() { - assert_eq!(::std::mem::size_of::() , 56usize , concat ! ( + assert_eq!(::std::mem::size_of::() , 48usize , concat ! ( "Size of: " , stringify ! ( nsStyleList ) )); assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsStyleList ) )); @@ -30346,24 +30508,19 @@ pub mod root { * const _ as usize } , 8usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleList ) , "::" , stringify ! ( mListStyleImage ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const nsStyleList ) ) . mListStyleType as * - const _ as usize } , 16usize , concat ! ( - "Alignment of field: " , stringify ! ( nsStyleList ) , - "::" , stringify ! ( mListStyleType ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleList ) ) . mCounterStyle as * - const _ as usize } , 24usize , concat ! ( + const _ as usize } , 16usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleList ) , "::" , stringify ! ( mCounterStyle ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleList ) ) . mQuotes as * const - _ as usize } , 32usize , concat ! ( + _ as usize } , 24usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleList ) , "::" , stringify ! ( mQuotes ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleList ) ) . mImageRegion as * - const _ as usize } , 40usize , concat ! ( + const _ as usize } , 32usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleList ) , "::" , stringify ! ( mImageRegion ) )); } @@ -31412,7 +31569,6 @@ pub mod root { pub mIdent: ::nsstring::nsStringRepr, pub mSeparator: ::nsstring::nsStringRepr, pub mCounterStyle: root::mozilla::CounterStylePtr, - pub mCounterStyleName: root::nsCOMPtr, pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, } pub type nsStyleContentData_CounterFunction_HasThreadSafeRefCnt = @@ -31420,7 +31576,7 @@ pub mod root { #[test] fn bindgen_test_layout_nsStyleContentData_CounterFunction() { assert_eq!(::std::mem::size_of::() - , 56usize , concat ! ( + , 48usize , concat ! ( "Size of: " , stringify ! ( nsStyleContentData_CounterFunction ) )); assert_eq! (::std::mem::align_of::() @@ -31449,14 +31605,7 @@ pub mod root { ( mCounterStyle ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleContentData_CounterFunction ) - ) . mCounterStyleName as * const _ as usize } , 40usize , - concat ! ( - "Alignment of field: " , stringify ! ( - nsStyleContentData_CounterFunction ) , "::" , stringify ! - ( mCounterStyleName ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const nsStyleContentData_CounterFunction ) - ) . mRefCnt as * const _ as usize } , 48usize , concat ! ( + ) . mRefCnt as * const _ as usize } , 40usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleContentData_CounterFunction ) , "::" , stringify ! ( mRefCnt ) )); @@ -34053,7 +34202,7 @@ pub mod root { root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_207713_instantiation_97() { + fn __bindgen_test_layout__bindgen_ty_id_207956_instantiation_97() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); @@ -34062,7 +34211,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_207749_instantiation_98() { + fn __bindgen_test_layout__bindgen_ty_id_207992_instantiation_98() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); @@ -34566,29 +34715,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_144() { - assert_eq!(::std::mem::size_of::() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - assert_eq!(::std::mem::align_of::() , 8usize , concat - ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_145() { - assert_eq!(::std::mem::size_of::() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - assert_eq!(::std::mem::align_of::() , 8usize , concat - ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_146() { + fn __bindgen_test_layout_nsTArray_instantiation_144() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34599,7 +34726,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_147() { + fn __bindgen_test_layout_nsTArray_instantiation_145() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34610,7 +34737,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_Heap_instantiation_148() { + fn __bindgen_test_layout_Heap_instantiation_146() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34621,7 +34748,7 @@ pub mod root { root::JS::Heap ) )); } #[test] - fn __bindgen_test_layout_Heap_instantiation_149() { + fn __bindgen_test_layout_Heap_instantiation_147() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34632,7 +34759,7 @@ pub mod root { root::JS::Heap<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_TenuredHeap_instantiation_150() { + fn __bindgen_test_layout_TenuredHeap_instantiation_148() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34643,7 +34770,7 @@ pub mod root { root::JS::TenuredHeap ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_151() { + fn __bindgen_test_layout_already_AddRefed_instantiation_149() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34654,7 +34781,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_152() { + fn __bindgen_test_layout_nsTArray_instantiation_150() { assert_eq!(::std::mem::size_of::>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34667,29 +34794,29 @@ pub mod root { ) )); } #[test] + fn __bindgen_test_layout_RefPtr_instantiation_151() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_152() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr ) )); + } + #[test] fn __bindgen_test_layout_RefPtr_instantiation_153() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_154() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_155() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34700,6 +34827,28 @@ pub mod root { root::RefPtr ) )); } #[test] + fn __bindgen_test_layout_nsCOMPtr_instantiation_154() { + assert_eq!(::std::mem::size_of::() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr ) )); + assert_eq!(::std::mem::align_of::() , 8usize , concat + ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_155() { + assert_eq!(::std::mem::size_of::>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray ) )); + assert_eq!(::std::mem::align_of::>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray ) )); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_instantiation_156() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( @@ -34711,29 +34860,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_157() { - assert_eq!(::std::mem::size_of::>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray ) )); - assert_eq!(::std::mem::align_of::>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_158() { - assert_eq!(::std::mem::size_of::() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - assert_eq!(::std::mem::align_of::() , 8usize , concat - ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_159() { + fn __bindgen_test_layout_already_AddRefed_instantiation_157() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34744,7 +34871,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_160() { + fn __bindgen_test_layout_already_AddRefed_instantiation_158() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34755,7 +34882,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_161() { + fn __bindgen_test_layout_RefPtr_instantiation_159() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34766,7 +34893,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_162() { + fn __bindgen_test_layout_already_AddRefed_instantiation_160() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34777,7 +34904,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_163() { + fn __bindgen_test_layout_MutableHandle_instantiation_161() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34788,29 +34915,29 @@ pub mod root { root::JS::MutableHandle<*mut root::JSObject> ) )); } #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_162() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_163() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_164() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_165() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_166() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34821,7 +34948,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_167() { + fn __bindgen_test_layout_RefPtr_instantiation_165() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34832,7 +34959,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_168() { + fn __bindgen_test_layout_Handle_instantiation_166() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34843,7 +34970,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_169() { + fn __bindgen_test_layout_already_AddRefed_instantiation_167() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34854,7 +34981,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_170() { + fn __bindgen_test_layout_already_AddRefed_instantiation_168() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34865,7 +34992,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_171() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_169() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34876,7 +35003,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_172() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_170() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34887,7 +35014,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_173() { + fn __bindgen_test_layout_RefPtr_instantiation_171() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34898,7 +35025,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_174() { + fn __bindgen_test_layout_Handle_instantiation_172() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34909,7 +35036,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_175() { + fn __bindgen_test_layout_DefaultDelete_instantiation_173() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34920,7 +35047,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_176() { + fn __bindgen_test_layout_UniquePtr_instantiation_174() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34931,7 +35058,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_177() { + fn __bindgen_test_layout_already_AddRefed_instantiation_175() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34942,7 +35069,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_178() { + fn __bindgen_test_layout_nsTArray_instantiation_176() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34953,6 +35080,28 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] + fn __bindgen_test_layout_Handle_instantiation_177() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_178() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + } + #[test] fn __bindgen_test_layout_Handle_instantiation_179() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -34964,29 +35113,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_180() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_181() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_182() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_180() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34999,7 +35126,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsDataHashtable_instantiation_183() { + fn __bindgen_test_layout_nsDataHashtable_instantiation_181() { assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35010,7 +35137,7 @@ pub mod root { [u64; 5usize] ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_184() { + fn __bindgen_test_layout_Handle_instantiation_182() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35021,7 +35148,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_185() { + fn __bindgen_test_layout_nsTArray_instantiation_183() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35032,7 +35159,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_186() { + fn __bindgen_test_layout_nsTArray_instantiation_184() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35043,7 +35170,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_187() { + fn __bindgen_test_layout_already_AddRefed_instantiation_185() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35054,7 +35181,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_188() { + fn __bindgen_test_layout_already_AddRefed_instantiation_186() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35065,7 +35192,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_SupportsWeakPtr_instantiation_189() { + fn __bindgen_test_layout_SupportsWeakPtr_instantiation_187() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); @@ -35074,7 +35201,7 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_190() { + fn __bindgen_test_layout_already_AddRefed_instantiation_188() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35085,7 +35212,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_191() { + fn __bindgen_test_layout_nsTArray_instantiation_189() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35096,7 +35223,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_192() { + fn __bindgen_test_layout_already_AddRefed_instantiation_190() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35107,7 +35234,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_193() { + fn __bindgen_test_layout_DefaultDelete_instantiation_191() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35118,7 +35245,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_194() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_192() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35129,7 +35256,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_195() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_193() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35140,7 +35267,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_196() { + fn __bindgen_test_layout_nsTArray_instantiation_194() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35151,7 +35278,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_197() { + fn __bindgen_test_layout_already_AddRefed_instantiation_195() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35162,6 +35289,28 @@ pub mod root { root::already_AddRefed ) )); } #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_196() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_197() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_198() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -35184,26 +35333,26 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_200() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_Handle_instantiation_200() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_201() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_Handle_instantiation_201() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::JS::Handle<*mut root::JSObject> ) )); } #[test] fn __bindgen_test_layout_Handle_instantiation_202() { @@ -35217,29 +35366,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_203() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_204() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_nsPIDOMWindow_instantiation_205() { + fn __bindgen_test_layout_nsPIDOMWindow_instantiation_203() { assert_eq!(::std::mem::size_of::<[u64; 28usize]>() , 224usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35250,7 +35377,7 @@ pub mod root { [u64; 28usize] ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_206() { + fn __bindgen_test_layout_already_AddRefed_instantiation_204() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35261,7 +35388,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_207() { + fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_205() { assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35272,7 +35399,7 @@ pub mod root { [u64; 5usize] ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_208() { + fn __bindgen_test_layout_Handle_instantiation_206() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35283,7 +35410,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_209() { + fn __bindgen_test_layout_nsTArray_instantiation_207() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35294,7 +35421,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_210() { + fn __bindgen_test_layout_already_AddRefed_instantiation_208() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35305,7 +35432,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_211() { + fn __bindgen_test_layout_RefPtr_instantiation_209() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35316,7 +35443,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_212() { + fn __bindgen_test_layout_RefPtr_instantiation_210() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35327,7 +35454,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_WeakPtr_instantiation_213() { + fn __bindgen_test_layout_WeakPtr_instantiation_211() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); @@ -35336,7 +35463,7 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_214() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_212() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35347,7 +35474,7 @@ pub mod root { root::nsPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_215() { + fn __bindgen_test_layout_Handle_instantiation_213() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35358,6 +35485,28 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] + fn __bindgen_test_layout_OwningNonNull_instantiation_214() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull ) )); + } + #[test] + fn __bindgen_test_layout_OwningNonNull_instantiation_215() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull ) )); + } + #[test] fn __bindgen_test_layout_OwningNonNull_instantiation_216() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -35369,51 +35518,29 @@ pub mod root { root::mozilla::OwningNonNull ) )); } #[test] - fn __bindgen_test_layout_OwningNonNull_instantiation_217() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_Handle_instantiation_217() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull ) )); - assert_eq!(::std::mem::align_of::>() + root::JS::Handle ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull ) )); + root::JS::Handle ) )); } #[test] - fn __bindgen_test_layout_OwningNonNull_instantiation_218() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_Handle_instantiation_218() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull ) )); - assert_eq!(::std::mem::align_of::>() + root::JS::Handle ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull ) )); + root::JS::Handle ) )); } #[test] fn __bindgen_test_layout_Handle_instantiation_219() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_220() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_221() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35424,7 +35551,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_222() { + fn __bindgen_test_layout_MutableHandle_instantiation_220() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35435,7 +35562,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_223() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_221() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35446,7 +35573,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_224() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_222() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35457,7 +35584,7 @@ pub mod root { root::nsPtrHashKey<::std::os::raw::c_void> ) )); } #[test] - fn __bindgen_test_layout_PointTyped_instantiation_225() { + fn __bindgen_test_layout_PointTyped_instantiation_223() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35468,7 +35595,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_IntPointTyped_instantiation_226() { + fn __bindgen_test_layout_IntPointTyped_instantiation_224() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35479,7 +35606,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_SizeTyped_instantiation_227() { + fn __bindgen_test_layout_SizeTyped_instantiation_225() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35490,7 +35617,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_RectTyped_instantiation_228() { + fn __bindgen_test_layout_RectTyped_instantiation_226() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35501,7 +35628,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_IntPointTyped_instantiation_229() { + fn __bindgen_test_layout_IntPointTyped_instantiation_227() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35512,7 +35639,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_IntSizeTyped_instantiation_230() { + fn __bindgen_test_layout_IntSizeTyped_instantiation_228() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35523,7 +35650,7 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_IntRectTyped_instantiation_231() { + fn __bindgen_test_layout_IntRectTyped_instantiation_229() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35534,7 +35661,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_MarginTyped_instantiation_232() { + fn __bindgen_test_layout_MarginTyped_instantiation_230() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35545,7 +35672,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_RectTyped_instantiation_233() { + fn __bindgen_test_layout_RectTyped_instantiation_231() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35556,7 +35683,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_IntRectTyped_instantiation_234() { + fn __bindgen_test_layout_IntRectTyped_instantiation_232() { assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35567,7 +35694,7 @@ pub mod root { [u32; 4usize] ) )); } #[test] - fn __bindgen_test_layout_ScaleFactor_instantiation_235() { + fn __bindgen_test_layout_ScaleFactor_instantiation_233() { assert_eq!(::std::mem::size_of::() , 4usize , concat ! ( "Size of template specialization: " , stringify ! ( u32 ) )); @@ -35576,6 +35703,28 @@ pub mod root { u32 ) )); } #[test] + fn __bindgen_test_layout_ScaleFactors2D_instantiation_234() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_ScaleFactors2D_instantiation_235() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] fn __bindgen_test_layout_ScaleFactors2D_instantiation_236() { assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! ( @@ -35587,51 +35736,40 @@ pub mod root { [u32; 2usize] ) )); } #[test] - fn __bindgen_test_layout_ScaleFactors2D_instantiation_237() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( + fn __bindgen_test_layout_already_AddRefed_instantiation_237() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); + root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_ScaleFactors2D_instantiation_238() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( + fn __bindgen_test_layout_already_AddRefed_instantiation_238() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_239() { - assert_eq!(::std::mem::size_of::>() + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_240() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_241() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35642,18 +35780,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_242() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_243() { + fn __bindgen_test_layout_nsTArray_instantiation_241() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35666,7 +35793,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_244() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_242() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35677,7 +35804,7 @@ pub mod root { root::nsPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_245() { + fn __bindgen_test_layout_already_AddRefed_instantiation_243() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35688,7 +35815,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsPIDOMWindow_instantiation_246() { + fn __bindgen_test_layout_nsPIDOMWindow_instantiation_244() { assert_eq!(::std::mem::size_of::<[u64; 28usize]>() , 224usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35699,7 +35826,7 @@ pub mod root { [u64; 28usize] ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_247() { + fn __bindgen_test_layout_MutableHandle_instantiation_245() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35710,7 +35837,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_248() { + fn __bindgen_test_layout_MutableHandle_instantiation_246() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35721,7 +35848,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_249() { + fn __bindgen_test_layout_already_AddRefed_instantiation_247() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35732,7 +35859,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_250() { + fn __bindgen_test_layout_DefaultDelete_instantiation_248() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35743,7 +35870,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_251() { + fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_249() { assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35754,7 +35881,7 @@ pub mod root { [u64; 5usize] ) )); } #[test] - fn __bindgen_test_layout_Rooted_instantiation_252() { + fn __bindgen_test_layout_Rooted_instantiation_250() { assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35765,7 +35892,7 @@ pub mod root { [u64; 3usize] ) )); } #[test] - fn __bindgen_test_layout_Rooted_instantiation_253() { + fn __bindgen_test_layout_Rooted_instantiation_251() { assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35776,7 +35903,7 @@ pub mod root { [u64; 3usize] ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_254() { + fn __bindgen_test_layout_already_AddRefed_instantiation_252() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35787,7 +35914,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_255() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_253() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35798,7 +35925,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_256() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_254() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35809,7 +35936,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_257() { + fn __bindgen_test_layout_nsTArray_instantiation_255() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35820,7 +35947,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_258() { + fn __bindgen_test_layout_Handle_instantiation_256() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35831,6 +35958,28 @@ pub mod root { root::JS::Handle ) )); } #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_257() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_258() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + } + #[test] fn __bindgen_test_layout_MutableHandle_instantiation_259() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -35842,29 +35991,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_260() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_261() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_262() { + fn __bindgen_test_layout_nsTArray_instantiation_260() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35875,7 +36002,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_263() { + fn __bindgen_test_layout_Handle_instantiation_261() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35886,7 +36013,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_264() { + fn __bindgen_test_layout_already_AddRefed_instantiation_262() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35897,7 +36024,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_265() { + fn __bindgen_test_layout_already_AddRefed_instantiation_263() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35908,7 +36035,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_266() { + fn __bindgen_test_layout_Handle_instantiation_264() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35919,7 +36046,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_267() { + fn __bindgen_test_layout_nsTArray_instantiation_265() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35930,7 +36057,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_268() { + fn __bindgen_test_layout_RefPtr_instantiation_266() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35943,7 +36070,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_269() { + fn __bindgen_test_layout_nsTArray_instantiation_267() { assert_eq!(::std::mem::size_of::>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35956,7 +36083,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_270() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_268() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35967,7 +36094,7 @@ pub mod root { root::nsPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_271() { + fn __bindgen_test_layout_RefPtr_instantiation_269() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35980,7 +36107,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_272() { + fn __bindgen_test_layout_UniquePtr_instantiation_270() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35991,7 +36118,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_273() { + fn __bindgen_test_layout_nsTArray_instantiation_271() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36002,6 +36129,28 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] + fn __bindgen_test_layout_Handle_instantiation_272() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle ) )); + } + #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_273() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle ) )); + } + #[test] fn __bindgen_test_layout_Handle_instantiation_274() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -36024,29 +36173,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_276() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle ) )); - } - #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_277() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_278() { + fn __bindgen_test_layout_already_AddRefed_instantiation_276() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36057,7 +36184,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsDataHashtable_instantiation_279() { + fn __bindgen_test_layout_nsDataHashtable_instantiation_277() { assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36068,7 +36195,7 @@ pub mod root { [u64; 5usize] ) )); } #[test] - fn __bindgen_test_layout_OwningNonNull_instantiation_280() { + fn __bindgen_test_layout_OwningNonNull_instantiation_278() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36081,7 +36208,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_281() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_279() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36092,7 +36219,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_282() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_280() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36103,7 +36230,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_283() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_281() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36114,7 +36241,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_284() { + fn __bindgen_test_layout_DefaultDelete_instantiation_282() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36125,6 +36252,28 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_283() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] + fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_284() { + assert_eq!(::std::mem::size_of::>() + , 24usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsMainThreadPtrHolder ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsMainThreadPtrHolder ) )); + } + #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_285() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -36136,51 +36285,40 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_286() { - assert_eq!(::std::mem::size_of::>() - , 24usize , concat ! ( + fn __bindgen_test_layout_already_AddRefed_instantiation_286() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsMainThreadPtrHolder ) )); - assert_eq!(::std::mem::align_of::>() + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::nsMainThreadPtrHolder ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_287() { - assert_eq!(::std::mem::size_of::>() + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_288() { - assert_eq!(::std::mem::size_of::>() + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::already_AddRefed ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_289() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_290() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36191,18 +36329,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_291() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_292() { + fn __bindgen_test_layout_nsPtrHashKey_instantiation_290() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36213,7 +36340,7 @@ pub mod root { root::nsPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_293() { + fn __bindgen_test_layout_already_AddRefed_instantiation_291() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36224,6 +36351,28 @@ pub mod root { root::already_AddRefed ) )); } #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_292() { + assert_eq!(::std::mem::size_of::() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_UniquePtr_instantiation_293() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::UniquePtr ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::UniquePtr ) )); + } + #[test] fn __bindgen_test_layout_DefaultDelete_instantiation_294() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( @@ -36236,28 +36385,6 @@ pub mod root { } #[test] fn __bindgen_test_layout_UniquePtr_instantiation_295() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::UniquePtr ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::UniquePtr ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_296() { - assert_eq!(::std::mem::size_of::() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_297() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36268,7 +36395,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_298() { + fn __bindgen_test_layout_already_AddRefed_instantiation_296() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36279,7 +36406,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_SupportsWeakPtr_instantiation_299() { + fn __bindgen_test_layout_SupportsWeakPtr_instantiation_297() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); @@ -36288,7 +36415,7 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_300() { + fn __bindgen_test_layout_nsTArray_instantiation_298() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36299,7 +36426,18 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_301() { + fn __bindgen_test_layout_nsTArray_instantiation_299() { + assert_eq!(::std::mem::size_of::>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_300() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36310,7 +36448,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_302() { + fn __bindgen_test_layout_already_AddRefed_instantiation_301() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36321,6 +36459,17 @@ pub mod root { root::already_AddRefed ) )); } #[test] + fn __bindgen_test_layout_Maybe_instantiation_302() { + assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + } + #[test] fn __bindgen_test_layout_Maybe_instantiation_303() { assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! ( @@ -36332,18 +36481,7 @@ pub mod root { [u32; 3usize] ) )); } #[test] - fn __bindgen_test_layout_Maybe_instantiation_304() { - assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_305() { + fn __bindgen_test_layout_already_AddRefed_instantiation_304() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36354,7 +36492,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_306() { + fn __bindgen_test_layout_already_AddRefed_instantiation_305() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36365,7 +36503,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_307() { + fn __bindgen_test_layout_DefaultDelete_instantiation_306() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36376,7 +36514,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_308() { + fn __bindgen_test_layout_UniquePtr_instantiation_307() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36387,7 +36525,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_309() { + fn __bindgen_test_layout_DefaultDelete_instantiation_308() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36398,7 +36536,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_310() { + fn __bindgen_test_layout_UniquePtr_instantiation_309() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36409,7 +36547,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_311() { + fn __bindgen_test_layout_already_AddRefed_instantiation_310() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36420,7 +36558,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_Maybe_instantiation_312() { + fn __bindgen_test_layout_Maybe_instantiation_311() { assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36431,6 +36569,17 @@ pub mod root { [u32; 3usize] ) )); } #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_312() { + assert_eq!(::std::mem::size_of::() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] fn __bindgen_test_layout_DefaultDelete_instantiation_313() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( @@ -36442,18 +36591,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_314() { - assert_eq!(::std::mem::size_of::() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_pair_instantiation_315() { + fn __bindgen_test_layout_pair_instantiation_314() { assert_eq!(::std::mem::size_of::>() , 32usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36464,7 +36602,7 @@ pub mod root { root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_316() { + fn __bindgen_test_layout_nsTArray_instantiation_315() { assert_eq!(::std::mem::size_of::>>() , 8usize , concat ! ( @@ -36479,7 +36617,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_317() { + fn __bindgen_test_layout_already_AddRefed_instantiation_316() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36490,7 +36628,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_318() { + fn __bindgen_test_layout_nsTArray_instantiation_317() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36501,6 +36639,17 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] + fn __bindgen_test_layout_nsTArray_instantiation_318() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray ) )); + } + #[test] fn __bindgen_test_layout_nsTArray_instantiation_319() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -36512,18 +36661,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_320() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_321() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_320() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36534,7 +36672,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsStyleAutoArray_instantiation_322() { + fn __bindgen_test_layout_nsStyleAutoArray_instantiation_321() { assert_eq!(::std::mem::size_of::>() , 64usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36545,7 +36683,7 @@ pub mod root { root::nsStyleAutoArray ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_323() { + fn __bindgen_test_layout_DefaultDelete_instantiation_322() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36556,7 +36694,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_324() { + fn __bindgen_test_layout_UniquePtr_instantiation_323() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36567,7 +36705,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_325() { + fn __bindgen_test_layout_DefaultDelete_instantiation_324() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36578,7 +36716,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_326() { + fn __bindgen_test_layout_UniquePtr_instantiation_325() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36589,7 +36727,7 @@ pub mod root { root::mozilla::UniquePtr ) )); } #[test] - fn __bindgen_test_layout_NonNull_instantiation_327() { + fn __bindgen_test_layout_NonNull_instantiation_326() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36602,7 +36740,7 @@ pub mod root { )); } #[test] - fn __bindgen_test_layout_NonNull_instantiation_328() { + fn __bindgen_test_layout_NonNull_instantiation_327() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36615,7 +36753,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_329() { + fn __bindgen_test_layout_Handle_instantiation_328() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36626,7 +36764,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_330() { + fn __bindgen_test_layout_MutableHandle_instantiation_329() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36637,6 +36775,17 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] + fn __bindgen_test_layout_Maybe_instantiation_330() { + assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat + ! ( + "Size of template specialization: " , stringify ! ( + [u64; 18usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 18usize]>() , 8usize , concat + ! ( + "Alignment of template specialization: " , stringify ! ( + [u64; 18usize] ) )); + } + #[test] fn __bindgen_test_layout_Maybe_instantiation_331() { assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat ! ( @@ -36648,18 +36797,7 @@ pub mod root { [u64; 18usize] ) )); } #[test] - fn __bindgen_test_layout_Maybe_instantiation_332() { - assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat - ! ( - "Size of template specialization: " , stringify ! ( - [u64; 18usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 18usize]>() , 8usize , concat - ! ( - "Alignment of template specialization: " , stringify ! ( - [u64; 18usize] ) )); - } - #[test] - fn __bindgen_test_layout_BaseTimeDuration_instantiation_333() { + fn __bindgen_test_layout_BaseTimeDuration_instantiation_332() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36670,6 +36808,17 @@ pub mod root { root::mozilla::BaseTimeDuration ) )); } #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_333() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed ) )); + } + #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_334() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -36681,15 +36830,15 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_335() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_nsTArray_instantiation_335() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::already_AddRefed ) )); - assert_eq!(::std::mem::align_of::>() + root::nsTArray<*mut root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed ) )); + root::nsTArray<*mut root::nsIContent> ) )); } #[test] fn __bindgen_test_layout_nsTArray_instantiation_336() { @@ -36703,18 +36852,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_337() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_338() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_337() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36725,7 +36863,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_339() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_338() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36738,7 +36876,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_340() { + fn __bindgen_test_layout_already_AddRefed_instantiation_339() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36749,7 +36887,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_341() { + fn __bindgen_test_layout_nsTArray_instantiation_340() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36762,6 +36900,17 @@ pub mod root { ) )); } #[test] + fn __bindgen_test_layout_Handle_instantiation_341() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<*mut root::JSObject> ) )); + } + #[test] fn __bindgen_test_layout_Handle_instantiation_342() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -36773,18 +36922,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_343() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<*mut root::JSObject> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_344() { + fn __bindgen_test_layout_RefPtr_instantiation_343() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36795,7 +36933,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_345() { + fn __bindgen_test_layout_Handle_instantiation_344() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36806,7 +36944,7 @@ pub mod root { root::JS::Handle ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_346() { + fn __bindgen_test_layout_MutableHandle_instantiation_345() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36817,7 +36955,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Sequence_instantiation_347() { + fn __bindgen_test_layout_Sequence_instantiation_346() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); @@ -36826,7 +36964,7 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_348() { + fn __bindgen_test_layout_Handle_instantiation_347() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36837,6 +36975,15 @@ pub mod root { root::JS::Handle ) )); } #[test] + fn __bindgen_test_layout_Sequence_instantiation_348() { + assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( u64 ) + )); + assert_eq!(::std::mem::align_of::() , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + u64 ) )); + } + #[test] fn __bindgen_test_layout_Sequence_instantiation_349() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) @@ -36846,27 +36993,18 @@ pub mod root { u64 ) )); } #[test] - fn __bindgen_test_layout_Sequence_instantiation_350() { - assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( u64 ) - )); - assert_eq!(::std::mem::align_of::() , 8usize , concat ! ( + fn __bindgen_test_layout_Handle_instantiation_350() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - u64 ) )); + root::JS::Handle ) )); } #[test] fn __bindgen_test_layout_Handle_instantiation_351() { - assert_eq!(::std::mem::size_of::>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle ) )); - assert_eq!(::std::mem::align_of::>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_352() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36877,7 +37015,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_353() { + fn __bindgen_test_layout_MutableHandle_instantiation_352() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36888,7 +37026,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_354() { + fn __bindgen_test_layout_Handle_instantiation_353() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36899,7 +37037,7 @@ pub mod root { root::JS::Handle ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_355() { + fn __bindgen_test_layout_MutableHandle_instantiation_354() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36910,7 +37048,7 @@ pub mod root { root::JS::MutableHandle ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_356() { + fn __bindgen_test_layout_Handle_instantiation_355() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36921,7 +37059,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_357() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_356() { assert_eq!(::std::mem::size_of::>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36932,7 +37070,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsClassHashtable_instantiation_358() { + fn __bindgen_test_layout_nsClassHashtable_instantiation_357() { assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36943,7 +37081,7 @@ pub mod root { [u64; 5usize] ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_359() { + fn __bindgen_test_layout_Handle_instantiation_358() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36954,7 +37092,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_360() { + fn __bindgen_test_layout_nsTArray_instantiation_359() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36965,7 +37103,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_361() { + fn __bindgen_test_layout_already_AddRefed_instantiation_360() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36976,7 +37114,7 @@ pub mod root { root::already_AddRefed ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_362() { + fn __bindgen_test_layout_Handle_instantiation_361() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36987,7 +37125,7 @@ pub mod root { root::JS::Handle<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_363() { + fn __bindgen_test_layout_nsTArray_instantiation_362() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36998,7 +37136,7 @@ pub mod root { root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); } #[test] - fn __bindgen_test_layout_nsAutoPtr_instantiation_364() { + fn __bindgen_test_layout_nsAutoPtr_instantiation_363() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( diff --git a/components/style/gecko/values.rs b/components/style/gecko/values.rs index 62cad421e87..f2a92e1ec89 100644 --- a/components/style/gecko/values.rs +++ b/components/style/gecko/values.rs @@ -7,15 +7,19 @@ //! Different kind of helpers to interact with Gecko values. use app_units::Au; +use counter_style::Symbol; use cssparser::RGBA; -use gecko_bindings::structs::{nsStyleCoord, StyleGridTrackBreadth, StyleShapeRadius}; +use gecko_bindings::structs::{CounterStylePtr, nsStyleCoord}; +use gecko_bindings::structs::{StyleGridTrackBreadth, StyleShapeRadius}; use gecko_bindings::sugar::ns_style_coord::{CoordData, CoordDataMut, CoordDataValue}; +use nsstring::{nsACString, nsCString}; use std::cmp::max; use values::{Auto, Either, ExtremumLength, None_, Normal}; use values::computed::{Angle, LengthOrPercentage, LengthOrPercentageOrAuto}; use values::computed::{LengthOrPercentageOrNone, Number, NumberOrPercentage}; use values::computed::{MaxLength, MozLength}; use values::computed::basic_shape::ShapeRadius as ComputedShapeRadius; +use values::generics::CounterStyleOrNone; use values::generics::basic_shape::ShapeRadius; use values::generics::grid::{TrackBreadth, TrackKeyword}; use values::specified::Percentage; @@ -390,3 +394,30 @@ pub fn round_border_to_device_pixels(width: Au, au_per_device_px: Au) -> Au { max(au_per_device_px, Au(width.0 / au_per_device_px.0 * au_per_device_px.0)) } } + +impl CounterStyleOrNone { + /// Convert this counter style to a Gecko CounterStylePtr. + pub fn to_gecko_value(self, gecko_value: &mut CounterStylePtr) { + use gecko_bindings::bindings::Gecko_SetCounterStyleToName as set_name; + use gecko_bindings::bindings::Gecko_SetCounterStyleToSymbols as set_symbols; + match self { + CounterStyleOrNone::None_ => unsafe { + set_name(gecko_value, atom!("none").into_addrefed()); + }, + CounterStyleOrNone::Name(name) => unsafe { + set_name(gecko_value, name.0.into_addrefed()); + }, + CounterStyleOrNone::Symbols(symbols_type, symbols) => { + let symbols: Vec<_> = symbols.0.iter().map(|symbol| match *symbol { + Symbol::String(ref s) => nsCString::from(s), + Symbol::Ident(_) => unreachable!("Should not have identifier in symbols()"), + }).collect(); + let symbols: Vec<_> = symbols.iter() + .map(|symbol| symbol as &nsACString as *const _) + .collect(); + unsafe { set_symbols(gecko_value, symbols_type.to_gecko_keyword(), + symbols.as_ptr(), symbols.len() as u32) }; + } + } + } +} diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index 9f6a275c31e..03899d928ce 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -21,11 +21,11 @@ use gecko_bindings::bindings::Gecko_CopyConstruct_${style_struct.gecko_ffi_name} use gecko_bindings::bindings::Gecko_Destroy_${style_struct.gecko_ffi_name}; % endfor use gecko_bindings::bindings::Gecko_Construct_nsStyleVariables; +use gecko_bindings::bindings::Gecko_CopyCounterStyle; use gecko_bindings::bindings::Gecko_CopyCursorArrayFrom; use gecko_bindings::bindings::Gecko_CopyFontFamilyFrom; use gecko_bindings::bindings::Gecko_CopyImageValueFrom; use gecko_bindings::bindings::Gecko_CopyListStyleImageFrom; -use gecko_bindings::bindings::Gecko_CopyListStyleTypeFrom; use gecko_bindings::bindings::Gecko_Destroy_nsStyleVariables; use gecko_bindings::bindings::Gecko_EnsureImageLayersLength; use gecko_bindings::bindings::Gecko_FontFamilyList_AppendGeneric; @@ -39,7 +39,6 @@ use gecko_bindings::bindings::Gecko_nsStyleFont_SetLang; use gecko_bindings::bindings::Gecko_nsStyleFont_CopyLangFrom; use gecko_bindings::bindings::Gecko_SetListStyleImageNone; use gecko_bindings::bindings::Gecko_SetListStyleImageImageValue; -use gecko_bindings::bindings::Gecko_SetListStyleType; use gecko_bindings::bindings::Gecko_SetNullImageValue; use gecko_bindings::bindings::ServoComputedValuesBorrowedOrNull; use gecko_bindings::bindings::{Gecko_ResetFilters, Gecko_CopyFiltersFrom}; @@ -3157,18 +3156,21 @@ fn static_assert() { } pub fn set_list_style_type(&mut self, v: longhands::list_style_type::computed_value::T) { - use values::generics::CounterStyleOrNone; - let name = match v.0 { - CounterStyleOrNone::None_ => atom!("none"), - CounterStyleOrNone::Name(name) => name.0, - }; - unsafe { Gecko_SetListStyleType(&mut self.gecko, name.as_ptr()); } + use gecko_bindings::bindings::Gecko_SetCounterStyleToString; + use nsstring::{nsACString, nsCString}; + use self::longhands::list_style_type::computed_value::T; + match v { + T::CounterStyle(s) => s.to_gecko_value(&mut self.gecko.mCounterStyle), + T::String(s) => unsafe { + Gecko_SetCounterStyleToString(&mut self.gecko.mCounterStyle, + &nsCString::from(s) as &nsACString) + } + } } - pub fn copy_list_style_type_from(&mut self, other: &Self) { unsafe { - Gecko_CopyListStyleTypeFrom(&mut self.gecko, &other.gecko); + Gecko_CopyCounterStyle(&mut self.gecko.mCounterStyle, &other.gecko.mCounterStyle); } } @@ -4264,7 +4266,6 @@ clip-path use properties::longhands::content::computed_value::T; use properties::longhands::content::computed_value::ContentItem; use values::generics::CounterStyleOrNone; - use gecko_bindings::structs::nsIAtom; use gecko_bindings::structs::nsStyleContentData; use gecko_bindings::structs::nsStyleContentType; use gecko_bindings::structs::nsStyleContentType::*; @@ -4292,11 +4293,7 @@ clip-path if content_type == eStyleContentType_Counters { counter_func.mSeparator.assign_utf8(sep); } - let ptr = match style { - CounterStyleOrNone::None_ => atom!("none"), - CounterStyleOrNone::Name(name) => name.0, - }.into_addrefed(); - unsafe { counter_func.mCounterStyleName.set_raw_from_addrefed::(ptr); } + style.to_gecko_value(&mut counter_func.mCounterStyle); } match v { diff --git a/components/style/properties/longhand/list.mako.rs b/components/style/properties/longhand/list.mako.rs index 90d9a9e3f67..7ec59f29e14 100644 --- a/components/style/properties/longhand/list.mako.rs +++ b/components/style/properties/longhand/list.mako.rs @@ -31,8 +31,9 @@ ${helpers.single_keyword("list-style-position", "outside inside", animation_valu animation_value_type="none", spec="https://drafts.csswg.org/css-lists/#propdef-list-style-type")} % else: - <%helpers:longhand name="list-style-type" animation_value_type="none" + <%helpers:longhand name="list-style-type" animation_value_type="none" boxed="True" spec="https://drafts.csswg.org/css-lists/#propdef-list-style-type"> + use cssparser; use std::fmt; use style_traits::ToCss; use values::CustomIdent; @@ -44,9 +45,12 @@ ${helpers.single_keyword("list-style-position", "outside inside", animation_valu pub mod computed_value { use values::generics::CounterStyleOrNone; - /// | none + /// | | none #[derive(Debug, Clone, PartialEq, Eq)] - pub struct T(pub CounterStyleOrNone); + pub enum T { + CounterStyle(CounterStyleOrNone), + String(String), + } } impl ComputedValueAsSpecified for SpecifiedValue {} @@ -54,7 +58,10 @@ ${helpers.single_keyword("list-style-position", "outside inside", animation_valu impl ToCss for SpecifiedValue { fn to_css(&self, dest: &mut W) -> fmt::Result where W: fmt::Write { - self.0.to_css(dest) + match *self { + SpecifiedValue::CounterStyle(ref s) => s.to_css(dest), + SpecifiedValue::String(ref s) => cssparser::serialize_string(s, dest) + } } } @@ -67,7 +74,7 @@ ${helpers.single_keyword("list-style-position", "outside inside", animation_valu /// attribute is considered here. pub fn from_gecko_keyword(value: u32) -> Self { use gecko_bindings::structs; - SpecifiedValue(if value == structs::NS_STYLE_LIST_STYLE_NONE { + SpecifiedValue::CounterStyle(if value == structs::NS_STYLE_LIST_STYLE_NONE { CounterStyleOrNone::None_ } else { <% @@ -86,16 +93,20 @@ ${helpers.single_keyword("list-style-position", "outside inside", animation_valu #[inline] pub fn get_initial_value() -> computed_value::T { - computed_value::T(CounterStyleOrNone::disc()) + computed_value::T::CounterStyle(CounterStyleOrNone::disc()) } #[inline] pub fn get_initial_specified_value() -> SpecifiedValue { - SpecifiedValue(CounterStyleOrNone::disc()) + SpecifiedValue::CounterStyle(CounterStyleOrNone::disc()) } pub fn parse(context: &ParserContext, input: &mut Parser) -> Result { - CounterStyleOrNone::parse(context, input).map(SpecifiedValue) + Ok(if let Ok(style) = input.try(|i| CounterStyleOrNone::parse(context, i)) { + SpecifiedValue::CounterStyle(style) + } else { + SpecifiedValue::String(input.expect_string()?.into_owned()) + }) } % endif diff --git a/components/style/properties/shorthand/list.mako.rs b/components/style/properties/shorthand/list.mako.rs index 2aa0f2a6c82..cb7cc858160 100644 --- a/components/style/properties/shorthand/list.mako.rs +++ b/components/style/properties/shorthand/list.mako.rs @@ -61,7 +61,7 @@ list_style_type::SpecifiedValue::none % else: use values::generics::CounterStyleOrNone; - list_style_type::SpecifiedValue(CounterStyleOrNone::None_) + list_style_type::SpecifiedValue::CounterStyle(CounterStyleOrNone::None_) % endif } diff --git a/components/style/values/generics/mod.rs b/components/style/values/generics/mod.rs index 0f36b2c3f1a..f96773f3d27 100644 --- a/components/style/values/generics/mod.rs +++ b/components/style/values/generics/mod.rs @@ -5,7 +5,7 @@ //! Generic types that share their serialization implementations //! for both specified and computed values. -use counter_style::parse_counter_style_name; +use counter_style::{Symbols, parse_counter_style_name}; use cssparser::Parser; use euclid::size::Size2D; use parser::{Parse, ParserContext}; @@ -64,16 +64,43 @@ impl ToCss for BorderRadiusSize { } } +// https://drafts.csswg.org/css-counter-styles/#typedef-symbols-type +define_css_keyword_enum! { SymbolsType: + "cyclic" => Cyclic, + "numeric" => Numeric, + "alphabetic" => Alphabetic, + "symbolic" => Symbolic, + "fixed" => Fixed, +} +add_impls_for_keyword_enum!(SymbolsType); + +#[cfg(feature = "gecko")] +impl SymbolsType { + /// Convert symbols type to their corresponding Gecko values. + pub fn to_gecko_keyword(self) -> u8 { + use gecko_bindings::structs; + match self { + SymbolsType::Cyclic => structs::NS_STYLE_COUNTER_SYSTEM_CYCLIC as u8, + SymbolsType::Numeric => structs::NS_STYLE_COUNTER_SYSTEM_NUMERIC as u8, + SymbolsType::Alphabetic => structs::NS_STYLE_COUNTER_SYSTEM_ALPHABETIC as u8, + SymbolsType::Symbolic => structs::NS_STYLE_COUNTER_SYSTEM_SYMBOLIC as u8, + SymbolsType::Fixed => structs::NS_STYLE_COUNTER_SYSTEM_FIXED as u8, + } + } +} + /// https://drafts.csswg.org/css-counter-styles/#typedef-counter-style /// /// Since wherever is used, 'none' is a valid value as /// well, we combine them into one type to make code simpler. -#[derive(Clone, PartialEq, Eq, Debug)] +#[derive(Clone, Debug, PartialEq, Eq)] pub enum CounterStyleOrNone { /// none None_, /// Name(CustomIdent), + /// symbols() + Symbols(SymbolsType, Symbols), } impl CounterStyleOrNone { @@ -91,12 +118,32 @@ impl CounterStyleOrNone { no_viewport_percentage!(CounterStyleOrNone); impl Parse for CounterStyleOrNone { - fn parse(_: &ParserContext, input: &mut Parser) -> Result { - input.try(|input| { - parse_counter_style_name(input).map(CounterStyleOrNone::Name) - }).or_else(|_| { - input.expect_ident_matching("none").map(|_| CounterStyleOrNone::None_) - }) + fn parse(context: &ParserContext, input: &mut Parser) -> Result { + if let Ok(name) = input.try(|i| parse_counter_style_name(i)) { + return Ok(CounterStyleOrNone::Name(name)); + } + if input.try(|i| i.expect_ident_matching("none")).is_ok() { + return Ok(CounterStyleOrNone::None_); + } + if input.try(|i| i.expect_function_matching("symbols")).is_ok() { + return input.parse_nested_block(|input| { + let symbols_type = input.try(|i| SymbolsType::parse(i)) + .unwrap_or(SymbolsType::Symbolic); + let symbols = Symbols::parse(context, input)?; + // There must be at least two symbols for alphabetic or + // numeric system. + if (symbols_type == SymbolsType::Alphabetic || + symbols_type == SymbolsType::Numeric) && symbols.0.len() < 2 { + return Err(()); + } + // Identifier is not allowed in symbols() function. + if symbols.0.iter().any(|sym| !sym.is_allowed_in_symbols()) { + return Err(()); + } + Ok(CounterStyleOrNone::Symbols(symbols_type, symbols)) + }); + } + Err(()) } } @@ -106,6 +153,13 @@ impl ToCss for CounterStyleOrNone { match self { &CounterStyleOrNone::None_ => dest.write_str("none"), &CounterStyleOrNone::Name(ref name) => name.to_css(dest), + &CounterStyleOrNone::Symbols(ref symbols_type, ref symbols) => { + dest.write_str("symbols(")?; + symbols_type.to_css(dest)?; + dest.write_str(" ")?; + symbols.to_css(dest)?; + dest.write_str(")") + } } } } diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index 55bfc2baec8..820c5f43695 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -1844,7 +1844,7 @@ pub extern "C" fn Servo_DeclarationBlock_SetKeywordValue(declarations: }, FontStyle => longhands::font_style::computed_value::T::from_gecko_keyword(value).into(), FontWeight => longhands::font_weight::SpecifiedValue::from_gecko_keyword(value), - ListStyleType => longhands::list_style_type::SpecifiedValue::from_gecko_keyword(value), + ListStyleType => Box::new(longhands::list_style_type::SpecifiedValue::from_gecko_keyword(value)), MozMathVariant => longhands::_moz_math_variant::SpecifiedValue::from_gecko_keyword(value), WhiteSpace => longhands::white_space::SpecifiedValue::from_gecko_keyword(value), CaptionSide => longhands::caption_side::SpecifiedValue::from_gecko_keyword(value),