aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/style/dom.rs9
-rw-r--r--components/style/gecko/generated/bindings.rs21
-rw-r--r--components/style/gecko/generated/structs_debug.rs1664
-rw-r--r--components/style/gecko/generated/structs_release.rs1277
-rw-r--r--components/style/gecko/wrapper.rs88
-rw-r--r--components/style/rule_tree/mod.rs5
-rw-r--r--components/style/stylist.rs47
7 files changed, 2070 insertions, 1041 deletions
diff --git a/components/style/dom.rs b/components/style/dom.rs
index 64e11b2faf0..870690c2027 100644
--- a/components/style/dom.rs
+++ b/components/style/dom.rs
@@ -22,6 +22,7 @@ use selector_parser::{PseudoClassStringArg, PseudoElement};
use selectors::matching::{ElementSelectorFlags, VisitedHandlingMode};
use shared_lock::Locked;
use sink::Push;
+use smallvec::VecLike;
use std::fmt;
#[cfg(feature = "gecko")] use std::collections::HashMap;
use std::fmt::Debug;
@@ -562,6 +563,14 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
.map_or(false, |r| r.hint.has_animation_hint());
}
+ /// Gets declarations from XBL bindings from the element. Only gecko element could have this.
+ fn get_declarations_from_xbl_bindings<V>(&self,
+ _: &mut V)
+ -> bool
+ where V: Push<ApplicableDeclarationBlock> + VecLike<ApplicableDeclarationBlock> {
+ false
+ }
+
/// Gets the current existing CSS transitions, by |property, end value| pairs in a HashMap.
#[cfg(feature = "gecko")]
fn get_css_transitions_info(&self)
diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs
index 5e543f9cd8e..46687e34bb5 100644
--- a/components/style/gecko/generated/bindings.rs
+++ b/components/style/gecko/generated/bindings.rs
@@ -28,6 +28,7 @@ use gecko_bindings::structs::RawGeckoPresContextOwned;
use gecko_bindings::structs::RawGeckoStyleAnimationList;
use gecko_bindings::structs::RawGeckoServoStyleRuleList;
use gecko_bindings::structs::RawGeckoURLExtraData;
+use gecko_bindings::structs::RawGeckoXBLBinding;
use gecko_bindings::structs::RefPtr;
use gecko_bindings::structs::CSSPseudoClassType;
use gecko_bindings::structs::CSSPseudoElementType;
@@ -257,6 +258,8 @@ pub type RawGeckoPresContextBorrowed<'a> = &'a RawGeckoPresContext;
pub type RawGeckoPresContextBorrowedOrNull<'a> = Option<&'a RawGeckoPresContext>;
pub type RawGeckoStyleAnimationListBorrowed<'a> = &'a RawGeckoStyleAnimationList;
pub type RawGeckoStyleAnimationListBorrowedOrNull<'a> = Option<&'a RawGeckoStyleAnimationList>;
+pub type RawGeckoXBLBindingBorrowed<'a> = &'a RawGeckoXBLBinding;
+pub type RawGeckoXBLBindingBorrowedOrNull<'a> = Option<&'a RawGeckoXBLBinding>;
pub type nsCSSPropertyIDSetBorrowed<'a> = &'a nsCSSPropertyIDSet;
pub type nsCSSPropertyIDSetBorrowedOrNull<'a> = Option<&'a nsCSSPropertyIDSet>;
pub type nsCSSPropertyIDSetBorrowedMut<'a> = &'a mut nsCSSPropertyIDSet;
@@ -1374,6 +1377,24 @@ extern "C" {
pub fn Gecko_GetBaseSize(lang: *mut nsIAtom) -> FontSizePrefs;
}
extern "C" {
+ pub fn Gecko_GetBindingParent(aElement: RawGeckoElementBorrowed)
+ -> RawGeckoElementBorrowedOrNull;
+}
+extern "C" {
+ pub fn Gecko_GetXBLBinding(aElement: RawGeckoElementBorrowed)
+ -> RawGeckoXBLBindingBorrowedOrNull;
+}
+extern "C" {
+ pub fn Gecko_XBLBinding_GetRawServoStyleSet(aXBLBinding:
+ RawGeckoXBLBindingBorrowed)
+ -> RawServoStyleSetBorrowedOrNull;
+}
+extern "C" {
+ pub fn Gecko_XBLBinding_InheritsStyle(aXBLBinding:
+ RawGeckoXBLBindingBorrowed)
+ -> bool;
+}
+extern "C" {
pub fn Gecko_GetFontMetrics(pres_context: RawGeckoPresContextBorrowed,
is_vertical: bool, font: *const nsStyleFont,
font_size: nscoord, use_user_font_set: bool)
diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs
index b918248ff45..253e29c7956 100644
--- a/components/style/gecko/generated/structs_debug.rs
+++ b/components/style/gecko/generated/structs_debug.rs
@@ -1064,54 +1064,101 @@ pub mod root {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
- #[derive(Debug, Copy, Clone)]
- pub struct iterator {
+ #[derive(Debug, Copy)]
+ pub struct forward_iterator_tag {
pub _address: u8,
}
- pub type iterator_iterator_category<_Category> = _Category;
- pub type iterator_value_type<_Tp> = _Tp;
- pub type iterator_difference_type<_Distance> = _Distance;
- pub type iterator_pointer<_Pointer> = _Pointer;
- pub type iterator_reference<_Reference> = _Reference;
+ #[test]
+ fn bindgen_test_layout_forward_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<forward_iterator_tag>() , 1usize
+ , concat ! (
+ "Size of: " , stringify ! ( forward_iterator_tag ) ));
+ assert_eq! (::std::mem::align_of::<forward_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! ( forward_iterator_tag )
+ ));
+ }
+ impl Clone for forward_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
#[repr(C)]
- #[derive(Debug, Copy, Clone)]
- pub struct __iterator_traits {
+ #[derive(Debug, Copy)]
+ pub struct bidirectional_iterator_tag {
pub _address: u8,
}
+ #[test]
+ fn bindgen_test_layout_bidirectional_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<bidirectional_iterator_tag>() ,
+ 1usize , concat ! (
+ "Size of: " , stringify ! ( bidirectional_iterator_tag
+ ) ));
+ assert_eq! (::std::mem::align_of::<bidirectional_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! (
+ bidirectional_iterator_tag ) ));
+ }
+ impl Clone for bidirectional_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct random_access_iterator_tag {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_random_access_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<random_access_iterator_tag>() ,
+ 1usize , concat ! (
+ "Size of: " , stringify ! ( random_access_iterator_tag
+ ) ));
+ assert_eq! (::std::mem::align_of::<random_access_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! (
+ random_access_iterator_tag ) ));
+ }
+ impl Clone for random_access_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
#[repr(C)]
- #[derive(Debug, Copy, Clone)]
pub struct iterator_traits {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
- pub struct reverse_iterator<_Iterator> {
- pub current: _Iterator,
- pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Iterator>>,
+ pub struct iterator {
+ pub _address: u8,
+ }
+ pub type iterator_value_type<_Tp> = _Tp;
+ pub type iterator_difference_type<_Distance> = _Distance;
+ pub type iterator_pointer<_Pointer> = _Pointer;
+ pub type iterator_reference<_Reference> = _Reference;
+ pub type iterator_iterator_category<_Category> = _Category;
+ #[repr(C)]
+ pub struct reverse_iterator<_Iter> {
+ pub __t: _Iter,
+ pub current: _Iter,
+ pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Iter>>,
}
- pub type reverse_iterator___traits_type = root::std::iterator_traits;
- pub type reverse_iterator_iterator_type<_Iterator> = _Iterator;
+ pub type reverse_iterator_iterator_type<_Iter> = _Iter;
pub type reverse_iterator_difference_type =
- root::std::reverse_iterator___traits_type;
- pub type reverse_iterator_pointer =
- root::std::reverse_iterator___traits_type;
- pub type reverse_iterator_reference =
- root::std::reverse_iterator___traits_type;
+ root::std::iterator_traits;
+ pub type reverse_iterator_reference = root::std::iterator_traits;
+ pub type reverse_iterator_pointer = root::std::iterator_traits;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct atomic {
}
- pub mod chrono {
- #[allow(unused_imports)]
- use self::super::super::super::root;
+ pub type atomic___base = u8;
+ #[repr(C)]
+ pub struct __bit_const_reference {
+ pub __seg_: root::std::__bit_const_reference___storage_pointer,
+ pub __mask_: root::std::__bit_const_reference___storage_type,
}
+ pub type __bit_const_reference___storage_type = [u8; 0usize];
+ pub type __bit_const_reference___storage_pointer = [u8; 0usize];
}
- pub mod __gnu_cxx {
- #[allow(unused_imports)]
- use self::super::super::root;
- }
- pub type __off_t = ::std::os::raw::c_long;
- pub type __off64_t = ::std::os::raw::c_long;
+ pub type __int64_t = ::std::os::raw::c_longlong;
+ pub type __darwin_off_t = root::__int64_t;
pub mod mozilla {
#[allow(unused_imports)]
use self::super::super::root;
@@ -1395,7 +1442,7 @@ pub mod root {
#[repr(C)]
#[derive(Debug)]
pub struct MutexImpl {
- pub platformData_: [*mut ::std::os::raw::c_void; 5usize],
+ pub platformData_: [*mut ::std::os::raw::c_void; 8usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -1404,7 +1451,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_MutexImpl() {
- assert_eq!(::std::mem::size_of::<MutexImpl>() , 40usize ,
+ assert_eq!(::std::mem::size_of::<MutexImpl>() , 64usize ,
concat ! ( "Size of: " , stringify ! ( MutexImpl )
));
assert_eq! (::std::mem::align_of::<MutexImpl>() , 8usize ,
@@ -2234,7 +2281,7 @@ pub mod root {
}
}
#[repr(C)]
- #[derive(Debug)]
+ #[derive(Debug, Copy)]
pub struct ThreadSafeAutoRefCnt {
pub mValue: u64,
}
@@ -2255,6 +2302,9 @@ pub mod root {
ThreadSafeAutoRefCnt ) , "::" , stringify ! ( mValue )
));
}
+ impl Clone for ThreadSafeAutoRefCnt {
+ fn clone(&self) -> Self { *self }
+ }
#[repr(C)]
#[derive(Debug)]
pub struct OwningNonNull<T> {
@@ -5973,6 +6023,11 @@ pub mod root {
concat ! (
"Alignment of " , stringify ! ( CSSValue ) ));
}
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct XBLChildrenElement {
+ _unused: [u8; 0],
+ }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -7336,6 +7391,11 @@ pub mod root {
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
+ pub struct ServoStyleSet {
+ _unused: [u8; 0],
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
pub struct EventChainVisitor {
_unused: [u8; 0],
}
@@ -8240,7 +8300,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_OffTheBooksMutex() {
- assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 72usize ,
+ assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 96usize ,
concat ! (
"Size of: " , stringify ! ( OffTheBooksMutex ) ));
assert_eq! (::std::mem::align_of::<OffTheBooksMutex>() , 8usize ,
@@ -8248,7 +8308,7 @@ pub mod root {
"Alignment of " , stringify ! ( OffTheBooksMutex ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const OffTheBooksMutex ) ) .
- mOwningThread as * const _ as usize } , 64usize ,
+ mOwningThread as * const _ as usize } , 88usize ,
concat ! (
"Alignment of field: " , stringify ! (
OffTheBooksMutex ) , "::" , stringify ! (
@@ -8266,7 +8326,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_Mutex() {
- assert_eq!(::std::mem::size_of::<Mutex>() , 72usize , concat ! (
+ assert_eq!(::std::mem::size_of::<Mutex>() , 96usize , concat ! (
"Size of: " , stringify ! ( Mutex ) ));
assert_eq! (::std::mem::align_of::<Mutex>() , 8usize , concat ! (
"Alignment of " , stringify ! ( Mutex ) ));
@@ -10697,196 +10757,194 @@ pub mod root {
pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
}
}
+ pub type va_list = root::__builtin_va_list;
+ pub type fpos_t = root::__darwin_off_t;
#[repr(C)]
#[derive(Debug, Copy)]
- pub struct _IO_FILE {
- pub _flags: ::std::os::raw::c_int,
- pub _IO_read_ptr: *mut ::std::os::raw::c_char,
- pub _IO_read_end: *mut ::std::os::raw::c_char,
- pub _IO_read_base: *mut ::std::os::raw::c_char,
- pub _IO_write_base: *mut ::std::os::raw::c_char,
- pub _IO_write_ptr: *mut ::std::os::raw::c_char,
- pub _IO_write_end: *mut ::std::os::raw::c_char,
- pub _IO_buf_base: *mut ::std::os::raw::c_char,
- pub _IO_buf_end: *mut ::std::os::raw::c_char,
- pub _IO_save_base: *mut ::std::os::raw::c_char,
- pub _IO_backup_base: *mut ::std::os::raw::c_char,
- pub _IO_save_end: *mut ::std::os::raw::c_char,
- pub _markers: *mut root::_IO_marker,
- pub _chain: *mut root::_IO_FILE,
- pub _fileno: ::std::os::raw::c_int,
- pub _flags2: ::std::os::raw::c_int,
- pub _old_offset: root::__off_t,
- pub _cur_column: ::std::os::raw::c_ushort,
- pub _vtable_offset: ::std::os::raw::c_schar,
- pub _shortbuf: [::std::os::raw::c_char; 1usize],
- pub _lock: *mut root::_IO_lock_t,
- pub _offset: root::__off64_t,
- pub __pad1: *mut ::std::os::raw::c_void,
- pub __pad2: *mut ::std::os::raw::c_void,
- pub __pad3: *mut ::std::os::raw::c_void,
- pub __pad4: *mut ::std::os::raw::c_void,
- pub __pad5: usize,
- pub _mode: ::std::os::raw::c_int,
- pub _unused2: [::std::os::raw::c_char; 20usize],
- }
- #[test]
- fn bindgen_test_layout__IO_FILE() {
- assert_eq!(::std::mem::size_of::<_IO_FILE>() , 216usize , concat ! (
- "Size of: " , stringify ! ( _IO_FILE ) ));
- assert_eq! (::std::mem::align_of::<_IO_FILE>() , 8usize , concat ! (
- "Alignment of " , stringify ! ( _IO_FILE ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _flags as * const _ as
+ pub struct __sbuf {
+ pub _base: *mut ::std::os::raw::c_uchar,
+ pub _size: ::std::os::raw::c_int,
+ }
+ #[test]
+ fn bindgen_test_layout___sbuf() {
+ assert_eq!(::std::mem::size_of::<__sbuf>() , 16usize , concat ! (
+ "Size of: " , stringify ! ( __sbuf ) ));
+ assert_eq! (::std::mem::align_of::<__sbuf>() , 8usize , concat ! (
+ "Alignment of " , stringify ! ( __sbuf ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sbuf ) ) . _base as * const _ as
usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _flags ) ));
+ "Alignment of field: " , stringify ! ( __sbuf ) , "::" ,
+ stringify ! ( _base ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_read_ptr as *
- const _ as usize } , 8usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_read_ptr ) ));
+ & ( * ( 0 as * const __sbuf ) ) . _size as * const _ as
+ usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sbuf ) , "::" ,
+ stringify ! ( _size ) ));
+ }
+ impl Clone for __sbuf {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct __sFILEX {
+ _unused: [u8; 0],
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct __sFILE {
+ pub _p: *mut ::std::os::raw::c_uchar,
+ pub _r: ::std::os::raw::c_int,
+ pub _w: ::std::os::raw::c_int,
+ pub _flags: ::std::os::raw::c_short,
+ pub _file: ::std::os::raw::c_short,
+ pub _bf: root::__sbuf,
+ pub _lbfsize: ::std::os::raw::c_int,
+ pub _cookie: *mut ::std::os::raw::c_void,
+ pub _close: ::std::option::Option<unsafe extern "C" fn(arg1:
+ *mut ::std::os::raw::c_void)
+ -> ::std::os::raw::c_int>,
+ pub _read: ::std::option::Option<unsafe extern "C" fn(arg1:
+ *mut ::std::os::raw::c_void,
+ arg2:
+ *mut ::std::os::raw::c_char,
+ arg3:
+ ::std::os::raw::c_int)
+ -> ::std::os::raw::c_int>,
+ pub _seek: ::std::option::Option<unsafe extern "C" fn(arg1:
+ *mut ::std::os::raw::c_void,
+ arg2:
+ root::fpos_t,
+ arg3:
+ ::std::os::raw::c_int)
+ -> root::fpos_t>,
+ pub _write: ::std::option::Option<unsafe extern "C" fn(arg1:
+ *mut ::std::os::raw::c_void,
+ arg2:
+ *const ::std::os::raw::c_char,
+ arg3:
+ ::std::os::raw::c_int)
+ -> ::std::os::raw::c_int>,
+ pub _ub: root::__sbuf,
+ pub _extra: *mut root::__sFILEX,
+ pub _ur: ::std::os::raw::c_int,
+ pub _ubuf: [::std::os::raw::c_uchar; 3usize],
+ pub _nbuf: [::std::os::raw::c_uchar; 1usize],
+ pub _lb: root::__sbuf,
+ pub _blksize: ::std::os::raw::c_int,
+ pub _offset: root::fpos_t,
+ }
+ #[test]
+ fn bindgen_test_layout___sFILE() {
+ assert_eq!(::std::mem::size_of::<__sFILE>() , 152usize , concat ! (
+ "Size of: " , stringify ! ( __sFILE ) ));
+ assert_eq! (::std::mem::align_of::<__sFILE>() , 8usize , concat ! (
+ "Alignment of " , stringify ! ( __sFILE ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _p as * const _ as
+ usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _p ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_read_end as *
- const _ as usize } , 16usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_read_end ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _r as * const _ as
+ usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _r ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_read_base as *
- const _ as usize } , 24usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_read_base ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _w as * const _ as
+ usize } , 12usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _w ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_write_base as *
- const _ as usize } , 32usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_write_base ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _flags as * const _ as
+ usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _flags ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_write_ptr as *
- const _ as usize } , 40usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_write_ptr ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _file as * const _ as
+ usize } , 18usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _file ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_write_end as *
- const _ as usize } , 48usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_write_end ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _bf as * const _ as
+ usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _bf ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_buf_base as *
- const _ as usize } , 56usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_buf_base ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _lbfsize as * const _
+ as usize } , 40usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _lbfsize ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_buf_end as * const
- _ as usize } , 64usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_buf_end ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _cookie as * const _ as
+ usize } , 48usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _cookie ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_save_base as *
- const _ as usize } , 72usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_save_base ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _close as * const _ as
+ usize } , 56usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _close ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_backup_base as *
- const _ as usize } , 80usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_backup_base ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _read as * const _ as
+ usize } , 64usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _read ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_save_end as *
- const _ as usize } , 88usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_save_end ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _seek as * const _ as
+ usize } , 72usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _seek ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _write as * const _ as
+ usize } , 80usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _write ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _markers as * const _
- as usize } , 96usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _markers ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _ub as * const _ as
+ usize } , 88usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _ub ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _chain as * const _ as
+ & ( * ( 0 as * const __sFILE ) ) . _extra as * const _ as
usize } , 104usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _chain ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _fileno as * const _
- as usize } , 112usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _fileno ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _flags2 as * const _
- as usize } , 116usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _flags2 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _old_offset as * const
- _ as usize } , 120usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _old_offset ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _cur_column as * const
- _ as usize } , 128usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _cur_column ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _vtable_offset as *
- const _ as usize } , 130usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _vtable_offset ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _shortbuf as * const _
- as usize } , 131usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _shortbuf ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _lock as * const _ as
- usize } , 136usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _lock ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _offset as * const _
- as usize } , 144usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _extra ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _ur as * const _ as
+ usize } , 112usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _ur ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _ubuf as * const _ as
+ usize } , 116usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _ubuf ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _nbuf as * const _ as
+ usize } , 119usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _nbuf ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _lb as * const _ as
+ usize } , 120usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _lb ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _blksize as * const _
+ as usize } , 136usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _blksize ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _offset as * const _ as
+ usize } , 144usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
stringify ! ( _offset ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad1 as * const _ as
- usize } , 152usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad1 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad2 as * const _ as
- usize } , 160usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad2 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad3 as * const _ as
- usize } , 168usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad3 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad4 as * const _ as
- usize } , 176usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad4 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad5 as * const _ as
- usize } , 184usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad5 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _mode as * const _ as
- usize } , 192usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _mode ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _unused2 as * const _
- as usize } , 196usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _unused2 ) ));
- }
- impl Clone for _IO_FILE {
+ }
+ impl Clone for __sFILE {
fn clone(&self) -> Self { *self }
}
- pub type FILE = root::_IO_FILE;
- pub type va_list = root::__builtin_va_list;
+ pub type FILE = root::__sFILE;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct InfallibleAllocPolicy {
@@ -11443,39 +11501,6 @@ pub mod root {
NS_OK_NO_NAME_CLAUSE_HANDLED = 7864354,
}
pub type nsrefcnt = root::MozRefCountType;
- pub type _IO_lock_t = ::std::os::raw::c_void;
- #[repr(C)]
- #[derive(Debug, Copy)]
- pub struct _IO_marker {
- pub _next: *mut root::_IO_marker,
- pub _sbuf: *mut root::_IO_FILE,
- pub _pos: ::std::os::raw::c_int,
- }
- #[test]
- fn bindgen_test_layout__IO_marker() {
- assert_eq!(::std::mem::size_of::<_IO_marker>() , 24usize , concat ! (
- "Size of: " , stringify ! ( _IO_marker ) ));
- assert_eq! (::std::mem::align_of::<_IO_marker>() , 8usize , concat ! (
- "Alignment of " , stringify ! ( _IO_marker ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_marker ) ) . _next as * const _
- as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_marker ) , "::"
- , stringify ! ( _next ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_marker ) ) . _sbuf as * const _
- as usize } , 8usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_marker ) , "::"
- , stringify ! ( _sbuf ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_marker ) ) . _pos as * const _ as
- usize } , 16usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_marker ) , "::"
- , stringify ! ( _pos ) ));
- }
- impl Clone for _IO_marker {
- fn clone(&self) -> Self { *self }
- }
#[repr(C)]
pub struct nsQueryFrame__bindgen_vtable(::std::os::raw::c_void);
#[repr(C)]
@@ -13091,12 +13116,64 @@ pub mod root {
pub struct Rooted {
}
pub type Rooted_ElementType<T> = T;
+ pub type HandleId = root::JS::Handle<root::jsid>;
pub type HandleObject = root::JS::Handle<*mut root::JSObject>;
pub type HandleValue = root::JS::Handle<root::JS::Value>;
pub type MutableHandleValue =
root::JS::MutableHandle<root::JS::Value>;
pub type RootedObject = [u64; 3usize];
#[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct PropertyDescriptor {
+ pub obj: *mut root::JSObject,
+ pub attrs: ::std::os::raw::c_uint,
+ pub getter: root::JSGetterOp,
+ pub setter: root::JSSetterOp,
+ pub value: root::JS::Value,
+ }
+ #[test]
+ fn bindgen_test_layout_PropertyDescriptor() {
+ assert_eq!(::std::mem::size_of::<PropertyDescriptor>() , 40usize ,
+ concat ! (
+ "Size of: " , stringify ! ( PropertyDescriptor ) ));
+ assert_eq! (::std::mem::align_of::<PropertyDescriptor>() , 8usize
+ , concat ! (
+ "Alignment of " , stringify ! ( PropertyDescriptor )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . obj as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( obj ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . attrs as
+ * const _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( attrs )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . getter
+ as * const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( getter )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . setter
+ as * const _ as usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( setter )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . value as
+ * const _ as usize } , 32usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( value )
+ ));
+ }
+ impl Clone for PropertyDescriptor {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct DeletePolicy {
pub _address: u8,
@@ -13355,6 +13432,76 @@ pub mod root {
fn clone(&self) -> Self { *self }
}
/**
+ * Per ES6, the [[DefineOwnProperty]] internal method has three different
+ * possible outcomes:
+ *
+ * - It can throw an exception (which we indicate by returning false).
+ *
+ * - It can return true, indicating unvarnished success.
+ *
+ * - It can return false, indicating "strict failure". The property could
+ * not be defined. It's an error, but no exception was thrown.
+ *
+ * It's not just [[DefineOwnProperty]]: all the mutating internal methods have
+ * the same three outcomes. (The other affected internal methods are [[Set]],
+ * [[Delete]], [[SetPrototypeOf]], and [[PreventExtensions]].)
+ *
+ * If you think this design is awful, you're not alone. But as it's the
+ * standard, we must represent these boolean "success" values somehow.
+ * ObjectOpSuccess is the class for this. It's like a bool, but when it's false
+ * it also stores an error code.
+ *
+ * Typical usage:
+ *
+ * ObjectOpResult result;
+ * if (!DefineProperty(cx, obj, id, ..., result))
+ * return false;
+ * if (!result)
+ * return result.reportError(cx, obj, id);
+ *
+ * Users don't have to call `result.report()`; another possible ending is:
+ *
+ * argv.rval().setBoolean(bool(result));
+ * return true;
+ */
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct ObjectOpResult {
+ /**
+ * code_ is either one of the special codes OkCode or Uninitialized, or
+ * an error code. For now the error codes are private to the JS engine;
+ * they're defined in js/src/js.msg.
+ *
+ * code_ is uintptr_t (rather than uint32_t) for the convenience of the
+ * JITs, which would otherwise have to deal with either padding or stack
+ * alignment on 64-bit platforms.
+ */
+ pub code_: usize,
+ }
+ #[repr(u64)]
+ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+ pub enum ObjectOpResult_SpecialCodes {
+ OkCode = 0,
+ Uninitialized = 18446744073709551615,
+ }
+ #[test]
+ fn bindgen_test_layout_ObjectOpResult() {
+ assert_eq!(::std::mem::size_of::<ObjectOpResult>() , 8usize ,
+ concat ! ( "Size of: " , stringify ! ( ObjectOpResult )
+ ));
+ assert_eq! (::std::mem::align_of::<ObjectOpResult>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( ObjectOpResult ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ObjectOpResult ) ) . code_ as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( ObjectOpResult
+ ) , "::" , stringify ! ( code_ ) ));
+ }
+ impl Clone for ObjectOpResult {
+ fn clone(&self) -> Self { *self }
+ }
+ /**
* This class can be used to store a pointer to the youngest frame of a saved
* stack in the specified JSContext. This reference will be picked up by any new
* calls performed until the class is destroyed, with the specified asyncCause,
@@ -15325,7 +15472,7 @@ pub mod root {
* count is 1.
*/
#[repr(C)]
- #[derive(Debug)]
+ #[derive(Debug, Copy)]
pub struct nsStringBuffer {
pub mRefCount: u32,
pub mStorageSize: u32,
@@ -15347,6 +15494,9 @@ pub mod root {
"Alignment of field: " , stringify ! ( nsStringBuffer ) ,
"::" , stringify ! ( mStorageSize ) ));
}
+ impl Clone for nsStringBuffer {
+ fn clone(&self) -> Self { *self }
+ }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIAtom {
@@ -16018,6 +16168,36 @@ pub mod root {
pub struct nsIRedirectHistoryEntry {
_unused: [u8; 0],
}
+ /**
+ * Get a property named by id in obj. Note the jsid id type -- id may
+ * be a string (Unicode property identifier) or an int (element index). The
+ * *vp out parameter, on success, is the new property value after the action.
+ */
+ pub type JSGetterOp =
+ ::std::option::Option<unsafe extern "C" fn(cx: *mut root::JSContext,
+ obj:
+ root::JS::HandleObject,
+ id: root::JS::HandleId,
+ vp:
+ root::JS::MutableHandleValue)
+ -> bool>;
+ /**
+ * Set a property named by id in obj, treating the assignment as strict
+ * mode code if strict is true. Note the jsid id type -- id may be a string
+ * (Unicode property identifier) or an int (element index). The *vp out
+ * parameter, on success, is the new property value after the
+ * set.
+ */
+ pub type JSSetterOp =
+ ::std::option::Option<unsafe extern "C" fn(cx: *mut root::JSContext,
+ obj:
+ root::JS::HandleObject,
+ id: root::JS::HandleId,
+ vp:
+ root::JS::MutableHandleValue,
+ result:
+ *mut root::JS::ObjectOpResult)
+ -> bool>;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct JSErrorFormatString {
@@ -22405,57 +22585,57 @@ pub mod root {
pub struct nsDOMMutationObserver {
_unused: [u8; 0],
}
- pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_HAS_LISTENERMANAGER;
- pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_HAS_PROPERTIES;
- pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_IS_ANONYMOUS_ROOT;
- pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
- pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_IS_NATIVE_ANONYMOUS_ROOT;
- pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_FORCE_XBL_BINDINGS;
- pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_MAY_BE_IN_BINDING_MNGR;
- pub const NODE_IS_EDITABLE: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_IS_EDITABLE;
- pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_IS_NATIVE_ANONYMOUS;
- pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_IS_IN_SHADOW_TREE;
- pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_HAS_EMPTY_SELECTOR;
- pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_HAS_SLOW_SELECTOR;
- pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_HAS_EDGE_CHILD_SELECTOR;
- pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
- pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_ALL_SELECTOR_FLAGS;
- pub const NODE_NEEDS_FRAME: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_NEEDS_FRAME;
- pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_DESCENDANTS_NEED_FRAMES;
- pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_HAS_ACCESSKEY;
- pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_HAS_DIRECTION_RTL;
- pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_HAS_DIRECTION_LTR;
- pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_ALL_DIRECTION_FLAGS;
- pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_CHROME_ONLY_ACCESS;
- pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
- pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_88 =
- _bindgen_ty_88::NODE_TYPE_SPECIFIC_BITS_OFFSET;
+ pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_LISTENERMANAGER;
+ pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_PROPERTIES;
+ pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_ANONYMOUS_ROOT;
+ pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
+ pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_NATIVE_ANONYMOUS_ROOT;
+ pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_FORCE_XBL_BINDINGS;
+ pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_MAY_BE_IN_BINDING_MNGR;
+ pub const NODE_IS_EDITABLE: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_EDITABLE;
+ pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_NATIVE_ANONYMOUS;
+ pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_IN_SHADOW_TREE;
+ pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_EMPTY_SELECTOR;
+ pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_SLOW_SELECTOR;
+ pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_EDGE_CHILD_SELECTOR;
+ pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
+ pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_ALL_SELECTOR_FLAGS;
+ pub const NODE_NEEDS_FRAME: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_NEEDS_FRAME;
+ pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_DESCENDANTS_NEED_FRAMES;
+ pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_ACCESSKEY;
+ pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_DIRECTION_RTL;
+ pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_DIRECTION_LTR;
+ pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_ALL_DIRECTION_FLAGS;
+ pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_CHROME_ONLY_ACCESS;
+ pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
+ pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum _bindgen_ty_88 {
+ pub enum _bindgen_ty_17 {
NODE_HAS_LISTENERMANAGER = 4,
NODE_HAS_PROPERTIES = 8,
NODE_IS_ANONYMOUS_ROOT = 16,
@@ -22492,9 +22672,116 @@ pub mod root {
_unused: [u8; 0],
}
#[repr(C)]
- #[derive(Debug, Copy, Clone)]
+ #[derive(Debug)]
pub struct nsXBLBinding {
- _unused: [u8; 0],
+ pub mRefCnt: root::nsCycleCollectingAutoRefCnt,
+ pub _mOwningThread: root::nsAutoOwningThread,
+ pub mMarkedForDeath: bool,
+ pub mUsingContentXBLScope: bool,
+ pub mIsShadowRootBinding: bool,
+ pub mPrototypeBinding: *mut root::nsXBLPrototypeBinding,
+ pub mContent: root::nsCOMPtr<root::nsIContent>,
+ pub mNextBinding: root::RefPtr<root::nsXBLBinding>,
+ pub mBoundElement: *mut root::nsIContent,
+ pub mDefaultInsertionPoint: root::RefPtr<root::mozilla::dom::XBLChildrenElement>,
+ pub mInsertionPoints: root::nsTArray<root::RefPtr<root::mozilla::dom::XBLChildrenElement>>,
+ pub mAnonymousContentList: root::RefPtr<root::nsAnonymousContentList>,
+ }
+ pub type nsXBLBinding_HasThreadSafeRefCnt = root::mozilla::FalseType;
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct nsXBLBinding_cycleCollection {
+ pub _base: root::nsCycleCollectionParticipant,
+ }
+ #[test]
+ fn bindgen_test_layout_nsXBLBinding_cycleCollection() {
+ assert_eq!(::std::mem::size_of::<nsXBLBinding_cycleCollection>() ,
+ 16usize , concat ! (
+ "Size of: " , stringify ! ( nsXBLBinding_cycleCollection )
+ ));
+ assert_eq! (::std::mem::align_of::<nsXBLBinding_cycleCollection>() ,
+ 8usize , concat ! (
+ "Alignment of " , stringify ! (
+ nsXBLBinding_cycleCollection ) ));
+ }
+ impl Clone for nsXBLBinding_cycleCollection {
+ fn clone(&self) -> Self { *self }
+ }
+ extern "C" {
+ #[link_name = "_ZN12nsXBLBinding21_cycleCollectorGlobalE"]
+ pub static mut nsXBLBinding__cycleCollectorGlobal:
+ root::nsXBLBinding_cycleCollection;
+ }
+ #[test]
+ fn bindgen_test_layout_nsXBLBinding() {
+ assert_eq!(::std::mem::size_of::<nsXBLBinding>() , 80usize , concat !
+ ( "Size of: " , stringify ! ( nsXBLBinding ) ));
+ assert_eq! (::std::mem::align_of::<nsXBLBinding>() , 8usize , concat !
+ ( "Alignment of " , stringify ! ( nsXBLBinding ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mRefCnt as * const
+ _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mRefCnt ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . _mOwningThread as
+ * const _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( _mOwningThread ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mMarkedForDeath as
+ * const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mMarkedForDeath ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) .
+ mUsingContentXBLScope as * const _ as usize } , 17usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mUsingContentXBLScope ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) .
+ mIsShadowRootBinding as * const _ as usize } , 18usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mIsShadowRootBinding ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mPrototypeBinding
+ as * const _ as usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mPrototypeBinding ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mContent as *
+ const _ as usize } , 32usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mContent ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mNextBinding as *
+ const _ as usize } , 40usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mNextBinding ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mBoundElement as *
+ const _ as usize } , 48usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mBoundElement ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) .
+ mDefaultInsertionPoint as * const _ as usize } , 56usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mDefaultInsertionPoint ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mInsertionPoints
+ as * const _ as usize } , 64usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mInsertionPoints ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) .
+ mAnonymousContentList as * const _ as usize } , 72usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mAnonymousContentList ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
@@ -28901,7 +29188,7 @@ pub mod root {
pub type imgRequest_HasThreadSafeRefCnt = root::mozilla::TrueType;
#[test]
fn bindgen_test_layout_imgRequest() {
- assert_eq!(::std::mem::size_of::<imgRequest>() , 416usize , concat ! (
+ assert_eq!(::std::mem::size_of::<imgRequest>() , 440usize , concat ! (
"Size of: " , stringify ! ( imgRequest ) ));
assert_eq! (::std::mem::align_of::<imgRequest>() , 8usize , concat ! (
"Alignment of " , stringify ! ( imgRequest ) ));
@@ -30352,7 +30639,7 @@ pub mod root {
) , "::" , stringify ! ( mQuotePairs ) ));
}
#[test]
- fn __bindgen_test_layout_StaticRefPtr_instantiation_91() {
+ fn __bindgen_test_layout_StaticRefPtr_instantiation_20() {
assert_eq!(::std::mem::size_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -30363,7 +30650,7 @@ pub mod root {
root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) ));
}
#[test]
- fn __bindgen_test_layout_StaticRefPtr_instantiation_92() {
+ fn __bindgen_test_layout_StaticRefPtr_instantiation_21() {
assert_eq!(::std::mem::size_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -32545,6 +32832,7 @@ pub mod root {
pub type RawGeckoElement = root::mozilla::dom::Element;
pub type RawGeckoDocument = root::nsIDocument;
pub type RawGeckoPresContext = root::nsPresContext;
+ pub type RawGeckoXBLBinding = root::nsXBLBinding;
pub type RawGeckoURLExtraData = root::mozilla::URLExtraData;
pub type RawGeckoKeyframeList = root::nsTArray<root::mozilla::Keyframe>;
pub type RawGeckoComputedKeyframeValuesList =
@@ -32571,6 +32859,9 @@ pub mod root {
pub type RawGeckoElementBorrowedOrNull = *const root::RawGeckoElement;
pub type RawGeckoDocumentBorrowed = *const root::RawGeckoDocument;
pub type RawGeckoDocumentBorrowedOrNull = *const root::RawGeckoDocument;
+ pub type RawGeckoXBLBindingBorrowed = *const root::RawGeckoXBLBinding;
+ pub type RawGeckoXBLBindingBorrowedOrNull =
+ *const root::RawGeckoXBLBinding;
pub type RawGeckoPresContextOwned = *mut root::RawGeckoPresContext;
pub type RawGeckoPresContextBorrowed = *const root::RawGeckoPresContext;
pub type RawGeckoPresContextBorrowedMut = *mut root::RawGeckoPresContext;
@@ -32862,6 +33153,8 @@ pub mod root {
pub const ThemeWidgetType_NS_THEME_MAC_ACTIVE_SOURCE_LIST_SELECTION:
root::ThemeWidgetType =
124;
+ pub const ThemeWidgetType_ThemeWidgetType_COUNT: root::ThemeWidgetType =
+ 125;
pub type ThemeWidgetType = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -33307,48 +33600,48 @@ pub mod root {
pub struct nsAttrValueOrString {
_unused: [u8; 0],
}
- pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_1;
- pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_2;
- pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_3;
- pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_4;
- pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_1;
+ pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_1;
+ pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_2;
+ pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_3;
+ pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_4;
+ pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_1;
pub const ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO:
- root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_2;
- pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_3;
- pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_4;
- pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_1;
- pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_2;
- pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_90
+ root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_2;
+ pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_3;
+ pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_4;
+ pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_1;
+ pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_2;
+ pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_19
=
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_3;
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_3;
pub const ELEMENT_IS_POTENTIAL_ANIMATION_ONLY_RESTYLE_ROOT:
- root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_4;
- pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR;
- pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_PENDING_RESTYLE_FLAGS;
- pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS;
- pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_ALL_RESTYLE_FLAGS;
- pub const ELEMENT_HAS_SCROLLGRAB: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_HAS_SCROLLGRAB;
- pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_90 =
- _bindgen_ty_90::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET;
+ root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_4;
+ pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR;
+ pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_PENDING_RESTYLE_FLAGS;
+ pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS;
+ pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_ALL_RESTYLE_FLAGS;
+ pub const ELEMENT_HAS_SCROLLGRAB: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_HAS_SCROLLGRAB;
+ pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum _bindgen_ty_90 {
+ pub enum _bindgen_ty_19 {
ELEMENT_SHARED_RESTYLE_BIT_1 = 8388608,
ELEMENT_SHARED_RESTYLE_BIT_2 = 16777216,
ELEMENT_SHARED_RESTYLE_BIT_3 = 33554432,
@@ -33962,6 +34255,16 @@ pub mod root {
"::" , stringify ! ( mArray ) ));
}
#[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct nsXBLPrototypeBinding {
+ _unused: [u8; 0],
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct nsAnonymousContentList {
+ _unused: [u8; 0],
+ }
+ #[repr(C)]
#[derive(Debug, Copy)]
pub struct __va_list_tag {
pub gp_offset: ::std::os::raw::c_uint,
@@ -34001,7 +34304,7 @@ pub mod root {
}
pub type __builtin_va_list = [root::__va_list_tag; 1usize];
#[test]
- fn __bindgen_test_layout_IntegralConstant_instantiation_93() {
+ fn __bindgen_test_layout_IntegralConstant_instantiation_22() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@@ -34010,7 +34313,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_IntegralConstant_instantiation_94() {
+ fn __bindgen_test_layout_IntegralConstant_instantiation_23() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@@ -34019,7 +34322,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsCharTraits_instantiation_95() {
+ fn __bindgen_test_layout_nsCharTraits_instantiation_24() {
assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34030,7 +34333,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
- fn __bindgen_test_layout_nsReadingIterator_instantiation_96() {
+ fn __bindgen_test_layout_nsReadingIterator_instantiation_25() {
assert_eq!(::std::mem::size_of::<root::nsReadingIterator<u16>>() ,
24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34041,7 +34344,7 @@ pub mod root {
root::nsReadingIterator<u16> ) ));
}
#[test]
- fn __bindgen_test_layout_nsWritingIterator_instantiation_97() {
+ fn __bindgen_test_layout_nsWritingIterator_instantiation_26() {
assert_eq!(::std::mem::size_of::<root::nsWritingIterator<u16>>() ,
24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34052,7 +34355,7 @@ pub mod root {
root::nsWritingIterator<u16> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCharTraits_instantiation_98() {
+ fn __bindgen_test_layout_nsCharTraits_instantiation_27() {
assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34063,7 +34366,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
- fn __bindgen_test_layout_nsReadingIterator_instantiation_99() {
+ fn __bindgen_test_layout_nsReadingIterator_instantiation_28() {
assert_eq!(::std::mem::size_of::<root::nsReadingIterator<::std::os::raw::c_char>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34074,7 +34377,7 @@ pub mod root {
root::nsReadingIterator<::std::os::raw::c_char> ) ));
}
#[test]
- fn __bindgen_test_layout_nsWritingIterator_instantiation_100() {
+ fn __bindgen_test_layout_nsWritingIterator_instantiation_29() {
assert_eq!(::std::mem::size_of::<root::nsWritingIterator<::std::os::raw::c_char>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34085,7 +34388,7 @@ pub mod root {
root::nsWritingIterator<::std::os::raw::c_char> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCharTraits_instantiation_101() {
+ fn __bindgen_test_layout_nsCharTraits_instantiation_30() {
assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34096,7 +34399,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
- fn __bindgen_test_layout_nsCharTraits_instantiation_102() {
+ fn __bindgen_test_layout_nsCharTraits_instantiation_31() {
assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34107,7 +34410,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
- fn __bindgen_test_layout__bindgen_ty_id_214510_instantiation_103() {
+ fn __bindgen_test_layout__bindgen_ty_id_187762_instantiation_32() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@@ -34116,7 +34419,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout__bindgen_ty_id_214546_instantiation_104() {
+ fn __bindgen_test_layout__bindgen_ty_id_187798_instantiation_33() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@@ -34125,7 +34428,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_105() {
+ fn __bindgen_test_layout_nsTArray_instantiation_34() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34136,7 +34439,18 @@ pub mod root {
root::nsTArray<root::nsCString> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_106() {
+ fn __bindgen_test_layout_Handle_instantiation_35() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_36() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34147,7 +34461,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_107() {
+ fn __bindgen_test_layout_Handle_instantiation_37() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34158,7 +34472,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_108() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_38() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34169,7 +34483,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Rooted_instantiation_109() {
+ fn __bindgen_test_layout_Rooted_instantiation_39() {
assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -34180,7 +34494,7 @@ pub mod root {
[u64; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_110() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_40() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34191,7 +34505,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_111() {
+ fn __bindgen_test_layout_nsTArray_instantiation_41() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34202,7 +34516,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_112() {
+ fn __bindgen_test_layout_nsTArray_instantiation_42() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FontFamilyName>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34213,7 +34527,7 @@ pub mod root {
root::nsTArray<root::mozilla::FontFamilyName> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_113() {
+ fn __bindgen_test_layout_nsTArray_instantiation_43() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34224,7 +34538,7 @@ pub mod root {
root::nsTArray<::std::os::raw::c_uint> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_114() {
+ fn __bindgen_test_layout_nsTArray_instantiation_44() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34235,7 +34549,7 @@ pub mod root {
root::nsTArray<::std::os::raw::c_uint> ) ));
}
#[test]
- fn __bindgen_test_layout_BaseTimeDuration_instantiation_115() {
+ fn __bindgen_test_layout_BaseTimeDuration_instantiation_45() {
assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34246,7 +34560,7 @@ pub mod root {
root::mozilla::BaseTimeDuration ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_116() {
+ fn __bindgen_test_layout_nsTArray_instantiation_46() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34257,7 +34571,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_TErrorResult_instantiation_117() {
+ fn __bindgen_test_layout_TErrorResult_instantiation_47() {
assert_eq!(::std::mem::size_of::<root::mozilla::binding_danger::TErrorResult>()
, 32usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34268,7 +34582,7 @@ pub mod root {
root::mozilla::binding_danger::TErrorResult ) ));
}
#[test]
- fn __bindgen_test_layout_TErrorResult_instantiation_118() {
+ fn __bindgen_test_layout_TErrorResult_instantiation_48() {
assert_eq!(::std::mem::size_of::<root::mozilla::binding_danger::TErrorResult>()
, 32usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34279,7 +34593,7 @@ pub mod root {
root::mozilla::binding_danger::TErrorResult ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_119() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_49() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34290,7 +34604,7 @@ pub mod root {
root::already_AddRefed<root::nsStringBuffer> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_120() {
+ fn __bindgen_test_layout_Handle_instantiation_50() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34301,7 +34615,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_121() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_51() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34312,7 +34626,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_122() {
+ fn __bindgen_test_layout_Handle_instantiation_52() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34323,7 +34637,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_123() {
+ fn __bindgen_test_layout_nsTArray_instantiation_53() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34334,7 +34648,7 @@ pub mod root {
root::nsTArray<*mut root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_124() {
+ fn __bindgen_test_layout_Handle_instantiation_54() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34345,7 +34659,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_125() {
+ fn __bindgen_test_layout_RefPtr_instantiation_55() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34356,7 +34670,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_126() {
+ fn __bindgen_test_layout_Handle_instantiation_56() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34367,7 +34681,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_127() {
+ fn __bindgen_test_layout_Handle_instantiation_57() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34378,7 +34692,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_128() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_58() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34389,7 +34703,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_129() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_59() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34400,7 +34714,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_130() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_60() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34411,7 +34725,7 @@ pub mod root {
root::already_AddRefed<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_131() {
+ fn __bindgen_test_layout_Handle_instantiation_61() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34422,7 +34736,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_132() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_62() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34433,7 +34747,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_133() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_63() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34444,7 +34758,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_134() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_64() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34455,7 +34769,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_135() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_65() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34466,7 +34780,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_136() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_66() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34477,7 +34791,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_137() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_67() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34488,7 +34802,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_138() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_68() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34499,7 +34813,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_139() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_69() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34510,7 +34824,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_140() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_70() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34521,7 +34835,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_141() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_71() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34532,7 +34846,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_142() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_72() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34543,7 +34857,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_143() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_73() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34554,7 +34868,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_iterator_instantiation_144() {
+ fn __bindgen_test_layout_iterator_instantiation_74() {
assert_eq!(::std::mem::size_of::<root::std::iterator>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34565,7 +34879,7 @@ pub mod root {
root::std::iterator ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_145() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_75() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34576,7 +34890,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_146() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_76() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34587,7 +34901,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_147() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_77() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34598,7 +34912,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_148() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_78() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34609,7 +34923,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_149() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_79() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIPrincipal>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34620,7 +34934,7 @@ pub mod root {
root::nsCOMPtr<root::nsIPrincipal> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_150() {
+ fn __bindgen_test_layout_Handle_instantiation_80() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34631,7 +34945,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_151() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_81() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34642,7 +34956,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_152() {
+ fn __bindgen_test_layout_nsTArray_instantiation_82() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34653,7 +34967,7 @@ pub mod root {
root::nsTArray<root::nsCString> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_153() {
+ fn __bindgen_test_layout_nsTArray_instantiation_83() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34664,7 +34978,7 @@ pub mod root {
root::nsTArray<root::nsCString> ) ));
}
#[test]
- fn __bindgen_test_layout_Heap_instantiation_154() {
+ fn __bindgen_test_layout_Heap_instantiation_84() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<root::JS::Value>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34675,7 +34989,7 @@ pub mod root {
root::JS::Heap<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Heap_instantiation_155() {
+ fn __bindgen_test_layout_Heap_instantiation_85() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34686,7 +35000,7 @@ pub mod root {
root::JS::Heap<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_TenuredHeap_instantiation_156() {
+ fn __bindgen_test_layout_TenuredHeap_instantiation_86() {
assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap>() , 8usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34697,7 +35011,7 @@ pub mod root {
root::JS::TenuredHeap ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_157() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_87() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34708,7 +35022,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_158() {
+ fn __bindgen_test_layout_nsTArray_instantiation_88() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::AnonymousContent>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34721,7 +35035,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_159() {
+ fn __bindgen_test_layout_RefPtr_instantiation_89() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34732,7 +35046,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_160() {
+ fn __bindgen_test_layout_nsTArray_instantiation_90() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34745,7 +35059,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_161() {
+ fn __bindgen_test_layout_RefPtr_instantiation_91() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34756,7 +35070,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_162() {
+ fn __bindgen_test_layout_nsTArray_instantiation_92() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34769,7 +35083,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_163() {
+ fn __bindgen_test_layout_RefPtr_instantiation_93() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34780,7 +35094,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_164() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_94() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIObserver>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34791,7 +35105,7 @@ pub mod root {
root::nsCOMPtr<root::nsIObserver> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_165() {
+ fn __bindgen_test_layout_nsTArray_instantiation_95() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIObserver>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34802,7 +35116,7 @@ pub mod root {
root::nsTArray<root::nsCOMPtr<root::nsIObserver>> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_166() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_96() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIObserver>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34813,7 +35127,7 @@ pub mod root {
root::nsCOMPtr<root::nsIObserver> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_167() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_97() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIDocument>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34824,7 +35138,7 @@ pub mod root {
root::already_AddRefed<root::nsIDocument> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_168() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_98() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34835,7 +35149,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_169() {
+ fn __bindgen_test_layout_RefPtr_instantiation_99() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34846,7 +35160,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_170() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_100() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIDocument>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34857,7 +35171,7 @@ pub mod root {
root::already_AddRefed<root::nsIDocument> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_171() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_101() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34868,7 +35182,7 @@ pub mod root {
root::JS::MutableHandle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_172() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_102() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsContentList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34879,7 +35193,7 @@ pub mod root {
root::already_AddRefed<root::nsContentList> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_173() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_103() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsContentList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34890,7 +35204,7 @@ pub mod root {
root::already_AddRefed<root::nsContentList> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_174() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_104() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34901,7 +35215,7 @@ pub mod root {
root::already_AddRefed<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_175() {
+ fn __bindgen_test_layout_RefPtr_instantiation_105() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34912,7 +35226,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_176() {
+ fn __bindgen_test_layout_Handle_instantiation_106() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34923,7 +35237,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_177() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_107() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34934,7 +35248,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_178() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_108() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34945,7 +35259,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_179() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_109() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::mozilla::dom::Link>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34956,7 +35270,7 @@ pub mod root {
root::nsCOMPtr<root::mozilla::dom::Link> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_180() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_110() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34967,7 +35281,7 @@ pub mod root {
root::nsCOMPtr<root::nsIWeakReference> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_181() {
+ fn __bindgen_test_layout_RefPtr_instantiation_111() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34978,7 +35292,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_182() {
+ fn __bindgen_test_layout_nsTArray_instantiation_112() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34991,7 +35305,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_183() {
+ fn __bindgen_test_layout_Handle_instantiation_113() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35002,7 +35316,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_184() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_114() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35013,7 +35327,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_185() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_115() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsISMILAttr>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35024,7 +35338,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsISMILAttr> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_186() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_116() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35035,7 +35349,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_187() {
+ fn __bindgen_test_layout_nsTArray_instantiation_117() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35046,7 +35360,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_188() {
+ fn __bindgen_test_layout_Handle_instantiation_118() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35057,7 +35371,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_189() {
+ fn __bindgen_test_layout_Handle_instantiation_119() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35068,7 +35382,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_190() {
+ fn __bindgen_test_layout_Handle_instantiation_120() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35079,7 +35393,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_191() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_121() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35092,7 +35406,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsDataHashtable_instantiation_192() {
+ fn __bindgen_test_layout_nsDataHashtable_instantiation_122() {
assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35103,7 +35417,7 @@ pub mod root {
[u64; 6usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_193() {
+ fn __bindgen_test_layout_Handle_instantiation_123() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35114,7 +35428,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_194() {
+ fn __bindgen_test_layout_nsTArray_instantiation_124() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35125,7 +35439,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_195() {
+ fn __bindgen_test_layout_nsTArray_instantiation_125() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35136,7 +35450,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_196() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_126() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35147,7 +35461,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_197() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_127() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35158,7 +35472,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_SupportsWeakPtr_instantiation_198() {
+ fn __bindgen_test_layout_SupportsWeakPtr_instantiation_128() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -35167,7 +35481,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_199() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_129() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35178,7 +35492,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_200() {
+ fn __bindgen_test_layout_nsTArray_instantiation_130() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsRect>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35189,7 +35503,7 @@ pub mod root {
root::nsTArray<root::nsRect> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_201() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_131() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsITimer>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35200,7 +35514,7 @@ pub mod root {
root::already_AddRefed<root::nsITimer> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_202() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_132() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35211,7 +35525,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_203() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_133() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35222,7 +35536,7 @@ pub mod root {
root::nsRefPtrHashKey<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_204() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_134() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35233,7 +35547,7 @@ pub mod root {
root::nsCOMPtr<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_205() {
+ fn __bindgen_test_layout_nsTArray_instantiation_135() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIAtom>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35244,7 +35558,7 @@ pub mod root {
root::nsTArray<root::nsCOMPtr<root::nsIAtom>> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_206() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_136() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35255,7 +35569,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_207() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_137() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35266,7 +35580,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_208() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_138() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35277,7 +35591,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_209() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_139() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35288,7 +35602,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_210() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_140() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35299,7 +35613,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_211() {
+ fn __bindgen_test_layout_Handle_instantiation_141() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35310,7 +35624,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_212() {
+ fn __bindgen_test_layout_Handle_instantiation_142() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35321,7 +35635,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_213() {
+ fn __bindgen_test_layout_Handle_instantiation_143() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35332,7 +35646,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsPIDOMWindow_instantiation_214() {
+ fn __bindgen_test_layout_nsPIDOMWindow_instantiation_144() {
assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -35343,7 +35657,7 @@ pub mod root {
[u64; 29usize] ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_215() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_145() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35354,7 +35668,7 @@ pub mod root {
root::already_AddRefed<root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_216() {
+ fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_146() {
assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35365,7 +35679,7 @@ pub mod root {
[u64; 6usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_217() {
+ fn __bindgen_test_layout_Handle_instantiation_147() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35376,7 +35690,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_218() {
+ fn __bindgen_test_layout_nsTArray_instantiation_148() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35387,7 +35701,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_219() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_149() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35398,7 +35712,7 @@ pub mod root {
root::already_AddRefed<root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_220() {
+ fn __bindgen_test_layout_RefPtr_instantiation_150() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35409,7 +35723,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_221() {
+ fn __bindgen_test_layout_nsTArray_instantiation_151() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35422,7 +35736,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_222() {
+ fn __bindgen_test_layout_RefPtr_instantiation_152() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35433,7 +35747,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_223() {
+ fn __bindgen_test_layout_nsTArray_instantiation_153() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35446,7 +35760,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_WeakPtr_instantiation_224() {
+ fn __bindgen_test_layout_WeakPtr_instantiation_154() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -35455,7 +35769,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_nsPtrHashKey_instantiation_225() {
+ fn __bindgen_test_layout_nsPtrHashKey_instantiation_155() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<::std::os::raw::c_void>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35466,7 +35780,7 @@ pub mod root {
root::nsPtrHashKey<::std::os::raw::c_void> ) ));
}
#[test]
- fn __bindgen_test_layout_nsPtrHashKey_instantiation_226() {
+ fn __bindgen_test_layout_nsPtrHashKey_instantiation_156() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::WeakFrame>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35477,7 +35791,7 @@ pub mod root {
root::nsPtrHashKey<root::WeakFrame> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_227() {
+ fn __bindgen_test_layout_Handle_instantiation_157() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35488,7 +35802,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_OwningNonNull_instantiation_228() {
+ fn __bindgen_test_layout_OwningNonNull_instantiation_158() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35499,7 +35813,7 @@ pub mod root {
root::mozilla::OwningNonNull<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_OwningNonNull_instantiation_229() {
+ fn __bindgen_test_layout_OwningNonNull_instantiation_159() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35510,7 +35824,7 @@ pub mod root {
root::mozilla::OwningNonNull<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_OwningNonNull_instantiation_230() {
+ fn __bindgen_test_layout_OwningNonNull_instantiation_160() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35521,7 +35835,7 @@ pub mod root {
root::mozilla::OwningNonNull<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_231() {
+ fn __bindgen_test_layout_Handle_instantiation_161() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35532,7 +35846,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_232() {
+ fn __bindgen_test_layout_Handle_instantiation_162() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35543,7 +35857,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_233() {
+ fn __bindgen_test_layout_Handle_instantiation_163() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35554,7 +35868,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_234() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_164() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35565,7 +35879,106 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_235() {
+ fn __bindgen_test_layout_Handle_instantiation_165() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_MutableHandle_instantiation_166() {
+ assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::PropertyDescriptor>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::MutableHandle<root::JS::PropertyDescriptor> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::PropertyDescriptor>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::MutableHandle<root::JS::PropertyDescriptor> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_167() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_MutableHandle_instantiation_168() {
+ assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::PropertyDescriptor>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::MutableHandle<root::JS::PropertyDescriptor> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::PropertyDescriptor>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::MutableHandle<root::JS::PropertyDescriptor> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_169() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_170() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_171() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_MutableHandle_instantiation_172() {
+ assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::MutableHandle<*mut root::JSObject> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::MutableHandle<*mut root::JSObject> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_RefPtr_instantiation_173() {
+ assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::XBLChildrenElement>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::RefPtr<root::mozilla::dom::XBLChildrenElement> ) ));
+ assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::XBLChildrenElement>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::RefPtr<root::mozilla::dom::XBLChildrenElement> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_174() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35576,7 +35989,7 @@ pub mod root {
root::nsCOMPtr<root::nsIWeakReference> ) ));
}
#[test]
- fn __bindgen_test_layout_nsPtrHashKey_instantiation_236() {
+ fn __bindgen_test_layout_nsPtrHashKey_instantiation_175() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<::std::os::raw::c_void>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35587,7 +36000,7 @@ pub mod root {
root::nsPtrHashKey<::std::os::raw::c_void> ) ));
}
#[test]
- fn __bindgen_test_layout_PointTyped_instantiation_237() {
+ fn __bindgen_test_layout_PointTyped_instantiation_176() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35598,7 +36011,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntPointTyped_instantiation_238() {
+ fn __bindgen_test_layout_IntPointTyped_instantiation_177() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35609,7 +36022,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_SizeTyped_instantiation_239() {
+ fn __bindgen_test_layout_SizeTyped_instantiation_178() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35620,7 +36033,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_RectTyped_instantiation_240() {
+ fn __bindgen_test_layout_RectTyped_instantiation_179() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35631,7 +36044,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntPointTyped_instantiation_241() {
+ fn __bindgen_test_layout_IntPointTyped_instantiation_180() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35642,7 +36055,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntSizeTyped_instantiation_242() {
+ fn __bindgen_test_layout_IntSizeTyped_instantiation_181() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35653,7 +36066,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntRectTyped_instantiation_243() {
+ fn __bindgen_test_layout_IntRectTyped_instantiation_182() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35664,7 +36077,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_MarginTyped_instantiation_244() {
+ fn __bindgen_test_layout_MarginTyped_instantiation_183() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35675,7 +36088,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_RectTyped_instantiation_245() {
+ fn __bindgen_test_layout_RectTyped_instantiation_184() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35686,7 +36099,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntRectTyped_instantiation_246() {
+ fn __bindgen_test_layout_IntRectTyped_instantiation_185() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35697,7 +36110,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_ScaleFactor_instantiation_247() {
+ fn __bindgen_test_layout_ScaleFactor_instantiation_186() {
assert_eq!(::std::mem::size_of::<u32>() , 4usize , concat ! (
"Size of template specialization: " , stringify ! ( u32 )
));
@@ -35706,7 +36119,7 @@ pub mod root {
u32 ) ));
}
#[test]
- fn __bindgen_test_layout_ScaleFactors2D_instantiation_248() {
+ fn __bindgen_test_layout_ScaleFactors2D_instantiation_187() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35717,7 +36130,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_ScaleFactors2D_instantiation_249() {
+ fn __bindgen_test_layout_ScaleFactors2D_instantiation_188() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35728,7 +36141,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_ScaleFactors2D_instantiation_250() {
+ fn __bindgen_test_layout_ScaleFactors2D_instantiation_189() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35739,7 +36152,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_251() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_190() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35750,7 +36163,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_252() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_191() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35761,7 +36174,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_253() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_192() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35772,7 +36185,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_254() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_193() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35783,7 +36196,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_255() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_194() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35794,7 +36207,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_nsPIDOMWindow_instantiation_256() {
+ fn __bindgen_test_layout_nsPIDOMWindow_instantiation_195() {
assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -35805,7 +36218,7 @@ pub mod root {
[u64; 29usize] ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_257() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_196() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35816,7 +36229,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_258() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_197() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35827,7 +36240,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_259() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_198() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35838,7 +36251,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::CSSValue> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_260() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_199() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35849,7 +36262,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_261() {
+ fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_200() {
assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35860,7 +36273,7 @@ pub mod root {
[u64; 6usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Rooted_instantiation_262() {
+ fn __bindgen_test_layout_Rooted_instantiation_201() {
assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35871,7 +36284,7 @@ pub mod root {
[u64; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Rooted_instantiation_263() {
+ fn __bindgen_test_layout_Rooted_instantiation_202() {
assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35882,7 +36295,7 @@ pub mod root {
[u64; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_264() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_203() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsISupports>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35893,7 +36306,7 @@ pub mod root {
root::already_AddRefed<root::nsISupports> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_265() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_204() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsISupports>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35904,7 +36317,7 @@ pub mod root {
root::nsCOMPtr<root::nsISupports> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_266() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_205() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35915,7 +36328,7 @@ pub mod root {
root::nsCOMPtr<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_267() {
+ fn __bindgen_test_layout_nsTArray_instantiation_206() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35926,7 +36339,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_268() {
+ fn __bindgen_test_layout_Handle_instantiation_207() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35937,7 +36350,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_269() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_208() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35948,7 +36361,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_270() {
+ fn __bindgen_test_layout_Handle_instantiation_209() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35959,7 +36372,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_271() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_210() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35970,7 +36383,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_272() {
+ fn __bindgen_test_layout_nsTArray_instantiation_211() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35981,7 +36394,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_273() {
+ fn __bindgen_test_layout_Handle_instantiation_212() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35992,7 +36405,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_274() {
+ fn __bindgen_test_layout_RefPtr_instantiation_213() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36003,7 +36416,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_275() {
+ fn __bindgen_test_layout_RefPtr_instantiation_214() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36014,7 +36427,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_276() {
+ fn __bindgen_test_layout_RefPtr_instantiation_215() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36025,7 +36438,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_277() {
+ fn __bindgen_test_layout_nsTArray_instantiation_216() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36038,7 +36451,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_278() {
+ fn __bindgen_test_layout_RefPtr_instantiation_217() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36049,7 +36462,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_279() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_218() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36060,7 +36473,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_280() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_219() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36071,7 +36484,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_281() {
+ fn __bindgen_test_layout_Handle_instantiation_220() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36082,7 +36495,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_282() {
+ fn __bindgen_test_layout_nsTArray_instantiation_221() {
assert_eq!(::std::mem::size_of::<root::nsTArray<f64>>() , 8usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -36093,7 +36506,7 @@ pub mod root {
root::nsTArray<f64> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_283() {
+ fn __bindgen_test_layout_RefPtr_instantiation_222() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36106,7 +36519,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_284() {
+ fn __bindgen_test_layout_nsTArray_instantiation_223() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36119,7 +36532,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsPtrHashKey_instantiation_285() {
+ fn __bindgen_test_layout_nsPtrHashKey_instantiation_224() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::mozilla::dom::Element>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36130,7 +36543,7 @@ pub mod root {
root::nsPtrHashKey<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_286() {
+ fn __bindgen_test_layout_RefPtr_instantiation_225() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36143,7 +36556,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_287() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_226() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::ProfilerBacktrace>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36154,7 +36567,7 @@ pub mod root {
root::mozilla::UniquePtr<root::ProfilerBacktrace> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_288() {
+ fn __bindgen_test_layout_nsTArray_instantiation_227() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36165,7 +36578,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_289() {
+ fn __bindgen_test_layout_Handle_instantiation_228() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36176,7 +36589,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_290() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_229() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36187,7 +36600,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_291() {
+ fn __bindgen_test_layout_Handle_instantiation_230() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36198,7 +36611,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_292() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_231() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36209,7 +36622,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_293() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_232() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36220,7 +36633,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsDataHashtable_instantiation_294() {
+ fn __bindgen_test_layout_nsDataHashtable_instantiation_233() {
assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -36231,7 +36644,7 @@ pub mod root {
[u64; 6usize] ) ));
}
#[test]
- fn __bindgen_test_layout_OwningNonNull_instantiation_295() {
+ fn __bindgen_test_layout_OwningNonNull_instantiation_234() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36244,7 +36657,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_296() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_235() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36255,7 +36668,7 @@ pub mod root {
root::nsRefPtrHashKey<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_297() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_236() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIContent>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36266,7 +36679,7 @@ pub mod root {
root::nsRefPtrHashKey<root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_298() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_237() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36277,7 +36690,7 @@ pub mod root {
root::nsCOMPtr<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_299() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_238() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36288,7 +36701,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_300() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_239() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36299,7 +36712,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::URLExtraData> ) ));
}
#[test]
- fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_301() {
+ fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_240() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>()
, 32usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36310,7 +36723,7 @@ pub mod root {
root::nsMainThreadPtrHolder<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_302() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_241() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36321,7 +36734,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::URLExtraData> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_303() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_242() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36332,7 +36745,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_304() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_243() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36343,7 +36756,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_305() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_244() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36354,7 +36767,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::URLExtraData> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_306() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_245() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36365,7 +36778,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::URLExtraData> ) ));
}
#[test]
- fn __bindgen_test_layout_nsPtrHashKey_instantiation_307() {
+ fn __bindgen_test_layout_nsPtrHashKey_instantiation_246() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::nsIDocument>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36376,7 +36789,7 @@ pub mod root {
root::nsPtrHashKey<root::nsIDocument> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_308() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_247() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36387,7 +36800,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_309() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_248() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36398,7 +36811,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_310() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_249() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36409,7 +36822,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsCSSValueList> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_311() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_250() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36420,7 +36833,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_312() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_251() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36431,7 +36844,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsCSSValuePairList> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_313() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_252() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36442,7 +36855,7 @@ pub mod root {
root::already_AddRefed<root::nsStringBuffer> ) ));
}
#[test]
- fn __bindgen_test_layout_SupportsWeakPtr_instantiation_314() {
+ fn __bindgen_test_layout_SupportsWeakPtr_instantiation_253() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -36451,7 +36864,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_315() {
+ fn __bindgen_test_layout_nsTArray_instantiation_254() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36462,7 +36875,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_316() {
+ fn __bindgen_test_layout_nsTArray_instantiation_255() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36473,7 +36886,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_317() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_256() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36484,7 +36897,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_318() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_257() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36495,7 +36908,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_319() {
+ fn __bindgen_test_layout_Maybe_instantiation_258() {
assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -36506,7 +36919,7 @@ pub mod root {
[u32; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_320() {
+ fn __bindgen_test_layout_Maybe_instantiation_259() {
assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -36517,7 +36930,7 @@ pub mod root {
[u32; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_321() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_260() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStyleImageRequest>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36528,7 +36941,7 @@ pub mod root {
root::already_AddRefed<root::nsStyleImageRequest> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_322() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_261() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36539,7 +36952,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_323() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_262() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36550,7 +36963,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_324() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_263() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36561,7 +36974,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsStyleSides> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_325() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_264() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36572,7 +36985,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_326() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_265() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36583,7 +36996,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsStyleSides> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_327() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_266() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36594,7 +37007,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_328() {
+ fn __bindgen_test_layout_Maybe_instantiation_267() {
assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -36605,7 +37018,7 @@ pub mod root {
[u32; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_329() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_268() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36616,7 +37029,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_330() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_269() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36627,7 +37040,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_pair_instantiation_331() {
+ fn __bindgen_test_layout_pair_instantiation_270() {
assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>()
, 32usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36638,7 +37051,7 @@ pub mod root {
root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_332() {
+ fn __bindgen_test_layout_nsTArray_instantiation_271() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr,
::nsstring::nsStringRepr>>>()
, 8usize , concat ! (
@@ -36653,7 +37066,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_333() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_272() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36664,7 +37077,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_334() {
+ fn __bindgen_test_layout_nsTArray_instantiation_273() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36675,7 +37088,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_335() {
+ fn __bindgen_test_layout_nsTArray_instantiation_274() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleCoord>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36686,7 +37099,7 @@ pub mod root {
root::nsTArray<root::nsStyleCoord> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_336() {
+ fn __bindgen_test_layout_nsTArray_instantiation_275() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleCoord>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36697,7 +37110,7 @@ pub mod root {
root::nsTArray<root::nsStyleCoord> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_337() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_276() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36708,7 +37121,7 @@ pub mod root {
root::nsCOMPtr<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsStyleAutoArray_instantiation_338() {
+ fn __bindgen_test_layout_nsStyleAutoArray_instantiation_277() {
assert_eq!(::std::mem::size_of::<root::nsStyleAutoArray<root::mozilla::StyleAnimation>>()
, 64usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36719,7 +37132,7 @@ pub mod root {
root::nsStyleAutoArray<root::mozilla::StyleAnimation> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_339() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_278() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36730,7 +37143,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_340() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_279() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36741,7 +37154,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsCSSValueList> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_341() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_280() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36752,7 +37165,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_342() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_281() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36763,7 +37176,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsCSSValuePairList> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_343() {
+ fn __bindgen_test_layout_RefPtr_instantiation_282() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36774,7 +37187,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_344() {
+ fn __bindgen_test_layout_RefPtr_instantiation_283() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36785,7 +37198,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_NonNull_instantiation_345() {
+ fn __bindgen_test_layout_NonNull_instantiation_284() {
assert_eq!(::std::mem::size_of::<root::mozilla::dom::NonNull<root::mozilla::dom::Element>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36798,7 +37211,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_NonNull_instantiation_346() {
+ fn __bindgen_test_layout_NonNull_instantiation_285() {
assert_eq!(::std::mem::size_of::<root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36811,7 +37224,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_347() {
+ fn __bindgen_test_layout_Handle_instantiation_286() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36822,7 +37235,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_348() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_287() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36833,7 +37246,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_349() {
+ fn __bindgen_test_layout_Maybe_instantiation_288() {
assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -36844,7 +37257,7 @@ pub mod root {
[u64; 18usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_350() {
+ fn __bindgen_test_layout_Maybe_instantiation_289() {
assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -36855,7 +37268,7 @@ pub mod root {
[u64; 18usize] ) ));
}
#[test]
- fn __bindgen_test_layout_BaseTimeDuration_instantiation_351() {
+ fn __bindgen_test_layout_BaseTimeDuration_instantiation_290() {
assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36866,7 +37279,7 @@ pub mod root {
root::mozilla::BaseTimeDuration ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_352() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_291() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36877,7 +37290,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_353() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_292() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36888,7 +37301,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_354() {
+ fn __bindgen_test_layout_nsTArray_instantiation_293() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36899,7 +37312,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_355() {
+ fn __bindgen_test_layout_nsTArray_instantiation_294() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36910,7 +37323,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_356() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_295() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIContent>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36921,7 +37334,7 @@ pub mod root {
root::nsCOMPtr<root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_357() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_296() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36934,7 +37347,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_358() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_297() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36945,7 +37358,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_359() {
+ fn __bindgen_test_layout_nsTArray_instantiation_298() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36958,7 +37371,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_360() {
+ fn __bindgen_test_layout_Handle_instantiation_299() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36969,7 +37382,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_361() {
+ fn __bindgen_test_layout_Handle_instantiation_300() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36980,7 +37393,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_362() {
+ fn __bindgen_test_layout_RefPtr_instantiation_301() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMRect>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36991,7 +37404,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::DOMRect> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_363() {
+ fn __bindgen_test_layout_Handle_instantiation_302() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37002,7 +37415,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_364() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_303() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37013,7 +37426,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Sequence_instantiation_365() {
+ fn __bindgen_test_layout_Sequence_instantiation_304() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -37022,7 +37435,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_366() {
+ fn __bindgen_test_layout_Handle_instantiation_305() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37033,7 +37446,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Sequence_instantiation_367() {
+ fn __bindgen_test_layout_Sequence_instantiation_306() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -37042,7 +37455,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_Sequence_instantiation_368() {
+ fn __bindgen_test_layout_Sequence_instantiation_307() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -37051,7 +37464,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_369() {
+ fn __bindgen_test_layout_Handle_instantiation_308() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37062,7 +37475,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_370() {
+ fn __bindgen_test_layout_Handle_instantiation_309() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37073,7 +37486,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_371() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_310() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37084,7 +37497,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_372() {
+ fn __bindgen_test_layout_Handle_instantiation_311() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37095,7 +37508,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_373() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_312() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37106,7 +37519,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_374() {
+ fn __bindgen_test_layout_Handle_instantiation_313() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37117,7 +37530,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_375() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_314() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::Element>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37128,7 +37541,7 @@ pub mod root {
root::nsRefPtrHashKey<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_nsClassHashtable_instantiation_376() {
+ fn __bindgen_test_layout_nsClassHashtable_instantiation_315() {
assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -37139,7 +37552,7 @@ pub mod root {
[u64; 6usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_377() {
+ fn __bindgen_test_layout_Handle_instantiation_316() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37150,7 +37563,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_378() {
+ fn __bindgen_test_layout_nsTArray_instantiation_317() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37161,7 +37574,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_379() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_318() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37172,7 +37585,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::CSSValue> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_380() {
+ fn __bindgen_test_layout_Handle_instantiation_319() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37183,7 +37596,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_381() {
+ fn __bindgen_test_layout_nsTArray_instantiation_320() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37194,7 +37607,7 @@ pub mod root {
root::nsTArray<*mut root::mozilla::css::DocumentRule> ) ));
}
#[test]
- fn __bindgen_test_layout_nsAutoPtr_instantiation_382() {
+ fn __bindgen_test_layout_nsAutoPtr_instantiation_321() {
assert_eq!(::std::mem::size_of::<root::nsAutoPtr<root::nsMediaQuery>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37204,4 +37617,15 @@ pub mod root {
"Alignment of template specialization: " , stringify ! (
root::nsAutoPtr<root::nsMediaQuery> ) ));
}
+ #[test]
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_322() {
+ assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIURI>>() ,
+ 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::nsCOMPtr<root::nsIURI> ) ));
+ assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIURI>>() ,
+ 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::nsCOMPtr<root::nsIURI> ) ));
+ }
}
diff --git a/components/style/gecko/generated/structs_release.rs b/components/style/gecko/generated/structs_release.rs
index 7b70c2b0fe5..1a330a922e6 100644
--- a/components/style/gecko/generated/structs_release.rs
+++ b/components/style/gecko/generated/structs_release.rs
@@ -1064,47 +1064,98 @@ pub mod root {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
- #[derive(Debug, Copy, Clone)]
- pub struct iterator {
+ #[derive(Debug, Copy)]
+ pub struct forward_iterator_tag {
pub _address: u8,
}
- pub type iterator_iterator_category<_Category> = _Category;
- pub type iterator_value_type<_Tp> = _Tp;
- pub type iterator_difference_type<_Distance> = _Distance;
- pub type iterator_pointer<_Pointer> = _Pointer;
- pub type iterator_reference<_Reference> = _Reference;
+ #[test]
+ fn bindgen_test_layout_forward_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<forward_iterator_tag>() , 1usize
+ , concat ! (
+ "Size of: " , stringify ! ( forward_iterator_tag ) ));
+ assert_eq! (::std::mem::align_of::<forward_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! ( forward_iterator_tag )
+ ));
+ }
+ impl Clone for forward_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
#[repr(C)]
- #[derive(Debug, Copy, Clone)]
- pub struct __iterator_traits {
+ #[derive(Debug, Copy)]
+ pub struct bidirectional_iterator_tag {
pub _address: u8,
}
+ #[test]
+ fn bindgen_test_layout_bidirectional_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<bidirectional_iterator_tag>() ,
+ 1usize , concat ! (
+ "Size of: " , stringify ! ( bidirectional_iterator_tag
+ ) ));
+ assert_eq! (::std::mem::align_of::<bidirectional_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! (
+ bidirectional_iterator_tag ) ));
+ }
+ impl Clone for bidirectional_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct random_access_iterator_tag {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_random_access_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<random_access_iterator_tag>() ,
+ 1usize , concat ! (
+ "Size of: " , stringify ! ( random_access_iterator_tag
+ ) ));
+ assert_eq! (::std::mem::align_of::<random_access_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! (
+ random_access_iterator_tag ) ));
+ }
+ impl Clone for random_access_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
#[repr(C)]
- #[derive(Debug, Copy, Clone)]
pub struct iterator_traits {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
- pub struct reverse_iterator<_Iterator> {
- pub current: _Iterator,
- pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Iterator>>,
+ pub struct iterator {
+ pub _address: u8,
+ }
+ pub type iterator_value_type<_Tp> = _Tp;
+ pub type iterator_difference_type<_Distance> = _Distance;
+ pub type iterator_pointer<_Pointer> = _Pointer;
+ pub type iterator_reference<_Reference> = _Reference;
+ pub type iterator_iterator_category<_Category> = _Category;
+ #[repr(C)]
+ pub struct reverse_iterator<_Iter> {
+ pub __t: _Iter,
+ pub current: _Iter,
+ pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Iter>>,
}
- pub type reverse_iterator___traits_type = root::std::iterator_traits;
- pub type reverse_iterator_iterator_type<_Iterator> = _Iterator;
+ pub type reverse_iterator_iterator_type<_Iter> = _Iter;
pub type reverse_iterator_difference_type =
- root::std::reverse_iterator___traits_type;
- pub type reverse_iterator_pointer =
- root::std::reverse_iterator___traits_type;
- pub type reverse_iterator_reference =
- root::std::reverse_iterator___traits_type;
+ root::std::iterator_traits;
+ pub type reverse_iterator_reference = root::std::iterator_traits;
+ pub type reverse_iterator_pointer = root::std::iterator_traits;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct atomic {
}
- }
- pub mod __gnu_cxx {
- #[allow(unused_imports)]
- use self::super::super::root;
+ pub type atomic___base = u8;
+ #[repr(C)]
+ pub struct __bit_const_reference {
+ pub __seg_: root::std::__bit_const_reference___storage_pointer,
+ pub __mask_: root::std::__bit_const_reference___storage_type,
+ }
+ pub type __bit_const_reference___storage_type = [u8; 0usize];
+ pub type __bit_const_reference___storage_pointer = [u8; 0usize];
}
pub mod mozilla {
#[allow(unused_imports)]
@@ -1337,7 +1388,7 @@ pub mod root {
#[repr(C)]
#[derive(Debug)]
pub struct MutexImpl {
- pub platformData_: [*mut ::std::os::raw::c_void; 5usize],
+ pub platformData_: [*mut ::std::os::raw::c_void; 8usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -1346,7 +1397,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_MutexImpl() {
- assert_eq!(::std::mem::size_of::<MutexImpl>() , 40usize ,
+ assert_eq!(::std::mem::size_of::<MutexImpl>() , 64usize ,
concat ! ( "Size of: " , stringify ! ( MutexImpl )
));
assert_eq! (::std::mem::align_of::<MutexImpl>() , 8usize ,
@@ -2129,7 +2180,7 @@ pub mod root {
}
}
#[repr(C)]
- #[derive(Debug)]
+ #[derive(Debug, Copy)]
pub struct ThreadSafeAutoRefCnt {
pub mValue: u64,
}
@@ -2150,6 +2201,9 @@ pub mod root {
ThreadSafeAutoRefCnt ) , "::" , stringify ! ( mValue )
));
}
+ impl Clone for ThreadSafeAutoRefCnt {
+ fn clone(&self) -> Self { *self }
+ }
#[repr(C)]
#[derive(Debug)]
pub struct OwningNonNull<T> {
@@ -5829,6 +5883,11 @@ pub mod root {
concat ! (
"Alignment of " , stringify ! ( CSSValue ) ));
}
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct XBLChildrenElement {
+ _unused: [u8; 0],
+ }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -7187,6 +7246,11 @@ pub mod root {
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
+ pub struct ServoStyleSet {
+ _unused: [u8; 0],
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
pub struct EventChainVisitor {
_unused: [u8; 0],
}
@@ -7988,7 +8052,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_OffTheBooksMutex() {
- assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 40usize ,
+ assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 64usize ,
concat ! (
"Size of: " , stringify ! ( OffTheBooksMutex ) ));
assert_eq! (::std::mem::align_of::<OffTheBooksMutex>() , 8usize ,
@@ -8007,7 +8071,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_Mutex() {
- assert_eq!(::std::mem::size_of::<Mutex>() , 40usize , concat ! (
+ assert_eq!(::std::mem::size_of::<Mutex>() , 64usize , concat ! (
"Size of: " , stringify ! ( Mutex ) ));
assert_eq! (::std::mem::align_of::<Mutex>() , 8usize , concat ! (
"Alignment of " , stringify ! ( Mutex ) ));
@@ -12590,12 +12654,64 @@ pub mod root {
pub struct Rooted {
}
pub type Rooted_ElementType<T> = T;
+ pub type HandleId = root::JS::Handle<root::jsid>;
pub type HandleObject = root::JS::Handle<*mut root::JSObject>;
pub type HandleValue = root::JS::Handle<root::JS::Value>;
pub type MutableHandleValue =
root::JS::MutableHandle<root::JS::Value>;
pub type RootedObject = [u64; 3usize];
#[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct PropertyDescriptor {
+ pub obj: *mut root::JSObject,
+ pub attrs: ::std::os::raw::c_uint,
+ pub getter: root::JSGetterOp,
+ pub setter: root::JSSetterOp,
+ pub value: root::JS::Value,
+ }
+ #[test]
+ fn bindgen_test_layout_PropertyDescriptor() {
+ assert_eq!(::std::mem::size_of::<PropertyDescriptor>() , 40usize ,
+ concat ! (
+ "Size of: " , stringify ! ( PropertyDescriptor ) ));
+ assert_eq! (::std::mem::align_of::<PropertyDescriptor>() , 8usize
+ , concat ! (
+ "Alignment of " , stringify ! ( PropertyDescriptor )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . obj as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( obj ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . attrs as
+ * const _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( attrs )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . getter
+ as * const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( getter )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . setter
+ as * const _ as usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( setter )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const PropertyDescriptor ) ) . value as
+ * const _ as usize } , 32usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ PropertyDescriptor ) , "::" , stringify ! ( value )
+ ));
+ }
+ impl Clone for PropertyDescriptor {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct DeletePolicy {
pub _address: u8,
@@ -12854,6 +12970,76 @@ pub mod root {
fn clone(&self) -> Self { *self }
}
/**
+ * Per ES6, the [[DefineOwnProperty]] internal method has three different
+ * possible outcomes:
+ *
+ * - It can throw an exception (which we indicate by returning false).
+ *
+ * - It can return true, indicating unvarnished success.
+ *
+ * - It can return false, indicating "strict failure". The property could
+ * not be defined. It's an error, but no exception was thrown.
+ *
+ * It's not just [[DefineOwnProperty]]: all the mutating internal methods have
+ * the same three outcomes. (The other affected internal methods are [[Set]],
+ * [[Delete]], [[SetPrototypeOf]], and [[PreventExtensions]].)
+ *
+ * If you think this design is awful, you're not alone. But as it's the
+ * standard, we must represent these boolean "success" values somehow.
+ * ObjectOpSuccess is the class for this. It's like a bool, but when it's false
+ * it also stores an error code.
+ *
+ * Typical usage:
+ *
+ * ObjectOpResult result;
+ * if (!DefineProperty(cx, obj, id, ..., result))
+ * return false;
+ * if (!result)
+ * return result.reportError(cx, obj, id);
+ *
+ * Users don't have to call `result.report()`; another possible ending is:
+ *
+ * argv.rval().setBoolean(bool(result));
+ * return true;
+ */
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct ObjectOpResult {
+ /**
+ * code_ is either one of the special codes OkCode or Uninitialized, or
+ * an error code. For now the error codes are private to the JS engine;
+ * they're defined in js/src/js.msg.
+ *
+ * code_ is uintptr_t (rather than uint32_t) for the convenience of the
+ * JITs, which would otherwise have to deal with either padding or stack
+ * alignment on 64-bit platforms.
+ */
+ pub code_: usize,
+ }
+ #[repr(u64)]
+ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+ pub enum ObjectOpResult_SpecialCodes {
+ OkCode = 0,
+ Uninitialized = 18446744073709551615,
+ }
+ #[test]
+ fn bindgen_test_layout_ObjectOpResult() {
+ assert_eq!(::std::mem::size_of::<ObjectOpResult>() , 8usize ,
+ concat ! ( "Size of: " , stringify ! ( ObjectOpResult )
+ ));
+ assert_eq! (::std::mem::align_of::<ObjectOpResult>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( ObjectOpResult ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ObjectOpResult ) ) . code_ as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( ObjectOpResult
+ ) , "::" , stringify ! ( code_ ) ));
+ }
+ impl Clone for ObjectOpResult {
+ fn clone(&self) -> Self { *self }
+ }
+ /**
* This class can be used to store a pointer to the youngest frame of a saved
* stack in the specified JSContext. This reference will be picked up by any new
* calls performed until the class is destroyed, with the specified asyncCause,
@@ -14961,7 +15147,7 @@ pub mod root {
* count is 1.
*/
#[repr(C)]
- #[derive(Debug)]
+ #[derive(Debug, Copy)]
pub struct nsStringBuffer {
pub mRefCount: u32,
pub mStorageSize: u32,
@@ -14983,6 +15169,9 @@ pub mod root {
"Alignment of field: " , stringify ! ( nsStringBuffer ) ,
"::" , stringify ! ( mStorageSize ) ));
}
+ impl Clone for nsStringBuffer {
+ fn clone(&self) -> Self { *self }
+ }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIAtom {
@@ -15654,6 +15843,36 @@ pub mod root {
pub struct nsIRedirectHistoryEntry {
_unused: [u8; 0],
}
+ /**
+ * Get a property named by id in obj. Note the jsid id type -- id may
+ * be a string (Unicode property identifier) or an int (element index). The
+ * *vp out parameter, on success, is the new property value after the action.
+ */
+ pub type JSGetterOp =
+ ::std::option::Option<unsafe extern "C" fn(cx: *mut root::JSContext,
+ obj:
+ root::JS::HandleObject,
+ id: root::JS::HandleId,
+ vp:
+ root::JS::MutableHandleValue)
+ -> bool>;
+ /**
+ * Set a property named by id in obj, treating the assignment as strict
+ * mode code if strict is true. Note the jsid id type -- id may be a string
+ * (Unicode property identifier) or an int (element index). The *vp out
+ * parameter, on success, is the new property value after the
+ * set.
+ */
+ pub type JSSetterOp =
+ ::std::option::Option<unsafe extern "C" fn(cx: *mut root::JSContext,
+ obj:
+ root::JS::HandleObject,
+ id: root::JS::HandleId,
+ vp:
+ root::JS::MutableHandleValue,
+ result:
+ *mut root::JS::ObjectOpResult)
+ -> bool>;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct JSErrorFormatString {
@@ -21961,57 +22180,57 @@ pub mod root {
pub struct nsDOMMutationObserver {
_unused: [u8; 0],
}
- pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_HAS_LISTENERMANAGER;
- pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_HAS_PROPERTIES;
- pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_IS_ANONYMOUS_ROOT;
- pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
- pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_IS_NATIVE_ANONYMOUS_ROOT;
- pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_FORCE_XBL_BINDINGS;
- pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_MAY_BE_IN_BINDING_MNGR;
- pub const NODE_IS_EDITABLE: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_IS_EDITABLE;
- pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_IS_NATIVE_ANONYMOUS;
- pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_IS_IN_SHADOW_TREE;
- pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_HAS_EMPTY_SELECTOR;
- pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_HAS_SLOW_SELECTOR;
- pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_HAS_EDGE_CHILD_SELECTOR;
- pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
- pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_ALL_SELECTOR_FLAGS;
- pub const NODE_NEEDS_FRAME: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_NEEDS_FRAME;
- pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_DESCENDANTS_NEED_FRAMES;
- pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_HAS_ACCESSKEY;
- pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_HAS_DIRECTION_RTL;
- pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_HAS_DIRECTION_LTR;
- pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_ALL_DIRECTION_FLAGS;
- pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_CHROME_ONLY_ACCESS;
- pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
- pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_83 =
- _bindgen_ty_83::NODE_TYPE_SPECIFIC_BITS_OFFSET;
+ pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_LISTENERMANAGER;
+ pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_PROPERTIES;
+ pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_ANONYMOUS_ROOT;
+ pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
+ pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_NATIVE_ANONYMOUS_ROOT;
+ pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_FORCE_XBL_BINDINGS;
+ pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_MAY_BE_IN_BINDING_MNGR;
+ pub const NODE_IS_EDITABLE: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_EDITABLE;
+ pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_NATIVE_ANONYMOUS;
+ pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_IN_SHADOW_TREE;
+ pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_EMPTY_SELECTOR;
+ pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_SLOW_SELECTOR;
+ pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_EDGE_CHILD_SELECTOR;
+ pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
+ pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_ALL_SELECTOR_FLAGS;
+ pub const NODE_NEEDS_FRAME: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_NEEDS_FRAME;
+ pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_DESCENDANTS_NEED_FRAMES;
+ pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_ACCESSKEY;
+ pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_DIRECTION_RTL;
+ pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_HAS_DIRECTION_LTR;
+ pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_ALL_DIRECTION_FLAGS;
+ pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_CHROME_ONLY_ACCESS;
+ pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
+ pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_17 =
+ _bindgen_ty_17::NODE_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum _bindgen_ty_83 {
+ pub enum _bindgen_ty_17 {
NODE_HAS_LISTENERMANAGER = 4,
NODE_HAS_PROPERTIES = 8,
NODE_IS_ANONYMOUS_ROOT = 16,
@@ -22048,9 +22267,110 @@ pub mod root {
_unused: [u8; 0],
}
#[repr(C)]
- #[derive(Debug, Copy, Clone)]
+ #[derive(Debug)]
pub struct nsXBLBinding {
- _unused: [u8; 0],
+ pub mRefCnt: root::nsCycleCollectingAutoRefCnt,
+ pub mMarkedForDeath: bool,
+ pub mUsingContentXBLScope: bool,
+ pub mIsShadowRootBinding: bool,
+ pub mPrototypeBinding: *mut root::nsXBLPrototypeBinding,
+ pub mContent: root::nsCOMPtr,
+ pub mNextBinding: root::RefPtr<root::nsXBLBinding>,
+ pub mBoundElement: *mut root::nsIContent,
+ pub mDefaultInsertionPoint: root::RefPtr<root::mozilla::dom::XBLChildrenElement>,
+ pub mInsertionPoints: root::nsTArray<root::RefPtr<root::mozilla::dom::XBLChildrenElement>>,
+ pub mAnonymousContentList: root::RefPtr<root::nsAnonymousContentList>,
+ }
+ pub type nsXBLBinding_HasThreadSafeRefCnt = root::mozilla::FalseType;
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct nsXBLBinding_cycleCollection {
+ pub _base: root::nsCycleCollectionParticipant,
+ }
+ #[test]
+ fn bindgen_test_layout_nsXBLBinding_cycleCollection() {
+ assert_eq!(::std::mem::size_of::<nsXBLBinding_cycleCollection>() ,
+ 16usize , concat ! (
+ "Size of: " , stringify ! ( nsXBLBinding_cycleCollection )
+ ));
+ assert_eq! (::std::mem::align_of::<nsXBLBinding_cycleCollection>() ,
+ 8usize , concat ! (
+ "Alignment of " , stringify ! (
+ nsXBLBinding_cycleCollection ) ));
+ }
+ impl Clone for nsXBLBinding_cycleCollection {
+ fn clone(&self) -> Self { *self }
+ }
+ extern "C" {
+ #[link_name = "_ZN12nsXBLBinding21_cycleCollectorGlobalE"]
+ pub static mut nsXBLBinding__cycleCollectorGlobal:
+ root::nsXBLBinding_cycleCollection;
+ }
+ #[test]
+ fn bindgen_test_layout_nsXBLBinding() {
+ assert_eq!(::std::mem::size_of::<nsXBLBinding>() , 72usize , concat !
+ ( "Size of: " , stringify ! ( nsXBLBinding ) ));
+ assert_eq! (::std::mem::align_of::<nsXBLBinding>() , 8usize , concat !
+ ( "Alignment of " , stringify ! ( nsXBLBinding ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mRefCnt as * const
+ _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mRefCnt ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mMarkedForDeath as
+ * const _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mMarkedForDeath ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) .
+ mUsingContentXBLScope as * const _ as usize } , 9usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mUsingContentXBLScope ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) .
+ mIsShadowRootBinding as * const _ as usize } , 10usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mIsShadowRootBinding ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mPrototypeBinding
+ as * const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mPrototypeBinding ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mContent as *
+ const _ as usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mContent ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mNextBinding as *
+ const _ as usize } , 32usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mNextBinding ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mBoundElement as *
+ const _ as usize } , 40usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mBoundElement ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) .
+ mDefaultInsertionPoint as * const _ as usize } , 48usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mDefaultInsertionPoint ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) . mInsertionPoints
+ as * const _ as usize } , 56usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mInsertionPoints ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsXBLBinding ) ) .
+ mAnonymousContentList as * const _ as usize } , 64usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! ( nsXBLBinding ) ,
+ "::" , stringify ! ( mAnonymousContentList ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
@@ -28362,7 +28682,7 @@ pub mod root {
pub type imgRequest_HasThreadSafeRefCnt = root::mozilla::TrueType;
#[test]
fn bindgen_test_layout_imgRequest() {
- assert_eq!(::std::mem::size_of::<imgRequest>() , 376usize , concat ! (
+ assert_eq!(::std::mem::size_of::<imgRequest>() , 400usize , concat ! (
"Size of: " , stringify ! ( imgRequest ) ));
assert_eq! (::std::mem::align_of::<imgRequest>() , 8usize , concat ! (
"Alignment of " , stringify ! ( imgRequest ) ));
@@ -29813,7 +30133,7 @@ pub mod root {
) , "::" , stringify ! ( mQuotePairs ) ));
}
#[test]
- fn __bindgen_test_layout_StaticRefPtr_instantiation_86() {
+ fn __bindgen_test_layout_StaticRefPtr_instantiation_20() {
assert_eq!(::std::mem::size_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -29824,7 +30144,7 @@ pub mod root {
root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) ));
}
#[test]
- fn __bindgen_test_layout_StaticRefPtr_instantiation_87() {
+ fn __bindgen_test_layout_StaticRefPtr_instantiation_21() {
assert_eq!(::std::mem::size_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -32006,6 +32326,7 @@ pub mod root {
pub type RawGeckoElement = root::mozilla::dom::Element;
pub type RawGeckoDocument = root::nsIDocument;
pub type RawGeckoPresContext = root::nsPresContext;
+ pub type RawGeckoXBLBinding = root::nsXBLBinding;
pub type RawGeckoURLExtraData = root::mozilla::URLExtraData;
pub type RawGeckoKeyframeList = root::nsTArray<root::mozilla::Keyframe>;
pub type RawGeckoComputedKeyframeValuesList =
@@ -32032,6 +32353,9 @@ pub mod root {
pub type RawGeckoElementBorrowedOrNull = *const root::RawGeckoElement;
pub type RawGeckoDocumentBorrowed = *const root::RawGeckoDocument;
pub type RawGeckoDocumentBorrowedOrNull = *const root::RawGeckoDocument;
+ pub type RawGeckoXBLBindingBorrowed = *const root::RawGeckoXBLBinding;
+ pub type RawGeckoXBLBindingBorrowedOrNull =
+ *const root::RawGeckoXBLBinding;
pub type RawGeckoPresContextOwned = *mut root::RawGeckoPresContext;
pub type RawGeckoPresContextBorrowed = *const root::RawGeckoPresContext;
pub type RawGeckoPresContextBorrowedMut = *mut root::RawGeckoPresContext;
@@ -32323,6 +32647,8 @@ pub mod root {
pub const ThemeWidgetType_NS_THEME_MAC_ACTIVE_SOURCE_LIST_SELECTION:
root::ThemeWidgetType =
124;
+ pub const ThemeWidgetType_ThemeWidgetType_COUNT: root::ThemeWidgetType =
+ 125;
pub type ThemeWidgetType = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -32768,48 +33094,48 @@ pub mod root {
pub struct nsAttrValueOrString {
_unused: [u8; 0],
}
- pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_1;
- pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_2;
- pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3;
- pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_4;
- pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_1;
+ pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_1;
+ pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_2;
+ pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_3;
+ pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_4;
+ pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_1;
pub const ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO:
- root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_2;
- pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3;
- pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_4;
- pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_1;
- pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_2;
- pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_85
+ root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_2;
+ pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_3;
+ pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_4;
+ pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_1;
+ pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_2;
+ pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_19
=
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3;
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_3;
pub const ELEMENT_IS_POTENTIAL_ANIMATION_ONLY_RESTYLE_ROOT:
- root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_4;
- pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR;
- pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_PENDING_RESTYLE_FLAGS;
- pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS;
- pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_ALL_RESTYLE_FLAGS;
- pub const ELEMENT_HAS_SCROLLGRAB: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_HAS_SCROLLGRAB;
- pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_85 =
- _bindgen_ty_85::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET;
+ root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_SHARED_RESTYLE_BIT_4;
+ pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR;
+ pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_PENDING_RESTYLE_FLAGS;
+ pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS;
+ pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_ALL_RESTYLE_FLAGS;
+ pub const ELEMENT_HAS_SCROLLGRAB: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_HAS_SCROLLGRAB;
+ pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_19 =
+ _bindgen_ty_19::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum _bindgen_ty_85 {
+ pub enum _bindgen_ty_19 {
ELEMENT_SHARED_RESTYLE_BIT_1 = 8388608,
ELEMENT_SHARED_RESTYLE_BIT_2 = 16777216,
ELEMENT_SHARED_RESTYLE_BIT_3 = 33554432,
@@ -33423,6 +33749,16 @@ pub mod root {
"::" , stringify ! ( mArray ) ));
}
#[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct nsXBLPrototypeBinding {
+ _unused: [u8; 0],
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct nsAnonymousContentList {
+ _unused: [u8; 0],
+ }
+ #[repr(C)]
#[derive(Debug, Copy)]
pub struct __va_list_tag {
pub gp_offset: ::std::os::raw::c_uint,
@@ -33462,7 +33798,7 @@ pub mod root {
}
pub type __builtin_va_list = [root::__va_list_tag; 1usize];
#[test]
- fn __bindgen_test_layout_IntegralConstant_instantiation_88() {
+ fn __bindgen_test_layout_IntegralConstant_instantiation_22() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@@ -33471,7 +33807,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_IntegralConstant_instantiation_89() {
+ fn __bindgen_test_layout_IntegralConstant_instantiation_23() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@@ -33480,7 +33816,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsCharTraits_instantiation_90() {
+ fn __bindgen_test_layout_nsCharTraits_instantiation_24() {
assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -33491,7 +33827,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
- fn __bindgen_test_layout_nsReadingIterator_instantiation_91() {
+ fn __bindgen_test_layout_nsReadingIterator_instantiation_25() {
assert_eq!(::std::mem::size_of::<root::nsReadingIterator<u16>>() ,
24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33502,7 +33838,7 @@ pub mod root {
root::nsReadingIterator<u16> ) ));
}
#[test]
- fn __bindgen_test_layout_nsWritingIterator_instantiation_92() {
+ fn __bindgen_test_layout_nsWritingIterator_instantiation_26() {
assert_eq!(::std::mem::size_of::<root::nsWritingIterator<u16>>() ,
24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33513,7 +33849,7 @@ pub mod root {
root::nsWritingIterator<u16> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCharTraits_instantiation_93() {
+ fn __bindgen_test_layout_nsCharTraits_instantiation_27() {
assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -33524,7 +33860,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
- fn __bindgen_test_layout_nsReadingIterator_instantiation_94() {
+ fn __bindgen_test_layout_nsReadingIterator_instantiation_28() {
assert_eq!(::std::mem::size_of::<root::nsReadingIterator<::std::os::raw::c_char>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33535,7 +33871,7 @@ pub mod root {
root::nsReadingIterator<::std::os::raw::c_char> ) ));
}
#[test]
- fn __bindgen_test_layout_nsWritingIterator_instantiation_95() {
+ fn __bindgen_test_layout_nsWritingIterator_instantiation_29() {
assert_eq!(::std::mem::size_of::<root::nsWritingIterator<::std::os::raw::c_char>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33546,7 +33882,7 @@ pub mod root {
root::nsWritingIterator<::std::os::raw::c_char> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCharTraits_instantiation_96() {
+ fn __bindgen_test_layout_nsCharTraits_instantiation_30() {
assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -33557,7 +33893,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
- fn __bindgen_test_layout_nsCharTraits_instantiation_97() {
+ fn __bindgen_test_layout_nsCharTraits_instantiation_31() {
assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -33568,7 +33904,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
- fn __bindgen_test_layout__bindgen_ty_id_210674_instantiation_98() {
+ fn __bindgen_test_layout__bindgen_ty_id_185453_instantiation_32() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@@ -33577,7 +33913,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout__bindgen_ty_id_210710_instantiation_99() {
+ fn __bindgen_test_layout__bindgen_ty_id_185489_instantiation_33() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@@ -33586,7 +33922,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_100() {
+ fn __bindgen_test_layout_nsTArray_instantiation_34() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33597,7 +33933,18 @@ pub mod root {
root::nsTArray<root::nsCString> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_101() {
+ fn __bindgen_test_layout_Handle_instantiation_35() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_36() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33608,7 +33955,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_102() {
+ fn __bindgen_test_layout_Handle_instantiation_37() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33619,7 +33966,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_103() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_38() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33630,7 +33977,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Rooted_instantiation_104() {
+ fn __bindgen_test_layout_Rooted_instantiation_39() {
assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -33641,7 +33988,7 @@ pub mod root {
[u64; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_105() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_40() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -33652,7 +33999,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_106() {
+ fn __bindgen_test_layout_nsTArray_instantiation_41() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33663,7 +34010,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_107() {
+ fn __bindgen_test_layout_nsTArray_instantiation_42() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FontFamilyName>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33674,7 +34021,7 @@ pub mod root {
root::nsTArray<root::mozilla::FontFamilyName> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_108() {
+ fn __bindgen_test_layout_nsTArray_instantiation_43() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33685,7 +34032,7 @@ pub mod root {
root::nsTArray<::std::os::raw::c_uint> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_109() {
+ fn __bindgen_test_layout_nsTArray_instantiation_44() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33696,7 +34043,7 @@ pub mod root {
root::nsTArray<::std::os::raw::c_uint> ) ));
}
#[test]
- fn __bindgen_test_layout_BaseTimeDuration_instantiation_110() {
+ fn __bindgen_test_layout_BaseTimeDuration_instantiation_45() {
assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33707,7 +34054,7 @@ pub mod root {
root::mozilla::BaseTimeDuration ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_111() {
+ fn __bindgen_test_layout_nsTArray_instantiation_46() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33718,7 +34065,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_TErrorResult_instantiation_112() {
+ fn __bindgen_test_layout_TErrorResult_instantiation_47() {
assert_eq!(::std::mem::size_of::<root::mozilla::binding_danger::TErrorResult>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33729,7 +34076,7 @@ pub mod root {
root::mozilla::binding_danger::TErrorResult ) ));
}
#[test]
- fn __bindgen_test_layout_TErrorResult_instantiation_113() {
+ fn __bindgen_test_layout_TErrorResult_instantiation_48() {
assert_eq!(::std::mem::size_of::<root::mozilla::binding_danger::TErrorResult>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33740,7 +34087,7 @@ pub mod root {
root::mozilla::binding_danger::TErrorResult ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_114() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_49() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33751,7 +34098,7 @@ pub mod root {
root::already_AddRefed<root::nsStringBuffer> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_115() {
+ fn __bindgen_test_layout_Handle_instantiation_50() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33762,7 +34109,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_116() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_51() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33773,7 +34120,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_117() {
+ fn __bindgen_test_layout_Handle_instantiation_52() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33784,7 +34131,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_118() {
+ fn __bindgen_test_layout_nsTArray_instantiation_53() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33795,7 +34142,7 @@ pub mod root {
root::nsTArray<*mut root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_119() {
+ fn __bindgen_test_layout_Handle_instantiation_54() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33806,7 +34153,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_120() {
+ fn __bindgen_test_layout_RefPtr_instantiation_55() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33817,7 +34164,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_121() {
+ fn __bindgen_test_layout_Handle_instantiation_56() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33828,7 +34175,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_122() {
+ fn __bindgen_test_layout_Handle_instantiation_57() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33839,7 +34186,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_123() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_58() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33850,7 +34197,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_124() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_59() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33861,7 +34208,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_125() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_60() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33872,7 +34219,7 @@ pub mod root {
root::already_AddRefed<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_126() {
+ fn __bindgen_test_layout_Handle_instantiation_61() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33883,7 +34230,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_127() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_62() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33894,7 +34241,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_128() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_63() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33905,7 +34252,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_129() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_64() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -33916,7 +34263,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_130() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_65() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33927,7 +34274,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_131() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_66() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -33938,7 +34285,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_132() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_67() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33949,7 +34296,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_133() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_68() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -33960,7 +34307,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_134() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_69() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33971,7 +34318,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_135() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_70() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -33982,7 +34329,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_136() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_71() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -33993,7 +34340,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_137() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_72() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34004,7 +34351,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_138() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_73() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34015,7 +34362,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_iterator_instantiation_139() {
+ fn __bindgen_test_layout_iterator_instantiation_74() {
assert_eq!(::std::mem::size_of::<root::std::iterator>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34026,7 +34373,7 @@ pub mod root {
root::std::iterator ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_140() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_75() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34037,7 +34384,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_141() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_76() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34048,7 +34395,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_DeletePolicy_instantiation_142() {
+ fn __bindgen_test_layout_DeletePolicy_instantiation_77() {
assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34059,7 +34406,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_143() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_78() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34070,7 +34417,7 @@ pub mod root {
root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_144() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_79() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -34081,7 +34428,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_145() {
+ fn __bindgen_test_layout_Handle_instantiation_80() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34092,7 +34439,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_146() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_81() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34103,7 +34450,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_147() {
+ fn __bindgen_test_layout_nsTArray_instantiation_82() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34114,7 +34461,7 @@ pub mod root {
root::nsTArray<root::nsCString> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_148() {
+ fn __bindgen_test_layout_nsTArray_instantiation_83() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34125,7 +34472,7 @@ pub mod root {
root::nsTArray<root::nsCString> ) ));
}
#[test]
- fn __bindgen_test_layout_Heap_instantiation_149() {
+ fn __bindgen_test_layout_Heap_instantiation_84() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<root::JS::Value>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34136,7 +34483,7 @@ pub mod root {
root::JS::Heap<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Heap_instantiation_150() {
+ fn __bindgen_test_layout_Heap_instantiation_85() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34147,7 +34494,7 @@ pub mod root {
root::JS::Heap<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_TenuredHeap_instantiation_151() {
+ fn __bindgen_test_layout_TenuredHeap_instantiation_86() {
assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap>() , 8usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34158,7 +34505,7 @@ pub mod root {
root::JS::TenuredHeap ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_152() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_87() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34169,7 +34516,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_153() {
+ fn __bindgen_test_layout_nsTArray_instantiation_88() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::AnonymousContent>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34182,7 +34529,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_154() {
+ fn __bindgen_test_layout_RefPtr_instantiation_89() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34193,7 +34540,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_155() {
+ fn __bindgen_test_layout_nsTArray_instantiation_90() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34206,7 +34553,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_156() {
+ fn __bindgen_test_layout_RefPtr_instantiation_91() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34217,7 +34564,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_157() {
+ fn __bindgen_test_layout_nsTArray_instantiation_92() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34230,7 +34577,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_158() {
+ fn __bindgen_test_layout_RefPtr_instantiation_93() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34241,7 +34588,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_159() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_94() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -34252,7 +34599,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_160() {
+ fn __bindgen_test_layout_nsTArray_instantiation_95() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34263,7 +34610,7 @@ pub mod root {
root::nsTArray<root::nsCOMPtr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_161() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_96() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -34274,7 +34621,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_162() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_97() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIDocument>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34285,7 +34632,7 @@ pub mod root {
root::already_AddRefed<root::nsIDocument> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_163() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_98() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34296,7 +34643,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_164() {
+ fn __bindgen_test_layout_RefPtr_instantiation_99() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34307,7 +34654,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_165() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_100() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIDocument>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34318,7 +34665,7 @@ pub mod root {
root::already_AddRefed<root::nsIDocument> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_166() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_101() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34329,7 +34676,7 @@ pub mod root {
root::JS::MutableHandle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_167() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_102() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsContentList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34340,7 +34687,7 @@ pub mod root {
root::already_AddRefed<root::nsContentList> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_168() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_103() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsContentList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34351,7 +34698,7 @@ pub mod root {
root::already_AddRefed<root::nsContentList> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_169() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_104() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34362,7 +34709,7 @@ pub mod root {
root::already_AddRefed<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_170() {
+ fn __bindgen_test_layout_RefPtr_instantiation_105() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34373,7 +34720,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_171() {
+ fn __bindgen_test_layout_Handle_instantiation_106() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34384,7 +34731,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_172() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_107() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34395,7 +34742,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_173() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_108() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34406,7 +34753,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_174() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_109() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -34417,7 +34764,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_175() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_110() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -34428,7 +34775,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_176() {
+ fn __bindgen_test_layout_RefPtr_instantiation_111() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34439,7 +34786,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_177() {
+ fn __bindgen_test_layout_nsTArray_instantiation_112() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34452,7 +34799,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_178() {
+ fn __bindgen_test_layout_Handle_instantiation_113() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34463,7 +34810,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_179() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_114() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34474,7 +34821,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_180() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_115() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsISMILAttr>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34485,7 +34832,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsISMILAttr> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_181() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_116() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34496,7 +34843,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_182() {
+ fn __bindgen_test_layout_nsTArray_instantiation_117() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34507,7 +34854,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_183() {
+ fn __bindgen_test_layout_Handle_instantiation_118() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34518,7 +34865,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_184() {
+ fn __bindgen_test_layout_Handle_instantiation_119() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34529,7 +34876,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_185() {
+ fn __bindgen_test_layout_Handle_instantiation_120() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34540,7 +34887,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_186() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_121() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34553,7 +34900,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsDataHashtable_instantiation_187() {
+ fn __bindgen_test_layout_nsDataHashtable_instantiation_122() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -34564,7 +34911,7 @@ pub mod root {
[u64; 5usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_188() {
+ fn __bindgen_test_layout_Handle_instantiation_123() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34575,7 +34922,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_189() {
+ fn __bindgen_test_layout_nsTArray_instantiation_124() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34586,7 +34933,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_190() {
+ fn __bindgen_test_layout_nsTArray_instantiation_125() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34597,7 +34944,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_191() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_126() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34608,7 +34955,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_192() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_127() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34619,7 +34966,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_SupportsWeakPtr_instantiation_193() {
+ fn __bindgen_test_layout_SupportsWeakPtr_instantiation_128() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -34628,7 +34975,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_194() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_129() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34639,7 +34986,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_195() {
+ fn __bindgen_test_layout_nsTArray_instantiation_130() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsRect>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34650,7 +34997,7 @@ pub mod root {
root::nsTArray<root::nsRect> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_196() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_131() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsITimer>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34661,7 +35008,7 @@ pub mod root {
root::already_AddRefed<root::nsITimer> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_197() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_132() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34672,7 +35019,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_198() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_133() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34683,7 +35030,7 @@ pub mod root {
root::nsRefPtrHashKey<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_199() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_134() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -34694,7 +35041,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_200() {
+ fn __bindgen_test_layout_nsTArray_instantiation_135() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34705,7 +35052,7 @@ pub mod root {
root::nsTArray<root::nsCOMPtr> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_201() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_136() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34716,7 +35063,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_202() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_137() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34727,7 +35074,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_203() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_138() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34738,7 +35085,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_204() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_139() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34749,7 +35096,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_205() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_140() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34760,7 +35107,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_206() {
+ fn __bindgen_test_layout_Handle_instantiation_141() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34771,7 +35118,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_207() {
+ fn __bindgen_test_layout_Handle_instantiation_142() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34782,7 +35129,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_208() {
+ fn __bindgen_test_layout_Handle_instantiation_143() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34793,7 +35140,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsPIDOMWindow_instantiation_209() {
+ fn __bindgen_test_layout_nsPIDOMWindow_instantiation_144() {
assert_eq!(::std::mem::size_of::<[u64; 28usize]>() , 224usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -34804,7 +35151,7 @@ pub mod root {
[u64; 28usize] ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_210() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_145() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34815,7 +35162,7 @@ pub mod root {
root::already_AddRefed<root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_211() {
+ fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_146() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -34826,7 +35173,7 @@ pub mod root {
[u64; 5usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_212() {
+ fn __bindgen_test_layout_Handle_instantiation_147() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34837,7 +35184,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_213() {
+ fn __bindgen_test_layout_nsTArray_instantiation_148() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34848,7 +35195,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_214() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_149() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34859,7 +35206,7 @@ pub mod root {
root::already_AddRefed<root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_215() {
+ fn __bindgen_test_layout_RefPtr_instantiation_150() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34870,7 +35217,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_216() {
+ fn __bindgen_test_layout_nsTArray_instantiation_151() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34883,7 +35230,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_217() {
+ fn __bindgen_test_layout_RefPtr_instantiation_152() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34894,7 +35241,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_218() {
+ fn __bindgen_test_layout_nsTArray_instantiation_153() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34907,7 +35254,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_WeakPtr_instantiation_219() {
+ fn __bindgen_test_layout_WeakPtr_instantiation_154() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -34916,7 +35263,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_nsPtrHashKey_instantiation_220() {
+ fn __bindgen_test_layout_nsPtrHashKey_instantiation_155() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::WeakFrame>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34927,7 +35274,7 @@ pub mod root {
root::nsPtrHashKey<root::WeakFrame> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_221() {
+ fn __bindgen_test_layout_Handle_instantiation_156() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34938,7 +35285,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_OwningNonNull_instantiation_222() {
+ fn __bindgen_test_layout_OwningNonNull_instantiation_157() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34949,7 +35296,7 @@ pub mod root {
root::mozilla::OwningNonNull<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_OwningNonNull_instantiation_223() {
+ fn __bindgen_test_layout_OwningNonNull_instantiation_158() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34960,7 +35307,7 @@ pub mod root {
root::mozilla::OwningNonNull<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_OwningNonNull_instantiation_224() {
+ fn __bindgen_test_layout_OwningNonNull_instantiation_159() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34971,7 +35318,7 @@ pub mod root {
root::mozilla::OwningNonNull<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_225() {
+ fn __bindgen_test_layout_Handle_instantiation_160() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34982,7 +35329,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_226() {
+ fn __bindgen_test_layout_Handle_instantiation_161() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34993,7 +35340,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_227() {
+ fn __bindgen_test_layout_Handle_instantiation_162() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35004,7 +35351,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_228() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_163() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35015,7 +35362,106 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_229() {
+ fn __bindgen_test_layout_Handle_instantiation_164() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_MutableHandle_instantiation_165() {
+ assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::PropertyDescriptor>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::MutableHandle<root::JS::PropertyDescriptor> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::PropertyDescriptor>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::MutableHandle<root::JS::PropertyDescriptor> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_166() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<root::jsid>>() ,
+ 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<root::jsid> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_MutableHandle_instantiation_167() {
+ assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::PropertyDescriptor>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::MutableHandle<root::JS::PropertyDescriptor> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::PropertyDescriptor>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::MutableHandle<root::JS::PropertyDescriptor> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_168() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_169() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_Handle_instantiation_170() {
+ assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::Handle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::Handle<*mut root::JSObject> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_MutableHandle_instantiation_171() {
+ assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::MutableHandle<*mut root::JSObject> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<*mut root::JSObject>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::MutableHandle<*mut root::JSObject> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_RefPtr_instantiation_172() {
+ assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::XBLChildrenElement>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::RefPtr<root::mozilla::dom::XBLChildrenElement> ) ));
+ assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::XBLChildrenElement>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::RefPtr<root::mozilla::dom::XBLChildrenElement> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_173() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35026,7 +35472,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_nsPtrHashKey_instantiation_230() {
+ fn __bindgen_test_layout_nsPtrHashKey_instantiation_174() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<::std::os::raw::c_void>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35037,7 +35483,7 @@ pub mod root {
root::nsPtrHashKey<::std::os::raw::c_void> ) ));
}
#[test]
- fn __bindgen_test_layout_PointTyped_instantiation_231() {
+ fn __bindgen_test_layout_PointTyped_instantiation_175() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35048,7 +35494,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntPointTyped_instantiation_232() {
+ fn __bindgen_test_layout_IntPointTyped_instantiation_176() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35059,7 +35505,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_SizeTyped_instantiation_233() {
+ fn __bindgen_test_layout_SizeTyped_instantiation_177() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35070,7 +35516,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_RectTyped_instantiation_234() {
+ fn __bindgen_test_layout_RectTyped_instantiation_178() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35081,7 +35527,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntPointTyped_instantiation_235() {
+ fn __bindgen_test_layout_IntPointTyped_instantiation_179() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35092,7 +35538,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntSizeTyped_instantiation_236() {
+ fn __bindgen_test_layout_IntSizeTyped_instantiation_180() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35103,7 +35549,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntRectTyped_instantiation_237() {
+ fn __bindgen_test_layout_IntRectTyped_instantiation_181() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35114,7 +35560,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_MarginTyped_instantiation_238() {
+ fn __bindgen_test_layout_MarginTyped_instantiation_182() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35125,7 +35571,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_RectTyped_instantiation_239() {
+ fn __bindgen_test_layout_RectTyped_instantiation_183() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35136,7 +35582,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_IntRectTyped_instantiation_240() {
+ fn __bindgen_test_layout_IntRectTyped_instantiation_184() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35147,7 +35593,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_ScaleFactor_instantiation_241() {
+ fn __bindgen_test_layout_ScaleFactor_instantiation_185() {
assert_eq!(::std::mem::size_of::<u32>() , 4usize , concat ! (
"Size of template specialization: " , stringify ! ( u32 )
));
@@ -35156,7 +35602,7 @@ pub mod root {
u32 ) ));
}
#[test]
- fn __bindgen_test_layout_ScaleFactors2D_instantiation_242() {
+ fn __bindgen_test_layout_ScaleFactors2D_instantiation_186() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35167,7 +35613,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_ScaleFactors2D_instantiation_243() {
+ fn __bindgen_test_layout_ScaleFactors2D_instantiation_187() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35178,7 +35624,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_ScaleFactors2D_instantiation_244() {
+ fn __bindgen_test_layout_ScaleFactors2D_instantiation_188() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35189,7 +35635,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_245() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_189() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35200,7 +35646,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_246() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_190() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35211,7 +35657,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_247() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_191() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35222,7 +35668,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_248() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_192() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35233,7 +35679,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_249() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_193() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35244,7 +35690,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_nsPIDOMWindow_instantiation_250() {
+ fn __bindgen_test_layout_nsPIDOMWindow_instantiation_194() {
assert_eq!(::std::mem::size_of::<[u64; 28usize]>() , 224usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -35255,7 +35701,7 @@ pub mod root {
[u64; 28usize] ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_251() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_195() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35266,7 +35712,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_252() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_196() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35277,7 +35723,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_253() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_197() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35288,7 +35734,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::CSSValue> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_254() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_198() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35299,7 +35745,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_255() {
+ fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_199() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35310,7 +35756,7 @@ pub mod root {
[u64; 5usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Rooted_instantiation_256() {
+ fn __bindgen_test_layout_Rooted_instantiation_200() {
assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35321,7 +35767,7 @@ pub mod root {
[u64; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Rooted_instantiation_257() {
+ fn __bindgen_test_layout_Rooted_instantiation_201() {
assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35332,7 +35778,7 @@ pub mod root {
[u64; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_258() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_202() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsISupports>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35343,7 +35789,7 @@ pub mod root {
root::already_AddRefed<root::nsISupports> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_259() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_203() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35354,7 +35800,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_260() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_204() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35365,7 +35811,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_261() {
+ fn __bindgen_test_layout_nsTArray_instantiation_205() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35376,7 +35822,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_262() {
+ fn __bindgen_test_layout_Handle_instantiation_206() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35387,7 +35833,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_263() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_207() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35398,7 +35844,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_264() {
+ fn __bindgen_test_layout_Handle_instantiation_208() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35409,7 +35855,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_265() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_209() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35420,7 +35866,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_266() {
+ fn __bindgen_test_layout_nsTArray_instantiation_210() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35431,7 +35877,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_267() {
+ fn __bindgen_test_layout_Handle_instantiation_211() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35442,7 +35888,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_268() {
+ fn __bindgen_test_layout_RefPtr_instantiation_212() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35453,7 +35899,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_269() {
+ fn __bindgen_test_layout_RefPtr_instantiation_213() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35464,7 +35910,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_270() {
+ fn __bindgen_test_layout_RefPtr_instantiation_214() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35475,7 +35921,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_271() {
+ fn __bindgen_test_layout_nsTArray_instantiation_215() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35488,7 +35934,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_272() {
+ fn __bindgen_test_layout_RefPtr_instantiation_216() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35499,7 +35945,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_273() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_217() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35510,7 +35956,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_274() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_218() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35521,7 +35967,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_275() {
+ fn __bindgen_test_layout_Handle_instantiation_219() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35532,7 +35978,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_276() {
+ fn __bindgen_test_layout_nsTArray_instantiation_220() {
assert_eq!(::std::mem::size_of::<root::nsTArray<f64>>() , 8usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -35543,7 +35989,7 @@ pub mod root {
root::nsTArray<f64> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_277() {
+ fn __bindgen_test_layout_RefPtr_instantiation_221() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35556,7 +36002,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_278() {
+ fn __bindgen_test_layout_nsTArray_instantiation_222() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35569,7 +36015,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsPtrHashKey_instantiation_279() {
+ fn __bindgen_test_layout_nsPtrHashKey_instantiation_223() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::mozilla::dom::Element>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35580,7 +36026,7 @@ pub mod root {
root::nsPtrHashKey<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_280() {
+ fn __bindgen_test_layout_RefPtr_instantiation_224() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35593,7 +36039,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_281() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_225() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::ProfilerBacktrace>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35604,7 +36050,7 @@ pub mod root {
root::mozilla::UniquePtr<root::ProfilerBacktrace> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_282() {
+ fn __bindgen_test_layout_nsTArray_instantiation_226() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35615,7 +36061,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_283() {
+ fn __bindgen_test_layout_Handle_instantiation_227() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35626,7 +36072,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_284() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_228() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35637,7 +36083,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_285() {
+ fn __bindgen_test_layout_Handle_instantiation_229() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35648,7 +36094,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_286() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_230() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35659,7 +36105,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_287() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_231() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35670,7 +36116,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsDataHashtable_instantiation_288() {
+ fn __bindgen_test_layout_nsDataHashtable_instantiation_232() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35681,7 +36127,7 @@ pub mod root {
[u64; 5usize] ) ));
}
#[test]
- fn __bindgen_test_layout_OwningNonNull_instantiation_289() {
+ fn __bindgen_test_layout_OwningNonNull_instantiation_233() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35694,7 +36140,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_290() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_234() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35705,7 +36151,7 @@ pub mod root {
root::nsRefPtrHashKey<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_291() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_235() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIContent>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35716,7 +36162,7 @@ pub mod root {
root::nsRefPtrHashKey<root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_292() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_236() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35727,7 +36173,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_293() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_237() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35738,7 +36184,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_294() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_238() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35749,7 +36195,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::URLExtraData> ) ));
}
#[test]
- fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_295() {
+ fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_239() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>()
, 32usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35760,7 +36206,7 @@ pub mod root {
root::nsMainThreadPtrHolder<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_296() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_240() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35771,7 +36217,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::URLExtraData> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_297() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_241() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35782,7 +36228,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_298() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_242() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35793,7 +36239,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_299() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_243() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35804,7 +36250,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::URLExtraData> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_300() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_244() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35815,7 +36261,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::URLExtraData> ) ));
}
#[test]
- fn __bindgen_test_layout_nsPtrHashKey_instantiation_301() {
+ fn __bindgen_test_layout_nsPtrHashKey_instantiation_245() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::nsIDocument>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35826,7 +36272,7 @@ pub mod root {
root::nsPtrHashKey<root::nsIDocument> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_302() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_246() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35837,7 +36283,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_303() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_247() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35848,7 +36294,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_304() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_248() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35859,7 +36305,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsCSSValueList> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_305() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_249() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35870,7 +36316,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_306() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_250() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35881,7 +36327,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsCSSValuePairList> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_307() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_251() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35892,7 +36338,7 @@ pub mod root {
root::already_AddRefed<root::nsStringBuffer> ) ));
}
#[test]
- fn __bindgen_test_layout_SupportsWeakPtr_instantiation_308() {
+ fn __bindgen_test_layout_SupportsWeakPtr_instantiation_252() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -35901,7 +36347,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_309() {
+ fn __bindgen_test_layout_nsTArray_instantiation_253() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35912,7 +36358,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_310() {
+ fn __bindgen_test_layout_nsTArray_instantiation_254() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35923,7 +36369,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_311() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_255() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35934,7 +36380,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_312() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_256() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35945,7 +36391,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_313() {
+ fn __bindgen_test_layout_Maybe_instantiation_257() {
assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35956,7 +36402,7 @@ pub mod root {
[u32; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_314() {
+ fn __bindgen_test_layout_Maybe_instantiation_258() {
assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -35967,7 +36413,7 @@ pub mod root {
[u32; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_315() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_259() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStyleImageRequest>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35978,7 +36424,7 @@ pub mod root {
root::already_AddRefed<root::nsStyleImageRequest> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_316() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_260() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35989,7 +36435,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_317() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_261() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36000,7 +36446,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_318() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_262() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36011,7 +36457,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsStyleSides> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_319() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_263() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36022,7 +36468,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_320() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_264() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36033,7 +36479,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsStyleSides> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_321() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_265() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36044,7 +36490,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_322() {
+ fn __bindgen_test_layout_Maybe_instantiation_266() {
assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -36055,7 +36501,7 @@ pub mod root {
[u32; 3usize] ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_323() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_267() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36066,7 +36512,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_324() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_268() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36077,7 +36523,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_pair_instantiation_325() {
+ fn __bindgen_test_layout_pair_instantiation_269() {
assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>()
, 32usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36088,7 +36534,7 @@ pub mod root {
root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_326() {
+ fn __bindgen_test_layout_nsTArray_instantiation_270() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr,
::nsstring::nsStringRepr>>>()
, 8usize , concat ! (
@@ -36103,7 +36549,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_327() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_271() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36114,7 +36560,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_328() {
+ fn __bindgen_test_layout_nsTArray_instantiation_272() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36125,7 +36571,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_329() {
+ fn __bindgen_test_layout_nsTArray_instantiation_273() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleCoord>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36136,7 +36582,7 @@ pub mod root {
root::nsTArray<root::nsStyleCoord> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_330() {
+ fn __bindgen_test_layout_nsTArray_instantiation_274() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleCoord>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36147,7 +36593,7 @@ pub mod root {
root::nsTArray<root::nsStyleCoord> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_331() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_275() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -36158,7 +36604,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_nsStyleAutoArray_instantiation_332() {
+ fn __bindgen_test_layout_nsStyleAutoArray_instantiation_276() {
assert_eq!(::std::mem::size_of::<root::nsStyleAutoArray<root::mozilla::StyleAnimation>>()
, 64usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36169,7 +36615,7 @@ pub mod root {
root::nsStyleAutoArray<root::mozilla::StyleAnimation> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_333() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_277() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36180,7 +36626,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_334() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_278() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36191,7 +36637,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsCSSValueList> ) ));
}
#[test]
- fn __bindgen_test_layout_DefaultDelete_instantiation_335() {
+ fn __bindgen_test_layout_DefaultDelete_instantiation_279() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36202,7 +36648,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_UniquePtr_instantiation_336() {
+ fn __bindgen_test_layout_UniquePtr_instantiation_280() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36213,7 +36659,7 @@ pub mod root {
root::mozilla::UniquePtr<root::nsCSSValuePairList> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_337() {
+ fn __bindgen_test_layout_RefPtr_instantiation_281() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36224,7 +36670,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_338() {
+ fn __bindgen_test_layout_RefPtr_instantiation_282() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36235,7 +36681,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_NonNull_instantiation_339() {
+ fn __bindgen_test_layout_NonNull_instantiation_283() {
assert_eq!(::std::mem::size_of::<root::mozilla::dom::NonNull<root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36248,7 +36694,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_NonNull_instantiation_340() {
+ fn __bindgen_test_layout_NonNull_instantiation_284() {
assert_eq!(::std::mem::size_of::<root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36261,7 +36707,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_341() {
+ fn __bindgen_test_layout_Handle_instantiation_285() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36272,7 +36718,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_342() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_286() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36283,7 +36729,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_343() {
+ fn __bindgen_test_layout_Maybe_instantiation_287() {
assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -36294,7 +36740,7 @@ pub mod root {
[u64; 18usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Maybe_instantiation_344() {
+ fn __bindgen_test_layout_Maybe_instantiation_288() {
assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -36305,7 +36751,7 @@ pub mod root {
[u64; 18usize] ) ));
}
#[test]
- fn __bindgen_test_layout_BaseTimeDuration_instantiation_345() {
+ fn __bindgen_test_layout_BaseTimeDuration_instantiation_289() {
assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36316,7 +36762,7 @@ pub mod root {
root::mozilla::BaseTimeDuration ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_346() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_290() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36327,7 +36773,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_347() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_291() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36338,7 +36784,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_348() {
+ fn __bindgen_test_layout_nsTArray_instantiation_292() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36349,7 +36795,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_349() {
+ fn __bindgen_test_layout_nsTArray_instantiation_293() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36360,7 +36806,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsCOMPtr_instantiation_350() {
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_294() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -36371,7 +36817,7 @@ pub mod root {
root::nsCOMPtr ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_351() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_295() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36384,7 +36830,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_352() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_296() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36395,7 +36841,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_353() {
+ fn __bindgen_test_layout_nsTArray_instantiation_297() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36408,7 +36854,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_354() {
+ fn __bindgen_test_layout_Handle_instantiation_298() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36419,7 +36865,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_355() {
+ fn __bindgen_test_layout_Handle_instantiation_299() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36430,7 +36876,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_RefPtr_instantiation_356() {
+ fn __bindgen_test_layout_RefPtr_instantiation_300() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMRect>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36441,7 +36887,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::DOMRect> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_357() {
+ fn __bindgen_test_layout_Handle_instantiation_301() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36452,7 +36898,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_358() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_302() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36463,7 +36909,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Sequence_instantiation_359() {
+ fn __bindgen_test_layout_Sequence_instantiation_303() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -36472,7 +36918,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_360() {
+ fn __bindgen_test_layout_Handle_instantiation_304() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36483,7 +36929,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Sequence_instantiation_361() {
+ fn __bindgen_test_layout_Sequence_instantiation_305() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -36492,7 +36938,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_Sequence_instantiation_362() {
+ fn __bindgen_test_layout_Sequence_instantiation_306() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -36501,7 +36947,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_363() {
+ fn __bindgen_test_layout_Handle_instantiation_307() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36512,7 +36958,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_364() {
+ fn __bindgen_test_layout_Handle_instantiation_308() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36523,7 +36969,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_365() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_309() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36534,7 +36980,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_366() {
+ fn __bindgen_test_layout_Handle_instantiation_310() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36545,7 +36991,7 @@ pub mod root {
root::JS::Handle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_MutableHandle_instantiation_367() {
+ fn __bindgen_test_layout_MutableHandle_instantiation_311() {
assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36556,7 +37002,7 @@ pub mod root {
root::JS::MutableHandle<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_368() {
+ fn __bindgen_test_layout_Handle_instantiation_312() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36567,7 +37013,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_369() {
+ fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_313() {
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::Element>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36578,7 +37024,7 @@ pub mod root {
root::nsRefPtrHashKey<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_nsClassHashtable_instantiation_370() {
+ fn __bindgen_test_layout_nsClassHashtable_instantiation_314() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -36589,7 +37035,7 @@ pub mod root {
[u64; 5usize] ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_371() {
+ fn __bindgen_test_layout_Handle_instantiation_315() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36600,7 +37046,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_372() {
+ fn __bindgen_test_layout_nsTArray_instantiation_316() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36611,7 +37057,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_already_AddRefed_instantiation_373() {
+ fn __bindgen_test_layout_already_AddRefed_instantiation_317() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36622,7 +37068,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::CSSValue> ) ));
}
#[test]
- fn __bindgen_test_layout_Handle_instantiation_374() {
+ fn __bindgen_test_layout_Handle_instantiation_318() {
assert_eq!(::std::mem::size_of::<root::JS::Handle<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36633,7 +37079,7 @@ pub mod root {
root::JS::Handle<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_instantiation_375() {
+ fn __bindgen_test_layout_nsTArray_instantiation_319() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36644,7 +37090,7 @@ pub mod root {
root::nsTArray<*mut root::mozilla::css::DocumentRule> ) ));
}
#[test]
- fn __bindgen_test_layout_nsAutoPtr_instantiation_376() {
+ fn __bindgen_test_layout_nsAutoPtr_instantiation_320() {
assert_eq!(::std::mem::size_of::<root::nsAutoPtr<root::nsMediaQuery>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36654,4 +37100,15 @@ pub mod root {
"Alignment of template specialization: " , stringify ! (
root::nsAutoPtr<root::nsMediaQuery> ) ));
}
+ #[test]
+ fn __bindgen_test_layout_nsCOMPtr_instantiation_321() {
+ assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
+ (
+ "Size of template specialization: " , stringify ! (
+ root::nsCOMPtr ) ));
+ assert_eq!(::std::mem::align_of::<root::nsCOMPtr>() , 8usize , concat
+ ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::nsCOMPtr ) ));
+ }
}
diff --git a/components/style/gecko/wrapper.rs b/components/style/gecko/wrapper.rs
index cc4411ffaf5..ba346d671c7 100644
--- a/components/style/gecko/wrapper.rs
+++ b/components/style/gecko/wrapper.rs
@@ -23,6 +23,7 @@ use dom::{OpaqueNode, PresentationalHintsSynthesizer};
use element_state::ElementState;
use error_reporting::RustLogReporter;
use font_metrics::{FontMetrics, FontMetricsProvider, FontMetricsQueryResult};
+use gecko::data::PerDocumentStyleData;
use gecko::global_style_data::GLOBAL_STYLE_DATA;
use gecko::selector_parser::{SelectorImpl, NonTSPseudoClass, PseudoElement};
use gecko::snapshot_helpers;
@@ -50,7 +51,7 @@ use gecko_bindings::bindings::Gecko_MatchStringArgPseudo;
use gecko_bindings::bindings::Gecko_UnsetDirtyStyleAttr;
use gecko_bindings::bindings::Gecko_UpdateAnimations;
use gecko_bindings::structs;
-use gecko_bindings::structs::{RawGeckoElement, RawGeckoNode};
+use gecko_bindings::structs::{RawGeckoElement, RawGeckoNode, RawGeckoXBLBinding};
use gecko_bindings::structs::{nsIAtom, nsIContent, nsINode_BooleanFlag, nsStyleContext};
use gecko_bindings::structs::ELEMENT_HANDLED_SNAPSHOT;
use gecko_bindings::structs::ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO;
@@ -59,7 +60,7 @@ use gecko_bindings::structs::ELEMENT_HAS_SNAPSHOT;
use gecko_bindings::structs::EffectCompositor_CascadeLevel as CascadeLevel;
use gecko_bindings::structs::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
use gecko_bindings::structs::NODE_IS_NATIVE_ANONYMOUS;
-use gecko_bindings::sugar::ownership::HasArcFFI;
+use gecko_bindings::sugar::ownership::{HasArcFFI, HasSimpleFFI};
use logical_geometry::WritingMode;
use media_queries::Device;
use properties::{ComputedValues, parse_style_attribute};
@@ -74,6 +75,7 @@ use selectors::matching::{ElementSelectorFlags, MatchingContext, MatchingMode};
use selectors::matching::{RelevantLinkStatus, VisitedHandlingMode};
use shared_lock::Locked;
use sink::Push;
+use smallvec::VecLike;
use std::cell::RefCell;
use std::collections::HashMap;
use std::fmt;
@@ -202,6 +204,12 @@ impl<'ln> GeckoNode<'ln> {
true
}
+ /// This logic is duplicated in Gecko's nsIContent::IsRootOfNativeAnonymousSubtree.
+ fn is_root_of_native_anonymous_subtree(&self) -> bool {
+ use gecko_bindings::structs::NODE_IS_NATIVE_ANONYMOUS_ROOT;
+ return self.flags() & (NODE_IS_NATIVE_ANONYMOUS_ROOT as u32) != 0
+ }
+
fn contains_non_whitespace_content(&self) -> bool {
unsafe { Gecko_IsSignificantChild(self.0, true, false) }
}
@@ -341,6 +349,37 @@ impl<'a> Iterator for GeckoChildrenIterator<'a> {
}
}
+/// A Simple wrapper over a non-null Gecko `nsXBLBinding` pointer.
+pub struct GeckoXBLBinding<'lb>(pub &'lb RawGeckoXBLBinding);
+
+impl<'lb> GeckoXBLBinding<'lb> {
+ fn base_binding(&self) -> Option<GeckoXBLBinding> {
+ unsafe { self.0.mNextBinding.mRawPtr.as_ref().map(GeckoXBLBinding) }
+ }
+
+ fn inherits_style(&self) -> bool {
+ unsafe { bindings::Gecko_XBLBinding_InheritsStyle(self.0) }
+ }
+
+ // Implements Gecko's nsXBLBinding::WalkRules().
+ fn get_declarations_for<E, V>(&self,
+ element: &E,
+ applicable_declarations: &mut V)
+ where E: TElement,
+ V: Push<ApplicableDeclarationBlock> + VecLike<ApplicableDeclarationBlock> {
+ if let Some(base_binding) = self.base_binding() {
+ base_binding.get_declarations_for(element, applicable_declarations);
+ }
+
+ let raw_data = unsafe { bindings::Gecko_XBLBinding_GetRawServoStyleSet(self.0) };
+ if let Some(raw_data) = raw_data {
+ let data = PerDocumentStyleData::from_ffi(&*raw_data).borrow();
+ data.stylist.push_applicable_declarations_as_xbl_only_stylist(element,
+ applicable_declarations);
+ }
+ }
+}
+
/// A simple wrapper over a non-null Gecko `Element` pointer.
#[derive(Clone, Copy)]
pub struct GeckoElement<'le>(pub &'le RawGeckoElement);
@@ -394,6 +433,14 @@ impl<'le> GeckoElement<'le> {
unsafe { slots.as_ref() }
}
+ fn get_xbl_binding(&self) -> Option<GeckoXBLBinding> {
+ unsafe { bindings::Gecko_GetXBLBinding(self.0).map(GeckoXBLBinding) }
+ }
+
+ fn get_xbl_binding_parent(&self) -> Option<Self> {
+ unsafe { bindings::Gecko_GetBindingParent(self.0).map(GeckoElement) }
+ }
+
/// Clear the element data for a given element.
pub fn clear_data(&self) {
let ptr = self.0.mServoData.get();
@@ -857,6 +904,43 @@ impl<'le> TElement for GeckoElement<'le> {
self.may_have_animations() && unsafe { Gecko_ElementHasCSSTransitions(self.0) }
}
+ // Implements Gecko's nsBindingManager::WalkRules(). Returns whether to cut off the
+ // inheritance.
+ fn get_declarations_from_xbl_bindings<V>(&self,
+ applicable_declarations: &mut V)
+ -> bool
+ where V: Push<ApplicableDeclarationBlock> + VecLike<ApplicableDeclarationBlock> {
+ // Walk the binding scope chain, starting with the binding attached to our content, up
+ // till we run out of scopes or we get cut off.
+ let mut current = Some(*self);
+
+ while let Some(element) = current {
+ if let Some(binding) = element.get_xbl_binding() {
+ binding.get_declarations_for(self, applicable_declarations);
+
+ // If we're not looking at our original element, allow the binding to cut off
+ // style inheritance.
+ if element != *self {
+ if !binding.inherits_style() {
+ // Go no further; we're not inheriting style from anything above here.
+ break;
+ }
+ }
+ }
+
+ if element.as_node().is_root_of_native_anonymous_subtree() {
+ // Deliberately cut off style inheritance here.
+ break;
+ }
+
+ current = element.get_xbl_binding_parent();
+ }
+
+ // If current has something, this means we cut off inheritance at some point in the
+ // loop.
+ current.is_some()
+ }
+
fn get_css_transitions_info(&self)
-> HashMap<TransitionProperty, Arc<AnimationValue>> {
use gecko_bindings::bindings::Gecko_ElementTransitions_EndValueAt;
diff --git a/components/style/rule_tree/mod.rs b/components/style/rule_tree/mod.rs
index c51f6f94ff7..be563d2230d 100644
--- a/components/style/rule_tree/mod.rs
+++ b/components/style/rule_tree/mod.rs
@@ -406,6 +406,8 @@ pub enum CascadeLevel {
PresHints,
/// User normal rules.
UserNormal,
+ /// XBL <stylesheet> rules.
+ XBL,
/// Author normal rules.
AuthorNormal,
/// Style attribute normal rules.
@@ -1048,7 +1050,8 @@ impl StrongRuleNode {
CascadeLevel::UANormal |
CascadeLevel::UAImportant |
CascadeLevel::UserNormal |
- CascadeLevel::UserImportant => {
+ CascadeLevel::UserImportant |
+ CascadeLevel::XBL => {
for (id, declaration) in longhands {
if properties.contains(id) {
// This property was set by a non-author rule.
diff --git a/components/style/stylist.rs b/components/style/stylist.rs
index 43b29c0275d..8844216e7fd 100644
--- a/components/style/stylist.rs
+++ b/components/style/stylist.rs
@@ -917,6 +917,26 @@ impl Stylist {
self.quirks_mode = quirks_mode;
}
+ /// Returns the applicable CSS declarations for the given element by
+ /// treating us as an XBL stylesheet-only stylist.
+ pub fn push_applicable_declarations_as_xbl_only_stylist<E, V>(&self,
+ element: &E,
+ applicable_declarations: &mut V)
+ where E: TElement,
+ V: Push<ApplicableDeclarationBlock> + VecLike<ApplicableDeclarationBlock>,
+ {
+ let mut matching_context =
+ MatchingContext::new(MatchingMode::Normal, None);
+ let mut dummy_flag_setter = |_: &E, _: ElementSelectorFlags| {};
+
+ self.element_map.author.get_all_matching_rules(element,
+ element,
+ applicable_declarations,
+ &mut matching_context,
+ &mut dummy_flag_setter,
+ CascadeLevel::XBL);
+ }
+
/// Returns the applicable CSS declarations for the given element.
///
/// This corresponds to `ElementRuleCollector` in WebKit.
@@ -1019,15 +1039,26 @@ impl Stylist {
debug!("skipping user rules");
}
+ // Step 3b: XBL rules.
+ let cut_off_inheritance =
+ rule_hash_target.get_declarations_from_xbl_bindings(applicable_declarations);
+ debug!("XBL: {:?}", context.relations);
+
if rule_hash_target.matches_user_and_author_rules() && !only_default_rules {
- // Step 3b: Author normal rules.
- map.author.get_all_matching_rules(element,
- &rule_hash_target,
- applicable_declarations,
- context,
- flags_setter,
- CascadeLevel::AuthorNormal);
- debug!("author normal: {:?}", context.relations);
+ // Gecko skips author normal rules if cutting off inheritance.
+ // See nsStyleSet::FileRules().
+ if !cut_off_inheritance {
+ // Step 3c: Author normal rules.
+ map.author.get_all_matching_rules(element,
+ &rule_hash_target,
+ applicable_declarations,
+ context,
+ flags_setter,
+ CascadeLevel::AuthorNormal);
+ debug!("author normal: {:?}", context.relations);
+ } else {
+ debug!("Skipping author normal rules due to cut off inheritance");
+ }
// Step 4: Normal style attributes.
if let Some(sa) = style_attribute {