author | Cameron McCormack <cam@mcc.id.au> |
Mon, 05 Jun 2017 22:09:56 -0700 | |
changeset 410594 | 71fbf74857a39bdf2565ce466b5d254bd8199c8e |
parent 410593 | dc53ed710486d80d6d3029d0b51440982bab2e43 |
child 410595 | ce1f1e2027ef040d0ae0f7540392d453f6515f95 |
push id | 7391 |
push user | mtabara@mozilla.com |
push date | Mon, 12 Jun 2017 13:08:53 +0000 |
treeherder | mozilla-beta@2191d7f87e2e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | emilio |
milestone | 55.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/servo/components/style/gecko/generated/atom_macro.rs +++ b/servo/components/style/gecko/generated/atom_macro.rs @@ -781,16 +781,18 @@ cfg_if! { #[link_name = "_ZN9nsGkAtoms6_falseE"] pub static nsGkAtoms__false: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms8farthestE"] pub static nsGkAtoms_farthest: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms5fieldE"] pub static nsGkAtoms_field: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms8fieldsetE"] pub static nsGkAtoms_fieldset: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms4fileE"] + pub static nsGkAtoms_file: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms10figcaptionE"] pub static nsGkAtoms_figcaption: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms6figureE"] pub static nsGkAtoms_figure: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms5fixedE"] pub static nsGkAtoms_fixed: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms5flagsE"] pub static nsGkAtoms_flags: *mut nsIAtom; @@ -3933,16 +3935,24 @@ cfg_if! { #[link_name = "_ZN9nsGkAtoms15onuserproximityE"] pub static nsGkAtoms_onuserproximity: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms13ondevicelightE"] pub static nsGkAtoms_ondevicelight: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms14ondevicechangeE"] pub static nsGkAtoms_ondevicechange: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms33mozinputrangeignorepreventdefaultE"] pub static nsGkAtoms_mozinputrangeignorepreventdefault: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms13moz_extensionE"] + pub static nsGkAtoms_moz_extension: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms18all_urlsPermissionE"] + pub static nsGkAtoms_all_urlsPermission: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms4httpE"] + pub static nsGkAtoms_http: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms5httpsE"] + pub static nsGkAtoms_https: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms12cdataTagNameE"] pub static nsGkAtoms_cdataTagName: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms14commentTagNameE"] pub static nsGkAtoms_commentTagName: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms16documentNodeNameE"] pub static nsGkAtoms_documentNodeName: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms24documentFragmentNodeNameE"] pub static nsGkAtoms_documentFragmentNodeName: *mut nsIAtom; @@ -5804,16 +5814,18 @@ cfg_if! { #[link_name = "?_false@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms__false: *mut nsIAtom; #[link_name = "?farthest@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_farthest: *mut nsIAtom; #[link_name = "?field@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_field: *mut nsIAtom; #[link_name = "?fieldset@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_fieldset: *mut nsIAtom; + #[link_name = "?file@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_file: *mut nsIAtom; #[link_name = "?figcaption@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_figcaption: *mut nsIAtom; #[link_name = "?figure@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_figure: *mut nsIAtom; #[link_name = "?fixed@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_fixed: *mut nsIAtom; #[link_name = "?flags@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_flags: *mut nsIAtom; @@ -8956,16 +8968,24 @@ cfg_if! { #[link_name = "?onuserproximity@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_onuserproximity: *mut nsIAtom; #[link_name = "?ondevicelight@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_ondevicelight: *mut nsIAtom; #[link_name = "?ondevicechange@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_ondevicechange: *mut nsIAtom; #[link_name = "?mozinputrangeignorepreventdefault@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_mozinputrangeignorepreventdefault: *mut nsIAtom; + #[link_name = "?moz_extension@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_moz_extension: *mut nsIAtom; + #[link_name = "?all_urlsPermission@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_all_urlsPermission: *mut nsIAtom; + #[link_name = "?http@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_http: *mut nsIAtom; + #[link_name = "?https@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_https: *mut nsIAtom; #[link_name = "?cdataTagName@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_cdataTagName: *mut nsIAtom; #[link_name = "?commentTagName@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_commentTagName: *mut nsIAtom; #[link_name = "?documentNodeName@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_documentNodeName: *mut nsIAtom; #[link_name = "?documentFragmentNodeName@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_documentFragmentNodeName: *mut nsIAtom; @@ -10827,16 +10847,18 @@ cfg_if! { #[link_name = "\x01?_false@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms__false: *mut nsIAtom; #[link_name = "\x01?farthest@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_farthest: *mut nsIAtom; #[link_name = "\x01?field@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_field: *mut nsIAtom; #[link_name = "\x01?fieldset@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_fieldset: *mut nsIAtom; + #[link_name = "\x01?file@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_file: *mut nsIAtom; #[link_name = "\x01?figcaption@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_figcaption: *mut nsIAtom; #[link_name = "\x01?figure@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_figure: *mut nsIAtom; #[link_name = "\x01?fixed@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_fixed: *mut nsIAtom; #[link_name = "\x01?flags@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_flags: *mut nsIAtom; @@ -13979,16 +14001,24 @@ cfg_if! { #[link_name = "\x01?onuserproximity@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_onuserproximity: *mut nsIAtom; #[link_name = "\x01?ondevicelight@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_ondevicelight: *mut nsIAtom; #[link_name = "\x01?ondevicechange@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_ondevicechange: *mut nsIAtom; #[link_name = "\x01?mozinputrangeignorepreventdefault@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_mozinputrangeignorepreventdefault: *mut nsIAtom; + #[link_name = "\x01?moz_extension@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_moz_extension: *mut nsIAtom; + #[link_name = "\x01?all_urlsPermission@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_all_urlsPermission: *mut nsIAtom; + #[link_name = "\x01?http@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_http: *mut nsIAtom; + #[link_name = "\x01?https@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_https: *mut nsIAtom; #[link_name = "\x01?cdataTagName@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_cdataTagName: *mut nsIAtom; #[link_name = "\x01?commentTagName@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_commentTagName: *mut nsIAtom; #[link_name = "\x01?documentNodeName@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_documentNodeName: *mut nsIAtom; #[link_name = "\x01?documentFragmentNodeName@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_documentFragmentNodeName: *mut nsIAtom; @@ -15853,16 +15883,18 @@ macro_rules! atom { ("false") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__false as *mut _) } }; ("farthest") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_farthest as *mut _) } }; ("field") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_field as *mut _) } }; ("fieldset") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fieldset as *mut _) } }; +("file") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_file as *mut _) } }; ("figcaption") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_figcaption as *mut _) } }; ("figure") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_figure as *mut _) } }; ("fixed") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fixed as *mut _) } }; ("flags") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_flags as *mut _) } }; @@ -19005,16 +19037,24 @@ macro_rules! atom { ("onuserproximity") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onuserproximity as *mut _) } }; ("ondevicelight") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondevicelight as *mut _) } }; ("ondevicechange") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondevicechange as *mut _) } }; ("mozinputrangeignorepreventdefault") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozinputrangeignorepreventdefault as *mut _) } }; +("moz-extension") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_moz_extension as *mut _) } }; +("<all_urls>") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_all_urlsPermission as *mut _) } }; +("http") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_http as *mut _) } }; +("https") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_https as *mut _) } }; ("#cdata-section") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cdataTagName as *mut _) } }; ("#comment") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_commentTagName as *mut _) } }; ("#document") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_documentNodeName as *mut _) } }; ("#document-fragment") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_documentFragmentNodeName as *mut _) } };
--- a/servo/components/style/gecko/generated/structs_debug.rs +++ b/servo/components/style/gecko/generated/structs_debug.rs @@ -970,17 +970,16 @@ pub mod root { pub const NS_STYLE_SCROLL_SNAP_TYPE_PROXIMITY: ::std::os::raw::c_uint = 2; pub const NS_STYLE_ORIENTATION_PORTRAIT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_ORIENTATION_LANDSCAPE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_SCAN_PROGRESSIVE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SCAN_INTERLACE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_DISPLAY_MODE_BROWSER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_DISPLAY_MODE_MINIMAL_UI: ::std::os::raw::c_uint = 1; pub const NS_STYLE_DISPLAY_MODE_STANDALONE: ::std::os::raw::c_uint = 2; - pub const NS_STYLE_DISPLAY_MODE_FULLSCREEN: ::std::os::raw::c_uint = 3; pub const CSS_PSEUDO_ELEMENT_IS_CSS2: ::std::os::raw::c_uint = 1; pub const CSS_PSEUDO_ELEMENT_CONTAINS_ELEMENTS: ::std::os::raw::c_uint = 2; pub const CSS_PSEUDO_ELEMENT_SUPPORTS_STYLE_ATTRIBUTE: ::std::os::raw::c_uint = 4; pub const CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE: ::std::os::raw::c_uint = @@ -1041,29 +1040,16 @@ pub mod root { pub struct pair<_T1, _T2> { pub first: _T1, pub second: _T2, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_T1>>, pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<_T2>>, } pub type pair_first_type<_T1> = _T1; pub type pair_second_type<_T2> = _T2; - pub type pair__EnableB = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct pair__CheckArgs { - pub _address: u8, - } - pub type pair__CheckArgsDep = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct pair__CheckTupleLikeConstructor { - pub _address: u8, - } - pub type pair__CheckTLC = u8; #[repr(C)] #[derive(Debug, Copy)] pub struct input_iterator_tag { pub _address: u8, } #[test] fn bindgen_test_layout_input_iterator_tag() { assert_eq!(::std::mem::size_of::<input_iterator_tag>() , 1usize , @@ -1073,111 +1059,64 @@ pub mod root { , concat ! ( "Alignment of " , stringify ! ( input_iterator_tag ) )); } impl Clone for input_iterator_tag { fn clone(&self) -> Self { *self } } #[repr(C)] - #[derive(Debug, Copy)] - pub struct forward_iterator_tag { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_forward_iterator_tag() { - assert_eq!(::std::mem::size_of::<forward_iterator_tag>() , 1usize - , concat ! ( - "Size of: " , stringify ! ( forward_iterator_tag ) )); - assert_eq! (::std::mem::align_of::<forward_iterator_tag>() , - 1usize , concat ! ( - "Alignment of " , stringify ! ( forward_iterator_tag ) - )); - } - impl Clone for forward_iterator_tag { - fn clone(&self) -> Self { *self } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct bidirectional_iterator_tag { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_bidirectional_iterator_tag() { - assert_eq!(::std::mem::size_of::<bidirectional_iterator_tag>() , - 1usize , concat ! ( - "Size of: " , stringify ! ( bidirectional_iterator_tag - ) )); - assert_eq! (::std::mem::align_of::<bidirectional_iterator_tag>() , - 1usize , concat ! ( - "Alignment of " , stringify ! ( - bidirectional_iterator_tag ) )); - } - impl Clone for bidirectional_iterator_tag { - fn clone(&self) -> Self { *self } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct random_access_iterator_tag { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_random_access_iterator_tag() { - assert_eq!(::std::mem::size_of::<random_access_iterator_tag>() , - 1usize , concat ! ( - "Size of: " , stringify ! ( random_access_iterator_tag - ) )); - assert_eq! (::std::mem::align_of::<random_access_iterator_tag>() , - 1usize , concat ! ( - "Alignment of " , stringify ! ( - random_access_iterator_tag ) )); - } - impl Clone for random_access_iterator_tag { - fn clone(&self) -> Self { *self } - } - #[repr(C)] - pub struct iterator_traits { - pub _address: u8, - } - #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct iterator { 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; - 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_iterator_type<_Iter> = _Iter; + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct __iterator_traits { + pub _address: u8, + } + #[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 type reverse_iterator___traits_type = root::std::iterator_traits; + pub type reverse_iterator_iterator_type<_Iterator> = _Iterator; pub type reverse_iterator_difference_type = - root::std::iterator_traits; - pub type reverse_iterator_reference = root::std::iterator_traits; - pub type reverse_iterator_pointer = root::std::iterator_traits; + 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; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct atomic { } - 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 type __int64_t = ::std::os::raw::c_longlong; - pub type __darwin_off_t = root::__int64_t; + pub mod chrono { + #[allow(unused_imports)] + use self::super::super::super::root; + } + } + 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 mod mozilla { #[allow(unused_imports)] use self::super::super::root; #[repr(C)] #[derive(Debug, Copy)] pub struct fallible_t { pub _address: u8, } @@ -1210,19 +1149,18 @@ pub mod root { root::mozilla::detail::nsStringRepr; pub type nsStringRepr_base_string_type = root::mozilla::detail::nsStringRepr_self_type; pub type nsStringRepr_substring_type = root::nsAString; pub type nsStringRepr_substring_tuple_type = root::nsSubstringTuple; pub type nsStringRepr_string_type = ::nsstring::nsStringRepr; pub type nsStringRepr_const_iterator = - root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type>; - pub type nsStringRepr_iterator = - root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type>; + root::nsReadingIterator<u16>; + pub type nsStringRepr_iterator = root::nsWritingIterator<u16>; pub type nsStringRepr_comparator_type = root::nsStringComparator; pub type nsStringRepr_char_iterator = *mut root::mozilla::detail::nsStringRepr_char_type; pub type nsStringRepr_const_char_iterator = *const root::mozilla::detail::nsStringRepr_char_type; pub type nsStringRepr_index_type = u32; pub type nsStringRepr_size_type = u32; pub const nsStringRepr_F_NONE: @@ -1302,19 +1240,19 @@ pub mod root { root::mozilla::detail::nsCStringRepr; pub type nsCStringRepr_base_string_type = root::mozilla::detail::nsCStringRepr_self_type; pub type nsCStringRepr_substring_type = root::nsACString; pub type nsCStringRepr_substring_tuple_type = root::nsCSubstringTuple; pub type nsCStringRepr_string_type = root::nsCString; pub type nsCStringRepr_const_iterator = - root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type>; + root::nsReadingIterator<::std::os::raw::c_char>; pub type nsCStringRepr_iterator = - root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type>; + root::nsWritingIterator<::std::os::raw::c_char>; pub type nsCStringRepr_comparator_type = root::nsCStringComparator; pub type nsCStringRepr_char_iterator = *mut root::mozilla::detail::nsCStringRepr_char_type; pub type nsCStringRepr_const_char_iterator = *const root::mozilla::detail::nsCStringRepr_char_type; pub type nsCStringRepr_index_type = u32; pub type nsCStringRepr_size_type = u32; @@ -1452,26 +1390,26 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct WeakReference { } #[repr(C)] #[derive(Debug)] pub struct MutexImpl { - pub platformData_: [*mut ::std::os::raw::c_void; 8usize], + pub platformData_: [*mut ::std::os::raw::c_void; 5usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct MutexImpl_PlatformData { _unused: [u8; 0], } #[test] fn bindgen_test_layout_MutexImpl() { - assert_eq!(::std::mem::size_of::<MutexImpl>() , 64usize , + assert_eq!(::std::mem::size_of::<MutexImpl>() , 40usize , concat ! ( "Size of: " , stringify ! ( MutexImpl ) )); assert_eq! (::std::mem::align_of::<MutexImpl>() , 8usize , concat ! ( "Alignment of " , stringify ! ( MutexImpl ) )); assert_eq! (unsafe { & ( * ( 0 as * const MutexImpl ) ) . platformData_ as * const _ as usize } , 0usize , concat ! ( @@ -2291,17 +2229,17 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct DocumentRule { _unused: [u8; 0], } } #[repr(C)] - #[derive(Debug, Copy)] + #[derive(Debug)] pub struct ThreadSafeAutoRefCnt { pub mValue: u64, } pub const ThreadSafeAutoRefCnt_isThreadSafe: bool = true; #[test] fn bindgen_test_layout_ThreadSafeAutoRefCnt() { assert_eq!(::std::mem::size_of::<ThreadSafeAutoRefCnt>() , 8usize , concat ! ( @@ -2312,19 +2250,16 @@ pub mod root { )); assert_eq! (unsafe { & ( * ( 0 as * const ThreadSafeAutoRefCnt ) ) . mValue as * const _ as usize } , 0usize , concat ! ( "Alignment of field: " , stringify ! ( ThreadSafeAutoRefCnt ) , "::" , stringify ! ( mValue ) )); } - impl Clone for ThreadSafeAutoRefCnt { - fn clone(&self) -> Self { *self } - } #[repr(C)] #[derive(Debug)] pub struct OwningNonNull<T> { pub mPtr: root::RefPtr<T>, pub mInited: bool, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>, } #[repr(C)] @@ -8299,25 +8234,25 @@ pub mod root { #[derive(Debug)] pub struct OffTheBooksMutex { pub _base: root::mozilla::detail::MutexImpl, pub _base_1: root::mozilla::BlockingResourceBase, pub mOwningThread: *mut root::PRThread, } #[test] fn bindgen_test_layout_OffTheBooksMutex() { - assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 96usize , + assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 72usize , concat ! ( "Size of: " , stringify ! ( OffTheBooksMutex ) )); assert_eq! (::std::mem::align_of::<OffTheBooksMutex>() , 8usize , concat ! ( "Alignment of " , stringify ! ( OffTheBooksMutex ) )); assert_eq! (unsafe { & ( * ( 0 as * const OffTheBooksMutex ) ) . - mOwningThread as * const _ as usize } , 88usize , + mOwningThread as * const _ as usize } , 64usize , concat ! ( "Alignment of field: " , stringify ! ( OffTheBooksMutex ) , "::" , stringify ! ( mOwningThread ) )); } /** * Mutex * When possible, use MutexAutoLock/MutexAutoUnlock to lock/unlock this @@ -8325,17 +8260,17 @@ pub mod root { */ #[repr(C)] #[derive(Debug)] pub struct Mutex { pub _base: root::mozilla::OffTheBooksMutex, } #[test] fn bindgen_test_layout_Mutex() { - assert_eq!(::std::mem::size_of::<Mutex>() , 96usize , concat ! ( + assert_eq!(::std::mem::size_of::<Mutex>() , 72usize , concat ! ( "Size of: " , stringify ! ( Mutex ) )); assert_eq! (::std::mem::align_of::<Mutex>() , 8usize , concat ! ( "Alignment of " , stringify ! ( Mutex ) )); } pub mod image { #[allow(unused_imports)] use self::super::super::super::root; #[repr(C)] @@ -9144,18 +9079,18 @@ pub mod root { * etc... */ #[repr(C)] #[derive(Debug)] pub struct ServoElementSnapshot { pub mAttrs: root::nsTArray<root::mozilla::ServoAttrSnapshot>, pub mState: root::mozilla::ServoElementSnapshot_ServoStateType, pub mContains: root::mozilla::ServoElementSnapshot_Flags, - pub mIsHTMLElementInHTMLDocument: bool, - pub mIsInChromeDocument: bool, + pub _bitfield_1: u8, + pub __bindgen_padding_0: [u16; 3usize], } pub type ServoElementSnapshot_BorrowedAttrInfo = root::mozilla::dom::BorrowedAttrInfo; pub type ServoElementSnapshot_Element = root::mozilla::dom::Element; pub type ServoElementSnapshot_ServoStateType = root::mozilla::EventStates_ServoType; pub use self::super::super::root::mozilla::ServoElementSnapshotFlags as ServoElementSnapshot_Flags; @@ -9182,30 +9117,115 @@ pub mod root { )); assert_eq! (unsafe { & ( * ( 0 as * const ServoElementSnapshot ) ) . mContains as * const _ as usize } , 16usize , concat ! ( "Alignment of field: " , stringify ! ( ServoElementSnapshot ) , "::" , stringify ! ( mContains ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const ServoElementSnapshot ) ) . - mIsHTMLElementInHTMLDocument as * const _ as usize } , - 17usize , concat ! ( - "Alignment of field: " , stringify ! ( - ServoElementSnapshot ) , "::" , stringify ! ( - mIsHTMLElementInHTMLDocument ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const ServoElementSnapshot ) ) . - mIsInChromeDocument as * const _ as usize } , 18usize - , concat ! ( - "Alignment of field: " , stringify ! ( - ServoElementSnapshot ) , "::" , stringify ! ( - mIsInChromeDocument ) )); + } + impl ServoElementSnapshot { + #[inline] + pub fn mIsHTMLElementInHTMLDocument(&self) -> bool { + let mask = 1usize as u8; + let unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + let val = (unit_field_val & mask) >> 0usize; + unsafe { ::std::mem::transmute(val as u8) } + } + #[inline] + pub fn set_mIsHTMLElementInHTMLDocument(&mut self, val: bool) { + let mask = 1usize as u8; + let val = val as u8 as u8; + let mut unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + unit_field_val &= !mask; + unit_field_val |= (val << 0usize) & mask; + self._bitfield_1 = + unsafe { ::std::mem::transmute(unit_field_val) }; + } + #[inline] + pub fn mIsInChromeDocument(&self) -> bool { + let mask = 2usize as u8; + let unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + let val = (unit_field_val & mask) >> 1usize; + unsafe { ::std::mem::transmute(val as u8) } + } + #[inline] + pub fn set_mIsInChromeDocument(&mut self, val: bool) { + let mask = 2usize as u8; + let val = val as u8 as u8; + let mut unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + unit_field_val &= !mask; + unit_field_val |= (val << 1usize) & mask; + self._bitfield_1 = + unsafe { ::std::mem::transmute(unit_field_val) }; + } + #[inline] + pub fn mIsTableBorderNonzero(&self) -> bool { + let mask = 4usize as u8; + let unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + let val = (unit_field_val & mask) >> 2usize; + unsafe { ::std::mem::transmute(val as u8) } + } + #[inline] + pub fn set_mIsTableBorderNonzero(&mut self, val: bool) { + let mask = 4usize as u8; + let val = val as u8 as u8; + let mut unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + unit_field_val &= !mask; + unit_field_val |= (val << 2usize) & mask; + self._bitfield_1 = + unsafe { ::std::mem::transmute(unit_field_val) }; + } + #[inline] + pub fn mIsMozBrowserFrame(&self) -> bool { + let mask = 8usize as u8; + let unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + let val = (unit_field_val & mask) >> 3usize; + unsafe { ::std::mem::transmute(val as u8) } + } + #[inline] + pub fn set_mIsMozBrowserFrame(&mut self, val: bool) { + let mask = 8usize as u8; + let val = val as u8 as u8; + let mut unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + unit_field_val &= !mask; + unit_field_val |= (val << 3usize) & mask; + self._bitfield_1 = + unsafe { ::std::mem::transmute(unit_field_val) }; + } + #[inline] + pub fn new_bitfield_1(mIsHTMLElementInHTMLDocument: bool, + mIsInChromeDocument: bool, + mIsTableBorderNonzero: bool, + mIsMozBrowserFrame: bool) -> u8 { + ({ + ({ + ({ + ({ 0 } | + ((mIsHTMLElementInHTMLDocument as u8 as + u8) << 0usize) & (1usize as u8)) + } | + ((mIsInChromeDocument as u8 as u8) << 1usize) & + (2usize as u8)) + } | + ((mIsTableBorderNonzero as u8 as u8) << 2usize) & + (4usize as u8)) + } | + ((mIsMozBrowserFrame as u8 as u8) << 3usize) & + (8usize as u8)) + } } #[repr(C)] #[derive(Debug)] pub struct AnimationPropertySegment { pub mFromKey: f32, pub mToKey: f32, pub mFromValue: root::mozilla::AnimationValue, pub mToValue: root::mozilla::AnimationValue, @@ -9449,18 +9469,16 @@ pub mod root { assert_eq! (unsafe { & ( * ( 0 as * const PropertyStyleAnimationValuePair ) ) . mValue as * const _ as usize } , 8usize , concat ! ( "Alignment of field: " , stringify ! ( PropertyStyleAnimationValuePair ) , "::" , stringify ! ( mValue ) )); } - pub type ComputedKeyframeValues = - root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>; #[test] fn __bindgen_test_layout_DefaultDelete_instantiation_3() { assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::DefaultDelete ) )); assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , 1usize , concat ! ( @@ -9987,16 +10005,17 @@ pub mod root { * contains. */ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum ServoElementSnapshotFlags { State = 1, Attributes = 2, Id = 4, MaybeClass = 8, + OtherPseudoClassState = 16, } #[repr(C)] #[derive(Debug, Copy)] pub struct NonOwningAnimationTarget { pub mElement: *mut root::mozilla::dom::Element, pub mPseudoType: root::mozilla::CSSPseudoElementType, } #[test] @@ -10647,204 +10666,206 @@ pub mod root { */ #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct UniquePtr<T> { pub mPtr: *mut T, 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 __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 ! ( __sbuf ) , "::" , - stringify ! ( _base ) )); - assert_eq! (unsafe { - & ( * ( 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 + #[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 usize } , 0usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _p ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _r as * const _ as - usize } , 8usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _r ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _w as * const _ as - usize } , 12usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _w ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _flags as * const _ as - usize } , 16usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , + "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags ) )); assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _file as * const _ as - usize } , 18usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _file ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _bf as * const _ as - usize } , 24usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _bf ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _lbfsize as * const _ - as usize } , 40usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _lbfsize ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _cookie as * const _ as - usize } , 48usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _cookie ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _close as * const _ as - usize } , 56usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _close ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _read as * const _ as - usize } , 64usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _read ) )); - assert_eq! (unsafe { - & ( * ( 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 __sFILE ) ) . _ub as * const _ as - usize } , 88usize , concat ! ( - "Alignment of field: " , stringify ! ( __sFILE ) , "::" , - stringify ! ( _ub ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const __sFILE ) ) . _extra as * const _ as + & ( * ( 0 as * const _IO_FILE ) ) . _IO_read_ptr as * + const _ as usize } , 8usize , concat ! ( + "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" , + stringify ! ( _IO_read_ptr ) )); + 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 ) )); + 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 ) )); + 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 ) )); + 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 ) )); + 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 ) )); + 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 ) )); + 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 ) )); + 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 ) )); + 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 ) )); + 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 ) )); + assert_eq! (unsafe { + & ( * ( 0 as * const _IO_FILE ) ) . _markers as * const _ + as usize } , 96usize , concat ! ( + "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" , + stringify ! ( _markers ) )); + assert_eq! (unsafe { + & ( * ( 0 as * const _IO_FILE ) ) . _chain as * const _ as usize } , 104usize , concat ! ( - "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 ) , "::" , + "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 ) , "::" , stringify ! ( _offset ) )); - } - impl Clone for __sFILE { - fn clone(&self) -> Self { *self } - } - pub type FILE = root::__sFILE; + 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 { + fn clone(&self) -> Self { *self } + } + pub type FILE = root::_IO_FILE; + pub type va_list = root::__builtin_va_list; #[repr(C)] #[derive(Debug, Copy)] pub struct InfallibleAllocPolicy { pub _address: u8, } #[test] fn bindgen_test_layout_InfallibleAllocPolicy() { assert_eq!(::std::mem::size_of::<InfallibleAllocPolicy>() , 1usize , @@ -11391,16 +11412,49 @@ pub mod root { NS_ERROR_DOCUMENT_IS_PRINTMODE = 2155349969, NS_SUCCESS_DONT_FIXUP = 7864321, NS_SUCCESS_RESTART_APP_NOT_SAME_PROFILE = 7864323, NS_SUCCESS_UNORM_NOTFOUND = 7864337, NS_ERROR_NOT_IN_TREE = 2155348006, 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)] #[derive(Debug, Copy)] pub struct nsQueryFrame { pub vtable_: *const nsQueryFrame__bindgen_vtable, } #[repr(u32)] @@ -13338,21 +13392,16 @@ pub mod root { assert_eq! (unsafe { & ( * ( 0 as * const AutoSetAsyncStackForNewCalls ) ) . oldAsyncCallIsExplicit as * const _ as usize } , 40usize , concat ! ( "Alignment of field: " , stringify ! ( AutoSetAsyncStackForNewCalls ) , "::" , stringify ! ( oldAsyncCallIsExplicit ) )); } - pub type WarningReporter = - ::std::option::Option<unsafe extern "C" fn(cx: - *mut root::JSContext, - report: - *mut root::JSErrorReport)>; #[repr(C)] #[derive(Debug)] pub struct AutoHideScriptedCaller { pub mContext: *mut root::JSContext, pub _mCheckNotUsedAsTemporary: root::mozilla::detail::GuardObjectNotificationReceiver, } #[test] fn bindgen_test_layout_AutoHideScriptedCaller() { @@ -13504,113 +13553,16 @@ pub mod root { ! ( "Alignment of " , stringify ! ( SourceHook ) )); } } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct JSCompartment { _unused: [u8; 0], } - /** - * Describes a single error or warning that occurs in the execution of script. - */ - #[repr(C)] - pub struct JSErrorReport { - pub _base: root::JSErrorBase, - pub linebuf_: *const u16, - pub linebufLength_: usize, - pub tokenOffset_: usize, - pub notes: root::mozilla::UniquePtr<root::JSErrorNotes>, - pub flags: ::std::os::raw::c_uint, - pub exnType: i16, - pub _bitfield_1: u8, - pub __bindgen_padding_0: u8, - } - #[test] - fn bindgen_test_layout_JSErrorReport() { - assert_eq!(::std::mem::size_of::<JSErrorReport>() , 72usize , concat ! - ( "Size of: " , stringify ! ( JSErrorReport ) )); - assert_eq! (::std::mem::align_of::<JSErrorReport>() , 8usize , concat - ! ( "Alignment of " , stringify ! ( JSErrorReport ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . linebuf_ as * - const _ as usize } , 32usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( linebuf_ ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . linebufLength_ as - * const _ as usize } , 40usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( linebufLength_ ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . tokenOffset_ as * - const _ as usize } , 48usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( tokenOffset_ ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . notes as * const - _ as usize } , 56usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( notes ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . flags as * const - _ as usize } , 64usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( flags ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . exnType as * - const _ as usize } , 68usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( exnType ) )); - } - impl JSErrorReport { - #[inline] - pub fn isMuted(&self) -> bool { - let mask = 1usize as u8; - let unit_field_val: u8 = - unsafe { ::std::mem::transmute(self._bitfield_1) }; - let val = (unit_field_val & mask) >> 0usize; - unsafe { ::std::mem::transmute(val as u8) } - } - #[inline] - pub fn set_isMuted(&mut self, val: bool) { - let mask = 1usize as u8; - let val = val as u8 as u8; - let mut unit_field_val: u8 = - unsafe { ::std::mem::transmute(self._bitfield_1) }; - unit_field_val &= !mask; - unit_field_val |= (val << 0usize) & mask; - self._bitfield_1 = - unsafe { ::std::mem::transmute(unit_field_val) }; - } - #[inline] - pub fn ownsLinebuf_(&self) -> bool { - let mask = 2usize as u8; - let unit_field_val: u8 = - unsafe { ::std::mem::transmute(self._bitfield_1) }; - let val = (unit_field_val & mask) >> 1usize; - unsafe { ::std::mem::transmute(val as u8) } - } - #[inline] - pub fn set_ownsLinebuf_(&mut self, val: bool) { - let mask = 2usize as u8; - let val = val as u8 as u8; - let mut unit_field_val: u8 = - unsafe { ::std::mem::transmute(self._bitfield_1) }; - unit_field_val &= !mask; - unit_field_val |= (val << 1usize) & mask; - self._bitfield_1 = - unsafe { ::std::mem::transmute(unit_field_val) }; - } - #[inline] - pub fn new_bitfield_1(isMuted: bool, ownsLinebuf_: bool) -> u8 { - ({ ({ 0 } | ((isMuted as u8 as u8) << 0usize) & (1usize as u8)) } - | ((ownsLinebuf_ as u8 as u8) << 1usize) & (2usize as u8)) - } - } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct JSRuntime { _unused: [u8; 0], } #[repr(C)] #[derive(Debug, Copy)] pub struct JSTracer { @@ -14447,17 +14399,17 @@ pub mod root { pub mFontFeatureValues: [u64; 6usize], } pub type gfxFontFeatureValueSet_HasThreadSafeRefCnt = root::mozilla::FalseType; #[repr(C)] #[derive(Debug)] pub struct gfxFontFeatureValueSet_ValueList { pub name: ::nsstring::nsStringRepr, - pub featureSelectors: root::nsTArray<u32>, + pub featureSelectors: root::nsTArray<::std::os::raw::c_uint>, } #[test] fn bindgen_test_layout_gfxFontFeatureValueSet_ValueList() { assert_eq!(::std::mem::size_of::<gfxFontFeatureValueSet_ValueList>() , 24usize , concat ! ( "Size of: " , stringify ! ( gfxFontFeatureValueSet_ValueList ) )); assert_eq! (::std::mem::align_of::<gfxFontFeatureValueSet_ValueList>() @@ -14552,17 +14504,17 @@ pub mod root { gfxFontFeatureValueSet_FeatureValueHashKey ) , "::" , stringify ! ( mName ) )); } #[repr(C)] #[derive(Debug)] pub struct gfxFontFeatureValueSet_FeatureValueHashEntry { pub _base: root::PLDHashEntryHdr, pub mKey: root::gfxFontFeatureValueSet_FeatureValueHashKey, - pub mValues: root::nsTArray<u32>, + pub mValues: root::nsTArray<::std::os::raw::c_uint>, } pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyType = *const root::gfxFontFeatureValueSet_FeatureValueHashKey; pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyTypePointer = *const root::gfxFontFeatureValueSet_FeatureValueHashKey; pub const gfxFontFeatureValueSet_FeatureValueHashEntry_ALLOW_MEMMOVE: root::gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_1 = @@ -14662,17 +14614,17 @@ pub mod root { pub stretch: i16, pub kerning: u8, pub synthesis: u8, pub size: root::nscoord, pub sizeAdjust: f32, pub alternateValues: root::nsTArray<root::gfxAlternateValue>, pub featureValueLookup: root::RefPtr<root::gfxFontFeatureValueSet>, pub fontFeatureSettings: root::nsTArray<root::gfxFontFeature>, - pub fontVariationSettings: root::nsTArray<root::gfxFontVariation>, + pub fontVariationSettings: root::nsTArray<root::mozilla::gfx::FontVariation>, pub languageOverride: u32, } #[test] fn bindgen_test_layout_nsFont() { assert_eq!(::std::mem::size_of::<nsFont>() , 88usize , concat ! ( "Size of: " , stringify ! ( nsFont ) )); assert_eq! (::std::mem::align_of::<nsFont>() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsFont ) )); @@ -15342,17 +15294,17 @@ pub mod root { * case that nsTAString::mData does not point to one of these special * buffers. The mFlags member variable distinguishes the buffer type. * * When this header is in use, it enables reference counting, and capacity * tracking. NOTE: A string buffer can be modified only if its reference * count is 1. */ #[repr(C)] - #[derive(Debug, Copy)] + #[derive(Debug)] pub struct nsStringBuffer { pub mRefCount: u32, pub mStorageSize: u32, } #[test] fn bindgen_test_layout_nsStringBuffer() { assert_eq!(::std::mem::size_of::<nsStringBuffer>() , 8usize , concat ! ( "Size of: " , stringify ! ( nsStringBuffer ) )); @@ -15364,19 +15316,16 @@ pub mod root { "Alignment of field: " , stringify ! ( nsStringBuffer ) , "::" , stringify ! ( mRefCount ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStringBuffer ) ) . mStorageSize as * const _ as usize } , 4usize , concat ! ( "Alignment of field: " , stringify ! ( nsStringBuffer ) , "::" , stringify ! ( mStorageSize ) )); } - impl Clone for nsStringBuffer { - fn clone(&self) -> Self { *self } - } #[repr(C)] #[derive(Debug, Copy)] pub struct nsIAtom { pub _base: root::nsISupports, pub _bitfield_1: u32, pub mHash: u32, /** * WARNING! There is an invisible constraint on |mString|: the chars it @@ -17111,17 +17060,17 @@ pub mod root { * have this document as their owner and that are being evaluated right now. */ pub mExternalScriptsBeingEvaluated: u32, /** * The current frame request callback handle */ pub mFrameRequestCallbackCounter: i32, pub mStaticCloneCount: u32, - pub mBlockedTrackingNodes: root::nsTArray<root::nsWeakPtr>, + pub mBlockedTrackingNodes: root::nsTArray<root::nsCOMPtr<root::nsIWeakReference>>, pub mWindow: *mut root::nsPIDOMWindowInner, pub mCachedEncoder: root::nsCOMPtr<root::nsIDocumentEncoder>, pub mFrameRequestCallbacks: root::nsTArray<root::nsIDocument_FrameRequest>, pub mBFCacheEntry: *mut root::nsIBFCacheEntry, pub mBaseTarget: ::nsstring::nsStringRepr, pub mStateObjectContainer: root::nsCOMPtr<root::nsIStructuredCloneContainer>, pub mStateObjectCached: root::nsCOMPtr<root::nsIVariant>, pub mInSyncOperationCount: u32, @@ -21324,17 +21273,17 @@ pub mod root { } #[repr(C)] #[derive(Debug)] pub struct nsDOMAttributeMap { pub _base: root::nsIDOMMozNamedAttrMap, pub _base_1: root::nsWrapperCache, pub mRefCnt: root::nsCycleCollectingAutoRefCnt, pub _mOwningThread: root::nsAutoOwningThread, - pub mContent: root::nsCOMPtr<root::nsDOMAttributeMap_Element>, + pub mContent: root::nsCOMPtr<root::mozilla::dom::Element>, /** * Cache of Attrs. */ pub mAttributeCache: root::nsDOMAttributeMap_AttrCache, } pub type nsDOMAttributeMap_Attr = root::mozilla::dom::Attr; pub type nsDOMAttributeMap_Element = root::mozilla::dom::Element; pub type nsDOMAttributeMap_ErrorResult = root::mozilla::ErrorResult; @@ -22425,67 +22374,67 @@ pub mod root { "Alignment of field: " , stringify ! ( nsNodeWeakReference ) , "::" , stringify ! ( mNode ) )); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct nsDOMMutationObserver { _unused: [u8; 0], } - 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_17 { + 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; + #[repr(u32)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum _bindgen_ty_88 { NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_PROPERTIES = 8, NODE_IS_ANONYMOUS_ROOT = 16, NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE = 32, NODE_IS_NATIVE_ANONYMOUS_ROOT = 64, NODE_FORCE_XBL_BINDINGS = 128, NODE_MAY_BE_IN_BINDING_MNGR = 256, NODE_IS_EDITABLE = 512, @@ -23260,16 +23209,17 @@ pub mod root { NS_FRAME_NEEDS_PAINT = 281474976710656, NS_FRAME_DESCENDANT_NEEDS_PAINT = 562949953421312, NS_FRAME_IN_POPUP = 1125899906842624, NS_FRAME_ALL_DESCENDANTS_NEED_PAINT = 2251799813685248, NS_FRAME_HAS_INVALID_RECT = 4503599627370496, NS_FRAME_IS_NONDISPLAY = 9007199254740992, NS_FRAME_HAS_LAYER_ACTIVITY_PROPERTY = 18014398509481984, NS_FRAME_OWNS_ANON_BOXES = 36028797018963968, + NS_FRAME_HAS_CSS_COUNTER_STYLE = 72057594037927936, NS_FRAME_SIMPLE_DISPLAYLIST = 144115188075855872, NS_FRAME_MATHML_SCRIPT_DESCENDANT = 288230376151711744, NS_FRAME_IS_IN_SINGLE_CHAR_MI = 576460752303423488, NS_STATE_BOX_CHILD_RESERVED = 1048576, NS_STATE_STACK_NOT_POSITIONED = 2097152, NS_STATE_IS_HORIZONTAL = 4194304, NS_STATE_AUTO_STRETCH = 8388608, NS_STATE_IS_ROOT = 16777216, @@ -27646,17 +27596,17 @@ pub mod root { pub _base: root::imgIRequest, pub _base_1: root::mozilla::image::IProgressObserver, pub _base_2: root::nsISupportsPriority, pub _base_3: root::nsISecurityInfoProvider, pub _base_4: root::nsITimedChannel, pub mRefCnt: root::nsAutoRefCnt, pub _mOwningThread: root::nsAutoOwningThread, pub mBehaviour: root::mozilla::UniquePtr<root::ProxyBehaviour>, - pub mURI: root::RefPtr<root::imgRequestProxy_ImageURL>, + pub mURI: root::RefPtr<root::mozilla::image::ImageURL>, pub mListener: *mut root::imgINotificationObserver, pub mLoadGroup: root::nsCOMPtr<root::nsILoadGroup>, pub mLoadFlags: root::nsLoadFlags, pub mLockCount: u32, pub mAnimationConsumers: u32, pub mCanceled: bool, pub mIsInLoadGroup: bool, pub mListenerIsStrongRef: bool, @@ -28878,17 +28828,17 @@ pub mod root { pub _base_1: root::nsIThreadRetargetableStreamListener, pub _base_2: root::nsIChannelEventSink, pub _base_3: root::nsIInterfaceRequestor, pub _base_4: root::nsIAsyncVerifyRedirectCallback, pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, pub _mOwningThread: root::nsAutoOwningThread, pub mLoader: *mut root::imgLoader, pub mRequest: root::nsCOMPtr<root::nsIRequest>, - pub mURI: root::RefPtr<root::imgRequest_ImageURL>, + pub mURI: root::RefPtr<root::mozilla::image::ImageURL>, pub mCurrentURI: root::nsCOMPtr<root::nsIURI>, pub mLoadingPrincipal: root::nsCOMPtr<root::nsIPrincipal>, pub mPrincipal: root::nsCOMPtr<root::nsIPrincipal>, pub mProperties: root::nsCOMPtr<root::nsIProperties>, pub mSecurityInfo: root::nsCOMPtr<root::nsISupports>, pub mChannel: root::nsCOMPtr<root::nsIChannel>, pub mPrevChannelSink: root::nsCOMPtr<root::nsIInterfaceRequestor>, pub mApplicationCache: root::nsCOMPtr<root::nsIApplicationCache>, @@ -28905,32 +28855,32 @@ pub mod root { pub mRedirectCallback: root::nsCOMPtr<root::nsIAsyncVerifyRedirectCallback>, pub mNewRedirectChannel: root::nsCOMPtr<root::nsIChannel>, pub mInnerWindowId: u64, pub mCORSMode: i32, pub mReferrerPolicy: root::imgRequest_ReferrerPolicy, pub mImageErrorCode: root::nsresult, pub mBoostCategoriesRequested: u32, pub mMutex: root::mozilla::Mutex, - pub mProgressTracker: root::RefPtr<root::imgRequest_ProgressTracker>, - pub mImage: root::RefPtr<root::imgRequest_Image>, + pub mProgressTracker: root::RefPtr<root::mozilla::image::ProgressTracker>, + pub mImage: root::RefPtr<root::mozilla::image::Image>, pub _bitfield_1: u8, pub __bindgen_padding_0: [u8; 7usize], } pub type imgRequest_Image = root::mozilla::image::Image; pub type imgRequest_ImageCacheKey = root::mozilla::image::ImageCacheKey; pub type imgRequest_ImageURL = root::mozilla::image::ImageURL; pub type imgRequest_ProgressTracker = root::mozilla::image::ProgressTracker; pub use self::super::root::mozilla::net::ReferrerPolicy as imgRequest_ReferrerPolicy; pub type imgRequest_HasThreadSafeRefCnt = root::mozilla::TrueType; #[test] fn bindgen_test_layout_imgRequest() { - assert_eq!(::std::mem::size_of::<imgRequest>() , 440usize , concat ! ( + assert_eq!(::std::mem::size_of::<imgRequest>() , 416usize , concat ! ( "Size of: " , stringify ! ( imgRequest ) )); assert_eq! (::std::mem::align_of::<imgRequest>() , 8usize , concat ! ( "Alignment of " , stringify ! ( imgRequest ) )); } impl imgRequest { #[inline] pub fn mIsMultiPartChannel(&self) -> bool { let mask = 1usize as u8; @@ -30371,28 +30321,28 @@ pub mod root { ) , "::" , stringify ! ( mRefCnt ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleQuoteValues ) ) . mQuotePairs as * const _ as usize } , 8usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleQuoteValues ) , "::" , stringify ! ( mQuotePairs ) )); } #[test] - fn __bindgen_test_layout_StaticRefPtr_instantiation_20() { + fn __bindgen_test_layout_StaticRefPtr_instantiation_91() { assert_eq!(::std::mem::size_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) )); } #[test] - fn __bindgen_test_layout_StaticRefPtr_instantiation_21() { + fn __bindgen_test_layout_StaticRefPtr_instantiation_92() { assert_eq!(::std::mem::size_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) )); @@ -32560,17 +32510,17 @@ pub mod root { } pub type RawGeckoNode = root::nsINode; pub type RawGeckoElement = root::mozilla::dom::Element; pub type RawGeckoDocument = root::nsIDocument; pub type RawGeckoPresContext = root::nsPresContext; pub type RawGeckoURLExtraData = root::mozilla::URLExtraData; pub type RawGeckoKeyframeList = root::nsTArray<root::mozilla::Keyframe>; pub type RawGeckoComputedKeyframeValuesList = - root::nsTArray<root::mozilla::ComputedKeyframeValues>; + root::nsTArray<root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>>; pub type RawGeckoAnimationValueList = root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>; pub type RawGeckoStyleAnimationList = root::nsStyleAutoArray<root::mozilla::StyleAnimation>; pub type RawGeckoFontFaceRuleList = root::nsTArray<root::nsFontFaceRuleContainer>; pub type RawGeckoAnimationPropertySegment = root::mozilla::AnimationPropertySegment; @@ -33318,58 +33268,58 @@ pub mod root { pub struct mozAutoDocUpdate { _unused: [u8; 0], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct nsAttrValueOrString { _unused: [u8; 0], } - 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_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_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO: - 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_19::ELEMENT_SHARED_RESTYLE_BIT_3; + 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 + = + _bindgen_ty_90::ELEMENT_SHARED_RESTYLE_BIT_3; pub const ELEMENT_IS_POTENTIAL_ANIMATION_ONLY_RESTYLE_ROOT: - 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_19 { + 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; + #[repr(u32)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum _bindgen_ty_90 { ELEMENT_SHARED_RESTYLE_BIT_1 = 8388608, ELEMENT_SHARED_RESTYLE_BIT_2 = 16777216, ELEMENT_SHARED_RESTYLE_BIT_3 = 33554432, ELEMENT_SHARED_RESTYLE_BIT_4 = 67108864, ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR = 134217728, ELEMENT_PENDING_RESTYLE_FLAGS = 41943040, ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS = 83886080, ELEMENT_ALL_RESTYLE_FLAGS = 260046848, @@ -34012,3003 +33962,2202 @@ pub mod root { "Alignment of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( reg_save_area ) )); } impl Clone for __va_list_tag { fn clone(&self) -> Self { *self } } pub type __builtin_va_list = [root::__va_list_tag; 1usize]; #[test] - fn __bindgen_test_layout_IntegralConstant_instantiation_22() { + fn __bindgen_test_layout_IntegralConstant_instantiation_93() { assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); assert_eq!(::std::mem::align_of::<u8>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u8 ) )); } #[test] - fn __bindgen_test_layout_IntegralConstant_instantiation_23() { + fn __bindgen_test_layout_IntegralConstant_instantiation_94() { assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); assert_eq!(::std::mem::align_of::<u8>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u8 ) )); } #[test] - fn __bindgen_test_layout_nsCharTraits_instantiation_24() { + fn __bindgen_test_layout_nsCharTraits_instantiation_95() { assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCharTraits ) )); assert_eq!(::std::mem::align_of::<root::nsCharTraits>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout_nsReadingIterator_instantiation_25() { - assert_eq!(::std::mem::size_of::<root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type>>() - , 24usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type> - ) )); - assert_eq!(::std::mem::align_of::<root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type> - ) )); - } - #[test] - fn __bindgen_test_layout_nsWritingIterator_instantiation_26() { - assert_eq!(::std::mem::size_of::<root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type>>() - , 24usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type> - ) )); - assert_eq!(::std::mem::align_of::<root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type> - ) )); - } - #[test] - fn __bindgen_test_layout_nsCharTraits_instantiation_27() { + fn __bindgen_test_layout_nsReadingIterator_instantiation_96() { + assert_eq!(::std::mem::size_of::<root::nsReadingIterator<u16>>() , + 24usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsReadingIterator<u16> ) )); + assert_eq!(::std::mem::align_of::<root::nsReadingIterator<u16>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsReadingIterator<u16> ) )); + } + #[test] + fn __bindgen_test_layout_nsWritingIterator_instantiation_97() { + assert_eq!(::std::mem::size_of::<root::nsWritingIterator<u16>>() , + 24usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsWritingIterator<u16> ) )); + assert_eq!(::std::mem::align_of::<root::nsWritingIterator<u16>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsWritingIterator<u16> ) )); + } + #[test] + fn __bindgen_test_layout_nsCharTraits_instantiation_98() { assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCharTraits ) )); assert_eq!(::std::mem::align_of::<root::nsCharTraits>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout_nsReadingIterator_instantiation_28() { - assert_eq!(::std::mem::size_of::<root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type>>() + fn __bindgen_test_layout_nsReadingIterator_instantiation_99() { + assert_eq!(::std::mem::size_of::<root::nsReadingIterator<::std::os::raw::c_char>>() + , 24usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsReadingIterator<::std::os::raw::c_char> ) )); + assert_eq!(::std::mem::align_of::<root::nsReadingIterator<::std::os::raw::c_char>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsReadingIterator<::std::os::raw::c_char> ) )); + } + #[test] + fn __bindgen_test_layout_nsWritingIterator_instantiation_100() { + assert_eq!(::std::mem::size_of::<root::nsWritingIterator<::std::os::raw::c_char>>() , 24usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type> - ) )); - assert_eq!(::std::mem::align_of::<root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type> - ) )); - } - #[test] - fn __bindgen_test_layout_nsWritingIterator_instantiation_29() { - assert_eq!(::std::mem::size_of::<root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type>>() - , 24usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type> - ) )); - assert_eq!(::std::mem::align_of::<root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type> - ) )); - } - #[test] - fn __bindgen_test_layout_nsCharTraits_instantiation_30() { + root::nsWritingIterator<::std::os::raw::c_char> ) )); + assert_eq!(::std::mem::align_of::<root::nsWritingIterator<::std::os::raw::c_char>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsWritingIterator<::std::os::raw::c_char> ) )); + } + #[test] + fn __bindgen_test_layout_nsCharTraits_instantiation_101() { + assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize , + concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCharTraits ) )); + assert_eq!(::std::mem::align_of::<root::nsCharTraits>() , 1usize , + concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCharTraits ) )); + } + #[test] + fn __bindgen_test_layout_nsCharTraits_instantiation_102() { assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCharTraits ) )); assert_eq!(::std::mem::align_of::<root::nsCharTraits>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout_nsCharTraits_instantiation_31() { - assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCharTraits ) )); - assert_eq!(::std::mem::align_of::<root::nsCharTraits>() , 1usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCharTraits ) )); - } - #[test] - fn __bindgen_test_layout__bindgen_ty_id_188182_instantiation_32() { + fn __bindgen_test_layout__bindgen_ty_id_214445_instantiation_103() { assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); assert_eq!(::std::mem::align_of::<u8>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u8 ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_188218_instantiation_33() { + fn __bindgen_test_layout__bindgen_ty_id_214481_instantiation_104() { assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); assert_eq!(::std::mem::align_of::<u8>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u8 ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_34() { + fn __bindgen_test_layout_nsTArray_instantiation_105() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::nsCString> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCString>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::nsCString> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_35() { + 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 ! ( 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_36() { + fn __bindgen_test_layout_Handle_instantiation_107() { assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::Handle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::Handle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_37() { + fn __bindgen_test_layout_MutableHandle_instantiation_108() { assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_Rooted_instantiation_38() { + fn __bindgen_test_layout_Rooted_instantiation_109() { assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! ( "Size of template specialization: " , stringify ! ( [u64; 3usize] ) )); assert_eq!(::std::mem::align_of::<[u64; 3usize]>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( [u64; 3usize] ) )); } #[test] - fn __bindgen_test_layout_DeletePolicy_instantiation_39() { + fn __bindgen_test_layout_DeletePolicy_instantiation_110() { assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_40() { + fn __bindgen_test_layout_nsTArray_instantiation_111() { assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_41() { + fn __bindgen_test_layout_nsTArray_instantiation_112() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FontFamilyName>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::mozilla::FontFamilyName> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::mozilla::FontFamilyName>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::mozilla::FontFamilyName> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_42() { - assert_eq!(::std::mem::size_of::<root::nsTArray<u32>>() , 8usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<u32> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<u32>>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<u32> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_43() { - assert_eq!(::std::mem::size_of::<root::nsTArray<u32>>() , 8usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<u32> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<u32>>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<u32> ) )); - } - #[test] - fn __bindgen_test_layout_BaseTimeDuration_instantiation_44() { + fn __bindgen_test_layout_nsTArray_instantiation_113() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<::std::os::raw::c_uint>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_114() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<::std::os::raw::c_uint>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + } + #[test] + fn __bindgen_test_layout_BaseTimeDuration_instantiation_115() { assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::BaseTimeDuration ) )); assert_eq!(::std::mem::align_of::<root::mozilla::BaseTimeDuration>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::BaseTimeDuration ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_45() { + fn __bindgen_test_layout_nsTArray_instantiation_116() { assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_TErrorResult_instantiation_46() { + fn __bindgen_test_layout_TErrorResult_instantiation_117() { assert_eq!(::std::mem::size_of::<root::mozilla::binding_danger::TErrorResult>() , 32usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::binding_danger::TErrorResult ) )); assert_eq!(::std::mem::align_of::<root::mozilla::binding_danger::TErrorResult>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::binding_danger::TErrorResult ) )); } #[test] - fn __bindgen_test_layout_TErrorResult_instantiation_47() { + fn __bindgen_test_layout_TErrorResult_instantiation_118() { assert_eq!(::std::mem::size_of::<root::mozilla::binding_danger::TErrorResult>() , 32usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::binding_danger::TErrorResult ) )); assert_eq!(::std::mem::align_of::<root::mozilla::binding_danger::TErrorResult>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::binding_danger::TErrorResult ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_48() { + fn __bindgen_test_layout_already_AddRefed_instantiation_119() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsStringBuffer> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsStringBuffer>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsStringBuffer> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_49() { + 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 ! ( 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_50() { + fn __bindgen_test_layout_MutableHandle_instantiation_121() { assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_51() { + fn __bindgen_test_layout_Handle_instantiation_122() { 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_nsTArray_instantiation_52() { + fn __bindgen_test_layout_nsTArray_instantiation_123() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<*mut root::mozilla::StyleSheet> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<*mut root::mozilla::StyleSheet> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_53() { + fn __bindgen_test_layout_Handle_instantiation_124() { 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_RefPtr_instantiation_54() { + fn __bindgen_test_layout_RefPtr_instantiation_125() { assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_55() { + fn __bindgen_test_layout_Handle_instantiation_126() { 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_56() { + fn __bindgen_test_layout_Handle_instantiation_127() { 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_already_AddRefed_instantiation_57() { + fn __bindgen_test_layout_already_AddRefed_instantiation_128() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_58() { + fn __bindgen_test_layout_already_AddRefed_instantiation_129() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_59() { + fn __bindgen_test_layout_already_AddRefed_instantiation_130() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsINode>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsINode> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsINode>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsINode> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_60() { + fn __bindgen_test_layout_Handle_instantiation_131() { assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::Handle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::Handle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_61() { + fn __bindgen_test_layout_MutableHandle_instantiation_132() { assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_62() { + fn __bindgen_test_layout_MutableHandle_instantiation_133() { assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_DeletePolicy_instantiation_63() { + fn __bindgen_test_layout_DeletePolicy_instantiation_134() { assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_64() { + fn __bindgen_test_layout_UniquePtr_instantiation_135() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); } #[test] - fn __bindgen_test_layout_DeletePolicy_instantiation_65() { + fn __bindgen_test_layout_DeletePolicy_instantiation_136() { assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_66() { + fn __bindgen_test_layout_UniquePtr_instantiation_137() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::JSErrorNotes>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes> ) )); } #[test] - fn __bindgen_test_layout_DeletePolicy_instantiation_67() { + fn __bindgen_test_layout_DeletePolicy_instantiation_138() { assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_68() { + fn __bindgen_test_layout_UniquePtr_instantiation_139() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); } #[test] - fn __bindgen_test_layout_DeletePolicy_instantiation_69() { + fn __bindgen_test_layout_DeletePolicy_instantiation_140() { assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_70() { + fn __bindgen_test_layout_UniquePtr_instantiation_141() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); } #[test] - fn __bindgen_test_layout_DeletePolicy_instantiation_71() { + fn __bindgen_test_layout_DeletePolicy_instantiation_142() { assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_72() { + fn __bindgen_test_layout_UniquePtr_instantiation_143() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); } #[test] - fn __bindgen_test_layout_iterator_instantiation_73() { + fn __bindgen_test_layout_iterator_instantiation_144() { assert_eq!(::std::mem::size_of::<root::std::iterator>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::std::iterator ) )); assert_eq!(::std::mem::align_of::<root::std::iterator>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::std::iterator ) )); } #[test] - fn __bindgen_test_layout_DeletePolicy_instantiation_74() { + fn __bindgen_test_layout_DeletePolicy_instantiation_145() { assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_75() { + fn __bindgen_test_layout_UniquePtr_instantiation_146() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); } #[test] - fn __bindgen_test_layout_DeletePolicy_instantiation_76() { + fn __bindgen_test_layout_DeletePolicy_instantiation_147() { assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_77() { + fn __bindgen_test_layout_UniquePtr_instantiation_148() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::JSErrorNotes_Note> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_78() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_149() { assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIPrincipal>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCOMPtr<root::nsIPrincipal> ) )); assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIPrincipal>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCOMPtr<root::nsIPrincipal> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_79() { + fn __bindgen_test_layout_Handle_instantiation_150() { assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::Handle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::Handle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_80() { + fn __bindgen_test_layout_MutableHandle_instantiation_151() { assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_81() { + fn __bindgen_test_layout_nsTArray_instantiation_152() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::nsCString> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCString>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::nsCString> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_82() { + fn __bindgen_test_layout_nsTArray_instantiation_153() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::nsCString> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCString>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::nsCString> ) )); } #[test] - fn __bindgen_test_layout_Heap_instantiation_83() { + fn __bindgen_test_layout_Heap_instantiation_154() { assert_eq!(::std::mem::size_of::<root::JS::Heap<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::Heap<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::Heap<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::Heap<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_Heap_instantiation_84() { + fn __bindgen_test_layout_Heap_instantiation_155() { assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::Heap<*mut root::JSObject> ) )); assert_eq!(::std::mem::align_of::<root::JS::Heap<*mut root::JSObject>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::Heap<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_TenuredHeap_instantiation_85() { + fn __bindgen_test_layout_TenuredHeap_instantiation_156() { assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::TenuredHeap ) )); assert_eq!(::std::mem::align_of::<root::JS::TenuredHeap>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::TenuredHeap ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_86() { + fn __bindgen_test_layout_already_AddRefed_instantiation_157() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_87() { + fn __bindgen_test_layout_nsTArray_instantiation_158() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::AnonymousContent>>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::RefPtr<root::mozilla::dom::AnonymousContent>> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::AnonymousContent>>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::RefPtr<root::mozilla::dom::AnonymousContent>> ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_88() { + fn __bindgen_test_layout_RefPtr_instantiation_159() { assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_89() { + fn __bindgen_test_layout_nsTArray_instantiation_160() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_90() { + fn __bindgen_test_layout_RefPtr_instantiation_161() { assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_91() { + fn __bindgen_test_layout_nsTArray_instantiation_162() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_92() { + fn __bindgen_test_layout_RefPtr_instantiation_163() { assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::Element>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::dom::Element> ) )); assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::Element>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::dom::Element> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_93() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_164() { assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIObserver>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCOMPtr<root::nsIObserver> ) )); assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIObserver>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCOMPtr<root::nsIObserver> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_94() { + fn __bindgen_test_layout_nsTArray_instantiation_165() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIObserver>>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::nsCOMPtr<root::nsIObserver>> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCOMPtr<root::nsIObserver>>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::nsCOMPtr<root::nsIObserver>> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_95() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_166() { assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIObserver>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCOMPtr<root::nsIObserver> ) )); assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIObserver>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCOMPtr<root::nsIObserver> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_96() { + fn __bindgen_test_layout_already_AddRefed_instantiation_167() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIDocument>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIDocument> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIDocument>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIDocument> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_97() { + fn __bindgen_test_layout_already_AddRefed_instantiation_168() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_98() { + fn __bindgen_test_layout_RefPtr_instantiation_169() { assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_99() { + fn __bindgen_test_layout_already_AddRefed_instantiation_170() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIDocument>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIDocument> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIDocument>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIDocument> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_100() { + 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_already_AddRefed_instantiation_101() { + fn __bindgen_test_layout_already_AddRefed_instantiation_172() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsContentList>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsContentList> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsContentList>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsContentList> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_102() { + fn __bindgen_test_layout_already_AddRefed_instantiation_173() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsContentList>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsContentList> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsContentList>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsContentList> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_103() { + fn __bindgen_test_layout_already_AddRefed_instantiation_174() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsINode>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsINode> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsINode>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsINode> ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_104() { + fn __bindgen_test_layout_RefPtr_instantiation_175() { assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::Element>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::dom::Element> ) )); assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::Element>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::dom::Element> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_105() { + fn __bindgen_test_layout_Handle_instantiation_176() { 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_already_AddRefed_instantiation_106() { + fn __bindgen_test_layout_already_AddRefed_instantiation_177() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_107() { + fn __bindgen_test_layout_already_AddRefed_instantiation_178() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIRunnable> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIRunnable>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIRunnable> ) )); } #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_108() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_179() { assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::mozilla::dom::Link>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCOMPtr<root::mozilla::dom::Link> ) )); assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::mozilla::dom::Link>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCOMPtr<root::mozilla::dom::Link> ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_109() { + fn __bindgen_test_layout_nsCOMPtr_instantiation_180() { + assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIWeakReference> ) )); + assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIWeakReference>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIWeakReference> ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_181() { assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::StyleSheet> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_110() { + fn __bindgen_test_layout_nsTArray_instantiation_182() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_111() { + fn __bindgen_test_layout_Handle_instantiation_183() { 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_DefaultDelete_instantiation_112() { + fn __bindgen_test_layout_DefaultDelete_instantiation_184() { assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::DefaultDelete ) )); assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_113() { + fn __bindgen_test_layout_UniquePtr_instantiation_185() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsISMILAttr>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::nsISMILAttr> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsISMILAttr>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::nsISMILAttr> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_114() { + fn __bindgen_test_layout_already_AddRefed_instantiation_186() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_115() { + fn __bindgen_test_layout_nsTArray_instantiation_187() { assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_116() { + fn __bindgen_test_layout_Handle_instantiation_188() { 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_117() { + fn __bindgen_test_layout_Handle_instantiation_189() { 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_118() { + fn __bindgen_test_layout_Handle_instantiation_190() { 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_nsRefPtrHashKey_instantiation_119() { + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_191() { assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver> ) )); assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver> ) )); } #[test] - fn __bindgen_test_layout_nsDataHashtable_instantiation_120() { - assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u64; 6usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 6usize]>() , 8usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u64; 6usize] ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_121() { - 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_nsTArray_instantiation_122() { - assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_123() { - assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_124() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_125() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - } - #[test] - fn __bindgen_test_layout_SupportsWeakPtr_instantiation_126() { - assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( u64 ) - )); - assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - u64 ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_127() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_128() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsRect>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsRect> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsRect>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsRect> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_129() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsITimer>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsITimer> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsITimer>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsITimer> ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_130() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_131() { - assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsRefPtrHashKey<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIAtom>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsRefPtrHashKey<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_132() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_133() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIAtom>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsCOMPtr<root::nsIAtom>> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCOMPtr<root::nsIAtom>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsCOMPtr<root::nsIAtom>> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_134() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_135() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_136() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - } - #[test] - 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 ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - } - #[test] - 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 ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_139() { - 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_140() { - 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_141() { - 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_nsPIDOMWindow_instantiation_142() { - assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat - ! ( - "Size of template specialization: " , stringify ! ( - [u64; 29usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 29usize]>() , 8usize , concat - ! ( - "Alignment of template specialization: " , stringify ! ( - [u64; 29usize] ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_143() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIContent>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_144() { + fn __bindgen_test_layout_nsDataHashtable_instantiation_192() { assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! ( "Size of template specialization: " , stringify ! ( [u64; 6usize] ) )); assert_eq!(::std::mem::align_of::<[u64; 6usize]>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( [u64; 6usize] ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_145() { + fn __bindgen_test_layout_Handle_instantiation_193() { 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_nsTArray_instantiation_146() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_147() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIContent>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_148() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_149() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) - )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) - )); - } - #[test] - 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 ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - } - #[test] - 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 ! ( - root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) - )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) - )); - } - #[test] - fn __bindgen_test_layout_WeakPtr_instantiation_152() { + fn __bindgen_test_layout_nsTArray_instantiation_194() { + assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<*mut root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<*mut root::nsIContent> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_195() { + assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<*mut root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<*mut root::nsIContent> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_196() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_197() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + } + #[test] + fn __bindgen_test_layout_SupportsWeakPtr_instantiation_198() { assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u64 ) )); } #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_153() { - assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<::std::os::raw::c_void>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsPtrHashKey<::std::os::raw::c_void> ) )); - assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<::std::os::raw::c_void>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsPtrHashKey<::std::os::raw::c_void> ) )); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_154() { - assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::WeakFrame>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsPtrHashKey<root::WeakFrame> ) )); - assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<root::WeakFrame>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsPtrHashKey<root::WeakFrame> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_155() { - 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_OwningNonNull_instantiation_156() { - assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull<root::nsINode> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::OwningNonNull<root::nsINode>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull<root::nsINode> ) )); - } - #[test] - fn __bindgen_test_layout_OwningNonNull_instantiation_157() { - assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull<root::nsINode> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::OwningNonNull<root::nsINode>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull<root::nsINode> ) )); - } - #[test] - 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 ! ( - root::mozilla::OwningNonNull<root::nsINode> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::OwningNonNull<root::nsINode>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull<root::nsINode> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_159() { - assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - } - #[test] - 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 ! ( - root::JS::Handle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_161() { - 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_162() { - assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_163() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIWeakReference> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIWeakReference>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIWeakReference> ) )); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_164() { - assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<::std::os::raw::c_void>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsPtrHashKey<::std::os::raw::c_void> ) )); - assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<::std::os::raw::c_void>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsPtrHashKey<::std::os::raw::c_void> ) )); - } - #[test] - fn __bindgen_test_layout_PointTyped_instantiation_165() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - } - #[test] - fn __bindgen_test_layout_IntPointTyped_instantiation_166() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - } - #[test] - fn __bindgen_test_layout_SizeTyped_instantiation_167() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - } - #[test] - fn __bindgen_test_layout_RectTyped_instantiation_168() { - assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - } - #[test] - fn __bindgen_test_layout_IntPointTyped_instantiation_169() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - } - #[test] - fn __bindgen_test_layout_IntSizeTyped_instantiation_170() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - } - #[test] - fn __bindgen_test_layout_IntRectTyped_instantiation_171() { - assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - } - #[test] - fn __bindgen_test_layout_MarginTyped_instantiation_172() { - assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - } - #[test] - fn __bindgen_test_layout_RectTyped_instantiation_173() { - assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - } - #[test] - fn __bindgen_test_layout_IntRectTyped_instantiation_174() { - assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 4usize] ) )); - } - #[test] - fn __bindgen_test_layout_ScaleFactor_instantiation_175() { - assert_eq!(::std::mem::size_of::<u32>() , 4usize , concat ! ( - "Size of template specialization: " , stringify ! ( u32 ) - )); - assert_eq!(::std::mem::align_of::<u32>() , 4usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - u32 ) )); - } - #[test] - fn __bindgen_test_layout_ScaleFactors2D_instantiation_176() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - } - #[test] - fn __bindgen_test_layout_ScaleFactors2D_instantiation_177() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - } - #[test] - fn __bindgen_test_layout_ScaleFactors2D_instantiation_178() { - assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 2usize] ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_179() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIRunnable> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIRunnable>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIRunnable> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_180() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIRunnable> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIRunnable>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIRunnable> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_181() { + fn __bindgen_test_layout_already_AddRefed_instantiation_199() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIAtom> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIAtom> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_182() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_183() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIRunnable> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIRunnable>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIRunnable> ) )); - } - #[test] - fn __bindgen_test_layout_nsPIDOMWindow_instantiation_184() { - assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat - ! ( - "Size of template specialization: " , stringify ! ( - [u64; 29usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 29usize]>() , 8usize , concat - ! ( - "Alignment of template specialization: " , stringify ! ( - [u64; 29usize] ) )); - } - #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_185() { - assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_186() { - assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_187() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::CSSValue> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::CSSValue> ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_188() { + fn __bindgen_test_layout_nsTArray_instantiation_200() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsRect>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::nsRect> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsRect>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::nsRect> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_201() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsITimer>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsITimer> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsITimer>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsITimer> ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_202() { assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::DefaultDelete ) )); assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_189() { - assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u64; 6usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 6usize]>() , 8usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u64; 6usize] ) )); - } - #[test] - fn __bindgen_test_layout_Rooted_instantiation_190() { - assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u64; 3usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 3usize]>() , 8usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u64; 3usize] ) )); - } - #[test] - fn __bindgen_test_layout_Rooted_instantiation_191() { - assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u64; 3usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 3usize]>() , 8usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u64; 3usize] ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_192() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsISupports>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsISupports> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsISupports>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsISupports> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_193() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsISupports>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsISupports> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsISupports>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsISupports> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_194() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIRunnable> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIRunnable>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIRunnable> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_195() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_196() { - assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - } - #[test] - 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 ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_198() { - 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_199() { - assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_200() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_201() { - 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_RefPtr_instantiation_202() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_203() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_204() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_203() { + assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_instantiation_204() { + assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_nsTArray_instantiation_205() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>> - ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>> - ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_206() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIAtom>>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::nsCOMPtr<root::nsIAtom>> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCOMPtr<root::nsIAtom>>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::nsCOMPtr<root::nsIAtom>> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_206() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_207() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); } #[test] fn __bindgen_test_layout_already_AddRefed_instantiation_208() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_209() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_210() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + } + #[test] + 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 ! ( + 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_212() { + 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_213() { + 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_nsPIDOMWindow_instantiation_214() { + assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat + ! ( + "Size of template specialization: " , stringify ! ( + [u64; 29usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 29usize]>() , 8usize , concat + ! ( + "Alignment of template specialization: " , stringify ! ( + [u64; 29usize] ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_215() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIContent>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIContent> ) )); + } + #[test] + fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_216() { + assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u64; 6usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 6usize]>() , 8usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u64; 6usize] ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_217() { + 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_nsTArray_instantiation_218() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_219() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIContent>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIContent> ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_220() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_221() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) + )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) + )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_222() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_223() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) + )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::RefPtr<root::mozilla::StyleSheet>> ) + )); + } + #[test] + fn __bindgen_test_layout_WeakPtr_instantiation_224() { + assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( u64 ) + )); + assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + u64 ) )); + } + #[test] + fn __bindgen_test_layout_nsPtrHashKey_instantiation_225() { + assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<::std::os::raw::c_void>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsPtrHashKey<::std::os::raw::c_void> ) )); + assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<::std::os::raw::c_void>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsPtrHashKey<::std::os::raw::c_void> ) )); + } + #[test] + fn __bindgen_test_layout_nsPtrHashKey_instantiation_226() { + assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::WeakFrame>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsPtrHashKey<root::WeakFrame> ) )); + assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<root::WeakFrame>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsPtrHashKey<root::WeakFrame> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_227() { + 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_OwningNonNull_instantiation_228() { + assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull<root::nsINode> ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::OwningNonNull<root::nsINode>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull<root::nsINode> ) )); + } + #[test] + fn __bindgen_test_layout_OwningNonNull_instantiation_229() { + assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull<root::nsINode> ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::OwningNonNull<root::nsINode>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull<root::nsINode> ) )); + } + #[test] + fn __bindgen_test_layout_OwningNonNull_instantiation_230() { + assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull<root::nsINode> ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::OwningNonNull<root::nsINode>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull<root::nsINode> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_231() { + assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_232() { + assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_233() { + 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_234() { + assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_instantiation_235() { + assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIWeakReference> ) )); + assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIWeakReference>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIWeakReference> ) )); + } + #[test] + fn __bindgen_test_layout_nsPtrHashKey_instantiation_236() { + assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<::std::os::raw::c_void>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsPtrHashKey<::std::os::raw::c_void> ) )); + assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<::std::os::raw::c_void>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsPtrHashKey<::std::os::raw::c_void> ) )); + } + #[test] + fn __bindgen_test_layout_PointTyped_instantiation_237() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_IntPointTyped_instantiation_238() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_SizeTyped_instantiation_239() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_RectTyped_instantiation_240() { + assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + } + #[test] + fn __bindgen_test_layout_IntPointTyped_instantiation_241() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_IntSizeTyped_instantiation_242() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_IntRectTyped_instantiation_243() { + assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + } + #[test] + fn __bindgen_test_layout_MarginTyped_instantiation_244() { + assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + } + #[test] + fn __bindgen_test_layout_RectTyped_instantiation_245() { + assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + } + #[test] + fn __bindgen_test_layout_IntRectTyped_instantiation_246() { + assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 4usize] ) )); + } + #[test] + fn __bindgen_test_layout_ScaleFactor_instantiation_247() { + assert_eq!(::std::mem::size_of::<u32>() , 4usize , concat ! ( + "Size of template specialization: " , stringify ! ( u32 ) + )); + assert_eq!(::std::mem::align_of::<u32>() , 4usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + u32 ) )); + } + #[test] + fn __bindgen_test_layout_ScaleFactors2D_instantiation_248() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_ScaleFactors2D_instantiation_249() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_ScaleFactors2D_instantiation_250() { + assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 2usize] ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_251() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIRunnable> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIRunnable>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIRunnable> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_252() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIRunnable> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIRunnable>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIRunnable> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_253() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_254() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_255() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIRunnable> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIRunnable>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIRunnable> ) )); + } + #[test] + fn __bindgen_test_layout_nsPIDOMWindow_instantiation_256() { + assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat + ! ( + "Size of template specialization: " , stringify ! ( + [u64; 29usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 29usize]>() , 8usize , concat + ! ( + "Alignment of template specialization: " , stringify ! ( + [u64; 29usize] ) )); + } + #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_257() { + assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_258() { + assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_259() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::CSSValue> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::CSSValue> ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_260() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_nsRefPtrHashtable_instantiation_261() { + assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u64; 6usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 6usize]>() , 8usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u64; 6usize] ) )); + } + #[test] + fn __bindgen_test_layout_Rooted_instantiation_262() { + assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u64; 3usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 3usize]>() , 8usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u64; 3usize] ) )); + } + #[test] + fn __bindgen_test_layout_Rooted_instantiation_263() { + assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u64; 3usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 3usize]>() , 8usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u64; 3usize] ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_264() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsISupports>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsISupports> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsISupports>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsISupports> ) )); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_instantiation_265() { + assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsISupports>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsISupports> ) )); + assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsISupports>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsISupports> ) )); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_instantiation_266() { + assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIRunnable> ) )); + assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIRunnable>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIRunnable> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_267() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_268() { + assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_269() { + assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_270() { + 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_271() { + assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_272() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_273() { + 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_RefPtr_instantiation_274() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_275() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_276() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_277() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>> + ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::RefPtr<root::mozilla::css::SheetLoadData>> + ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_278() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_279() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_280() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::nsIURI> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_209() { + fn __bindgen_test_layout_Handle_instantiation_281() { 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_nsTArray_instantiation_210() { + fn __bindgen_test_layout_nsTArray_instantiation_282() { assert_eq!(::std::mem::size_of::<root::nsTArray<f64>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<f64> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<f64>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<f64> ) )); } #[test] - fn __bindgen_test_layout_RefPtr_instantiation_211() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry> - ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry> - ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_212() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>> - ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>> - ) )); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_213() { - assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::mozilla::dom::Element>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsPtrHashKey<root::mozilla::dom::Element> ) )); - assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<root::mozilla::dom::Element>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsPtrHashKey<root::mozilla::dom::Element> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_214() { + fn __bindgen_test_layout_RefPtr_instantiation_283() { assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry> ) )); assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry> ) )); } #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_215() { + fn __bindgen_test_layout_nsTArray_instantiation_284() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>> + ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>> + ) )); + } + #[test] + fn __bindgen_test_layout_nsPtrHashKey_instantiation_285() { + assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::mozilla::dom::Element>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsPtrHashKey<root::mozilla::dom::Element> ) )); + assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<root::mozilla::dom::Element>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsPtrHashKey<root::mozilla::dom::Element> ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_286() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry> + ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry> + ) )); + } + #[test] + fn __bindgen_test_layout_UniquePtr_instantiation_287() { assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::ProfilerBacktrace>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::ProfilerBacktrace> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::ProfilerBacktrace>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::UniquePtr<root::ProfilerBacktrace> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_216() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_217() { - assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_218() { - assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_219() { - assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_220() { - assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_221() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_nsDataHashtable_instantiation_222() { - assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u64; 6usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 6usize]>() , 8usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u64; 6usize] ) )); - } - #[test] - fn __bindgen_test_layout_OwningNonNull_instantiation_223() { - assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor> - ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor> - ) )); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_224() { - assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsRefPtrHashKey<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIAtom>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsRefPtrHashKey<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_225() { - assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIContent>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsRefPtrHashKey<root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIContent>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsRefPtrHashKey<root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_226() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIRunnable> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIRunnable>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIRunnable> ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_227() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_228() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::URLExtraData> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::URLExtraData> ) )); - } - #[test] - fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_229() { - assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>() - , 32usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsMainThreadPtrHolder<root::nsIURI> ) )); - assert_eq!(::std::mem::align_of::<root::nsMainThreadPtrHolder<root::nsIURI>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsMainThreadPtrHolder<root::nsIURI> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_230() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::URLExtraData> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::URLExtraData> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_231() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_232() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_233() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::URLExtraData> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::URLExtraData> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_234() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::URLExtraData> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::URLExtraData> ) )); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_instantiation_235() { - assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::nsIDocument>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsPtrHashKey<root::nsIDocument> ) )); - assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<root::nsIDocument>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsPtrHashKey<root::nsIDocument> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_236() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_237() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_238() { - assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsCSSValueList> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsCSSValueList> ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_239() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_240() { - assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsCSSValuePairList> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsCSSValuePairList> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_241() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsStringBuffer> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsStringBuffer>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsStringBuffer> ) )); - } - #[test] - fn __bindgen_test_layout_SupportsWeakPtr_instantiation_242() { - assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( u64 ) - )); - assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - u64 ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_243() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_244() { + fn __bindgen_test_layout_nsTArray_instantiation_288() { assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_245() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_246() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - } - #[test] - fn __bindgen_test_layout_Maybe_instantiation_247() { - assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - } - #[test] - fn __bindgen_test_layout_Maybe_instantiation_248() { - assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_249() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStyleImageRequest>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsStyleImageRequest> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsStyleImageRequest>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsStyleImageRequest> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_250() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_251() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_252() { - assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsStyleSides> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsStyleSides>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsStyleSides> ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_253() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_254() { - assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsStyleSides> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsStyleSides>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsStyleSides> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_255() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - } - #[test] - fn __bindgen_test_layout_Maybe_instantiation_256() { - assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! - ( - "Size of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! - ( - "Alignment of template specialization: " , stringify ! ( - [u32; 3usize] ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_257() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_258() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_pair_instantiation_259() { - assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>() - , 32usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_260() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr, - ::nsstring::nsStringRepr>>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>> - ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr, - ::nsstring::nsStringRepr>>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>> - ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_261() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsIURI> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_262() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_263() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleCoord>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsStyleCoord> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsStyleCoord>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsStyleCoord> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_264() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleCoord>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::nsStyleCoord> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsStyleCoord>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::nsStyleCoord> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_265() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIAtom> ) )); - } - #[test] - fn __bindgen_test_layout_nsStyleAutoArray_instantiation_266() { - assert_eq!(::std::mem::size_of::<root::nsStyleAutoArray<root::mozilla::StyleAnimation>>() - , 64usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsStyleAutoArray<root::mozilla::StyleAnimation> ) )); - assert_eq!(::std::mem::align_of::<root::nsStyleAutoArray<root::mozilla::StyleAnimation>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsStyleAutoArray<root::mozilla::StyleAnimation> ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_267() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_268() { - assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsCSSValueList> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsCSSValueList> ) )); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_instantiation_269() { - assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , - 1usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::DefaultDelete ) )); - } - #[test] - fn __bindgen_test_layout_UniquePtr_instantiation_270() { - assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsCSSValuePairList> ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::UniquePtr<root::nsCSSValuePairList> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_271() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - } - #[test] - fn __bindgen_test_layout_RefPtr_instantiation_272() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::StyleSheet> ) )); - } - #[test] - fn __bindgen_test_layout_NonNull_instantiation_273() { - assert_eq!(::std::mem::size_of::<root::mozilla::dom::NonNull<root::mozilla::dom::Element>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::dom::NonNull<root::mozilla::dom::Element> ) - )); - assert_eq!(::std::mem::align_of::<root::mozilla::dom::NonNull<root::mozilla::dom::Element>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::dom::NonNull<root::mozilla::dom::Element> ) - )); - } - #[test] - fn __bindgen_test_layout_NonNull_instantiation_274() { - assert_eq!(::std::mem::size_of::<root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement> - ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement> - ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_275() { - 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_276() { + fn __bindgen_test_layout_Handle_instantiation_289() { + assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_290() { assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_Maybe_instantiation_277() { - assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat - ! ( - "Size of template specialization: " , stringify ! ( - [u64; 18usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 18usize]>() , 8usize , concat - ! ( - "Alignment of template specialization: " , stringify ! ( - [u64; 18usize] ) )); - } - #[test] - fn __bindgen_test_layout_Maybe_instantiation_278() { - assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat - ! ( - "Size of template specialization: " , stringify ! ( - [u64; 18usize] ) )); - assert_eq!(::std::mem::align_of::<[u64; 18usize]>() , 8usize , concat - ! ( - "Alignment of template specialization: " , stringify ! ( - [u64; 18usize] ) )); - } - #[test] - fn __bindgen_test_layout_BaseTimeDuration_instantiation_279() { - assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::BaseTimeDuration ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::BaseTimeDuration>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::BaseTimeDuration ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_280() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_281() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_282() { - assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_283() { - assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<*mut root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_instantiation_284() { - assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIContent>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIContent> ) )); - assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIContent>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsCOMPtr<root::nsIContent> ) )); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_285() { - assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver> - ) )); - assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver> - ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_286() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_287() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect> - ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect> - ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_288() { - 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_289() { - 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_RefPtr_instantiation_290() { - assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMRect>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::dom::DOMRect> ) )); - assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::DOMRect>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::RefPtr<root::mozilla::dom::DOMRect> ) )); - } - #[test] fn __bindgen_test_layout_Handle_instantiation_291() { assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::Handle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( @@ -37021,198 +36170,1002 @@ pub mod root { "Size of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_Sequence_instantiation_293() { - assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( u64 ) - )); - assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - u64 ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_294() { - assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_Sequence_instantiation_295() { - assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( u64 ) - )); - assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - u64 ) )); - } - #[test] - fn __bindgen_test_layout_Sequence_instantiation_296() { + fn __bindgen_test_layout_already_AddRefed_instantiation_293() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_nsDataHashtable_instantiation_294() { + assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u64; 6usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 6usize]>() , 8usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u64; 6usize] ) )); + } + #[test] + fn __bindgen_test_layout_OwningNonNull_instantiation_295() { + assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor> + ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor> + ) )); + } + #[test] + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_296() { + assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_297() { + assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIContent>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIContent>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::nsIContent> ) )); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_instantiation_298() { + assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIRunnable> ) )); + assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIRunnable>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIRunnable> ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_299() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_300() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::URLExtraData> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::URLExtraData> ) )); + } + #[test] + fn __bindgen_test_layout_nsMainThreadPtrHolder_instantiation_301() { + assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>() + , 32usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsMainThreadPtrHolder<root::nsIURI> ) )); + assert_eq!(::std::mem::align_of::<root::nsMainThreadPtrHolder<root::nsIURI>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsMainThreadPtrHolder<root::nsIURI> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_302() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::URLExtraData> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::URLExtraData> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_303() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_304() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_305() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::URLExtraData> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::URLExtraData> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_306() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::URLExtraData> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::URLExtraData> ) )); + } + #[test] + fn __bindgen_test_layout_nsPtrHashKey_instantiation_307() { + assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::nsIDocument>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsPtrHashKey<root::nsIDocument> ) )); + assert_eq!(::std::mem::align_of::<root::nsPtrHashKey<root::nsIDocument>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsPtrHashKey<root::nsIDocument> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_308() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_309() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_UniquePtr_instantiation_310() { + assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsCSSValueList> ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsCSSValueList> ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_311() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_UniquePtr_instantiation_312() { + assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsCSSValuePairList> ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsCSSValuePairList> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_313() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsStringBuffer> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsStringBuffer>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsStringBuffer> ) )); + } + #[test] + fn __bindgen_test_layout_SupportsWeakPtr_instantiation_314() { assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( u64 ) )); assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u64 ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_297() { - assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_298() { + fn __bindgen_test_layout_nsTArray_instantiation_315() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_316() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_317() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_318() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + } + #[test] + fn __bindgen_test_layout_Maybe_instantiation_319() { + assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + } + #[test] + fn __bindgen_test_layout_Maybe_instantiation_320() { + assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_321() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStyleImageRequest>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsStyleImageRequest> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsStyleImageRequest>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsStyleImageRequest> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_322() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIAtom>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_323() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_UniquePtr_instantiation_324() { + assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsStyleSides> ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsStyleSides>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsStyleSides> ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_325() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_UniquePtr_instantiation_326() { + assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsStyleSides> ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsStyleSides>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsStyleSides> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_327() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + } + #[test] + fn __bindgen_test_layout_Maybe_instantiation_328() { + assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! + ( + "Size of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + assert_eq!(::std::mem::align_of::<[u32; 3usize]>() , 4usize , concat ! + ( + "Alignment of template specialization: " , stringify ! ( + [u32; 3usize] ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_329() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_330() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_pair_instantiation_331() { + assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>() + , 32usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_332() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr, + ::nsstring::nsStringRepr>>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>> + ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr, + ::nsstring::nsStringRepr>>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>> + ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_333() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsIURI>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::nsIURI> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_334() { + assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::nsstring::nsStringRepr> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_335() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleCoord>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::nsStyleCoord> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsStyleCoord>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::nsStyleCoord> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_336() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsStyleCoord>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::nsStyleCoord> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsStyleCoord>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::nsStyleCoord> ) )); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_instantiation_337() { + assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIAtom>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIAtom> ) )); + assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIAtom>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIAtom> ) )); + } + #[test] + fn __bindgen_test_layout_nsStyleAutoArray_instantiation_338() { + assert_eq!(::std::mem::size_of::<root::nsStyleAutoArray<root::mozilla::StyleAnimation>>() + , 64usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsStyleAutoArray<root::mozilla::StyleAnimation> ) )); + assert_eq!(::std::mem::align_of::<root::nsStyleAutoArray<root::mozilla::StyleAnimation>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsStyleAutoArray<root::mozilla::StyleAnimation> ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_339() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_UniquePtr_instantiation_340() { + assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsCSSValueList> ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsCSSValueList>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsCSSValueList> ) )); + } + #[test] + fn __bindgen_test_layout_DefaultDelete_instantiation_341() { + assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , + 1usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::DefaultDelete ) )); + } + #[test] + fn __bindgen_test_layout_UniquePtr_instantiation_342() { + assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsCSSValuePairList> ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::UniquePtr<root::nsCSSValuePairList> ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_343() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + } + #[test] + fn __bindgen_test_layout_RefPtr_instantiation_344() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::StyleSheet>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::StyleSheet> ) )); + } + #[test] + fn __bindgen_test_layout_NonNull_instantiation_345() { + assert_eq!(::std::mem::size_of::<root::mozilla::dom::NonNull<root::mozilla::dom::Element>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::dom::NonNull<root::mozilla::dom::Element> ) + )); + assert_eq!(::std::mem::align_of::<root::mozilla::dom::NonNull<root::mozilla::dom::Element>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::dom::NonNull<root::mozilla::dom::Element> ) + )); + } + #[test] + fn __bindgen_test_layout_NonNull_instantiation_346() { + assert_eq!(::std::mem::size_of::<root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement> + ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::dom::NonNull<root::mozilla::dom::CSSPseudoElement> + ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_347() { 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_299() { - assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_300() { - assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::Handle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_301() { + fn __bindgen_test_layout_MutableHandle_instantiation_348() { assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_302() { + fn __bindgen_test_layout_Maybe_instantiation_349() { + assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat + ! ( + "Size of template specialization: " , stringify ! ( + [u64; 18usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 18usize]>() , 8usize , concat + ! ( + "Alignment of template specialization: " , stringify ! ( + [u64; 18usize] ) )); + } + #[test] + fn __bindgen_test_layout_Maybe_instantiation_350() { + assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat + ! ( + "Size of template specialization: " , stringify ! ( + [u64; 18usize] ) )); + assert_eq!(::std::mem::align_of::<[u64; 18usize]>() , 8usize , concat + ! ( + "Alignment of template specialization: " , stringify ! ( + [u64; 18usize] ) )); + } + #[test] + fn __bindgen_test_layout_BaseTimeDuration_instantiation_351() { + assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::mozilla::BaseTimeDuration ) )); + assert_eq!(::std::mem::align_of::<root::mozilla::BaseTimeDuration>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::mozilla::BaseTimeDuration ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_352() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_353() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_354() { + assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<*mut root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<*mut root::nsIContent> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_355() { + assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<*mut root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<*mut root::nsIContent> ) )); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_instantiation_356() { + assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIContent>>() , + 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIContent> ) )); + assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIContent>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsCOMPtr<root::nsIContent> ) )); + } + #[test] + fn __bindgen_test_layout_nsRefPtrHashKey_instantiation_357() { + assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>() + , 16usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver> + ) )); + assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsRefPtrHashKey<root::mozilla::dom::DOMIntersectionObserver> + ) )); + } + #[test] + fn __bindgen_test_layout_already_AddRefed_instantiation_358() { + assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::already_AddRefed<root::mozilla::dom::NodeInfo> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_instantiation_359() { + assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect> + ) )); + assert_eq!(::std::mem::align_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect> + ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_360() { + 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_361() { 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_nsRefPtrHashKey_instantiation_303() { + fn __bindgen_test_layout_RefPtr_instantiation_362() { + assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMRect>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::dom::DOMRect> ) )); + assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::DOMRect>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr<root::mozilla::dom::DOMRect> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_363() { + assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_364() { + assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_Sequence_instantiation_365() { + assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( u64 ) + )); + assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + u64 ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_366() { + assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_Sequence_instantiation_367() { + assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( u64 ) + )); + assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + u64 ) )); + } + #[test] + fn __bindgen_test_layout_Sequence_instantiation_368() { + assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( u64 ) + )); + assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + u64 ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_369() { + assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_370() { + 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_371() { + assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_372() { + assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::Handle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_MutableHandle_instantiation_373() { + assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::JS::MutableHandle<root::JS::Value> ) )); + } + #[test] + fn __bindgen_test_layout_Handle_instantiation_374() { + 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_nsRefPtrHashKey_instantiation_375() { assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::mozilla::dom::Element>>() , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsRefPtrHashKey<root::mozilla::dom::Element> ) )); assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::mozilla::dom::Element>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsRefPtrHashKey<root::mozilla::dom::Element> ) )); } #[test] - fn __bindgen_test_layout_nsClassHashtable_instantiation_304() { + fn __bindgen_test_layout_nsClassHashtable_instantiation_376() { assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat ! ( "Size of template specialization: " , stringify ! ( [u64; 6usize] ) )); assert_eq!(::std::mem::align_of::<[u64; 6usize]>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( [u64; 6usize] ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_305() { + fn __bindgen_test_layout_Handle_instantiation_377() { 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_nsTArray_instantiation_306() { + fn __bindgen_test_layout_nsTArray_instantiation_378() { assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_307() { + fn __bindgen_test_layout_already_AddRefed_instantiation_379() { assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::already_AddRefed<root::mozilla::dom::CSSValue> ) )); assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::already_AddRefed<root::mozilla::dom::CSSValue> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_308() { + fn __bindgen_test_layout_Handle_instantiation_380() { 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_nsTArray_instantiation_309() { + fn __bindgen_test_layout_nsTArray_instantiation_381() { assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); } #[test] - fn __bindgen_test_layout_nsAutoPtr_instantiation_310() { + fn __bindgen_test_layout_nsAutoPtr_instantiation_382() { assert_eq!(::std::mem::size_of::<root::nsAutoPtr<root::nsMediaQuery>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsAutoPtr<root::nsMediaQuery> ) )); assert_eq!(::std::mem::align_of::<root::nsAutoPtr<root::nsMediaQuery>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsAutoPtr<root::nsMediaQuery> ) ));
--- a/servo/components/style/gecko/generated/structs_release.rs +++ b/servo/components/style/gecko/generated/structs_release.rs @@ -970,17 +970,16 @@ pub mod root { pub const NS_STYLE_SCROLL_SNAP_TYPE_PROXIMITY: ::std::os::raw::c_uint = 2; pub const NS_STYLE_ORIENTATION_PORTRAIT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_ORIENTATION_LANDSCAPE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_SCAN_PROGRESSIVE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SCAN_INTERLACE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_DISPLAY_MODE_BROWSER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_DISPLAY_MODE_MINIMAL_UI: ::std::os::raw::c_uint = 1; pub const NS_STYLE_DISPLAY_MODE_STANDALONE: ::std::os::raw::c_uint = 2; - pub const NS_STYLE_DISPLAY_MODE_FULLSCREEN: ::std::os::raw::c_uint = 3; pub const CSS_PSEUDO_ELEMENT_IS_CSS2: ::std::os::raw::c_uint = 1; pub const CSS_PSEUDO_ELEMENT_CONTAINS_ELEMENTS: ::std::os::raw::c_uint = 2; pub const CSS_PSEUDO_ELEMENT_SUPPORTS_STYLE_ATTRIBUTE: ::std::os::raw::c_uint = 4; pub const CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE: ::std::os::raw::c_uint = @@ -1041,29 +1040,16 @@ pub mod root { pub struct pair<_T1, _T2> { pub first: _T1, pub second: _T2, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_T1>>, pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<_T2>>, } pub type pair_first_type<_T1> = _T1; pub type pair_second_type<_T2> = _T2; - pub type pair__EnableB = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct pair__CheckArgs { - pub _address: u8, - } - pub type pair__CheckArgsDep = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct pair__CheckTupleLikeConstructor { - pub _address: u8, - } - pub type pair__CheckTLC = u8; #[repr(C)] #[derive(Debug, Copy)] pub struct input_iterator_tag { pub _address: u8, } #[test] fn bindgen_test_layout_input_iterator_tag() { assert_eq!(::std::mem::size_of::<input_iterator_tag>() , 1usize , @@ -1073,108 +1059,57 @@ pub mod root { , concat ! ( "Alignment of " , stringify ! ( input_iterator_tag ) )); } impl Clone for input_iterator_tag { fn clone(&self) -> Self { *self } } #[repr(C)] - #[derive(Debug, Copy)] - pub struct forward_iterator_tag { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_forward_iterator_tag() { - assert_eq!(::std::mem::size_of::<forward_iterator_tag>() , 1usize - , concat ! ( - "Size of: " , stringify ! ( forward_iterator_tag ) )); - assert_eq! (::std::mem::align_of::<forward_iterator_tag>() , - 1usize , concat ! ( - "Alignment of " , stringify ! ( forward_iterator_tag ) - )); - } - impl Clone for forward_iterator_tag { - fn clone(&self) -> Self { *self } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct bidirectional_iterator_tag { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_bidirectional_iterator_tag() { - assert_eq!(::std::mem::size_of::<bidirectional_iterator_tag>() , - 1usize , concat ! ( - "Size of: " , stringify ! ( bidirectional_iterator_tag - ) )); - assert_eq! (::std::mem::align_of::<bidirectional_iterator_tag>() , - 1usize , concat ! ( - "Alignment of " , stringify ! ( - bidirectional_iterator_tag ) )); - } - impl Clone for bidirectional_iterator_tag { - fn clone(&self) -> Self { *self } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct random_access_iterator_tag { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_random_access_iterator_tag() { - assert_eq!(::std::mem::size_of::<random_access_iterator_tag>() , - 1usize , concat ! ( - "Size of: " , stringify ! ( random_access_iterator_tag - ) )); - assert_eq! (::std::mem::align_of::<random_access_iterator_tag>() , - 1usize , concat ! ( - "Alignment of " , stringify ! ( - random_access_iterator_tag ) )); - } - impl Clone for random_access_iterator_tag { - fn clone(&self) -> Self { *self } - } - #[repr(C)] - pub struct iterator_traits { - pub _address: u8, - } - #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct iterator { 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; - 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_iterator_type<_Iter> = _Iter; + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct __iterator_traits { + pub _address: u8, + } + #[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 type reverse_iterator___traits_type = root::std::iterator_traits; + pub type reverse_iterator_iterator_type<_Iterator> = _Iterator; pub type reverse_iterator_difference_type = - root::std::iterator_traits; - pub type reverse_iterator_reference = root::std::iterator_traits; - pub type reverse_iterator_pointer = root::std::iterator_traits; + 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; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct atomic { } - 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 mod mozilla { #[allow(unused_imports)] use self::super::super::root; #[repr(C)] #[derive(Debug, Copy)] pub struct fallible_t { pub _address: u8, @@ -1208,19 +1143,18 @@ pub mod root { root::mozilla::detail::nsStringRepr; pub type nsStringRepr_base_string_type = root::mozilla::detail::nsStringRepr_self_type; pub type nsStringRepr_substring_type = root::nsAString; pub type nsStringRepr_substring_tuple_type = root::nsSubstringTuple; pub type nsStringRepr_string_type = ::nsstring::nsStringRepr; pub type nsStringRepr_const_iterator = - root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type>; - pub type nsStringRepr_iterator = - root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type>; + root::nsReadingIterator<u16>; + pub type nsStringRepr_iterator = root::nsWritingIterator<u16>; pub type nsStringRepr_comparator_type = root::nsStringComparator; pub type nsStringRepr_char_iterator = *mut root::mozilla::detail::nsStringRepr_char_type; pub type nsStringRepr_const_char_iterator = *const root::mozilla::detail::nsStringRepr_char_type; pub type nsStringRepr_index_type = u32; pub type nsStringRepr_size_type = u32; pub const nsStringRepr_F_NONE: @@ -1300,19 +1234,19 @@ pub mod root { root::mozilla::detail::nsCStringRepr; pub type nsCStringRepr_base_string_type = root::mozilla::detail::nsCStringRepr_self_type; pub type nsCStringRepr_substring_type = root::nsACString; pub type nsCStringRepr_substring_tuple_type = root::nsCSubstringTuple; pub type nsCStringRepr_string_type = root::nsCString; pub type nsCStringRepr_const_iterator = - root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type>; + root::nsReadingIterator<::std::os::raw::c_char>; pub type nsCStringRepr_iterator = - root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type>; + root::nsWritingIterator<::std::os::raw::c_char>; pub type nsCStringRepr_comparator_type = root::nsCStringComparator; pub type nsCStringRepr_char_iterator = *mut root::mozilla::detail::nsCStringRepr_char_type; pub type nsCStringRepr_const_char_iterator = *const root::mozilla::detail::nsCStringRepr_char_type; pub type nsCStringRepr_index_type = u32; pub type nsCStringRepr_size_type = u32; @@ -1398,26 +1332,26 @@ pub mod root { pub type LinkedListElementTraits_ConstClientType<T> = *mut T; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct WeakReference { } #[repr(C)] #[derive(Debug)] pub struct MutexImpl { - pub platformData_: [*mut ::std::os::raw::c_void; 8usize], + pub platformData_: [*mut ::std::os::raw::c_void; 5usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct MutexImpl_PlatformData { _unused: [u8; 0], } #[test] fn bindgen_test_layout_MutexImpl() { - assert_eq!(::std::mem::size_of::<MutexImpl>() , 64usize , + assert_eq!(::std::mem::size_of::<MutexImpl>() , 40usize , concat ! ( "Size of: " , stringify ! ( MutexImpl ) )); assert_eq! (::std::mem::align_of::<MutexImpl>() , 8usize , concat ! ( "Alignment of " , stringify ! ( MutexImpl ) )); assert_eq! (unsafe { & ( * ( 0 as * const MutexImpl ) ) . platformData_ as * const _ as usize } , 0usize , concat ! ( @@ -2190,17 +2124,17 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct DocumentRule { _unused: [u8; 0], } } #[repr(C)] - #[derive(Debug, Copy)] + #[derive(Debug)] pub struct ThreadSafeAutoRefCnt { pub mValue: u64, } pub const ThreadSafeAutoRefCnt_isThreadSafe: bool = true; #[test] fn bindgen_test_layout_ThreadSafeAutoRefCnt() { assert_eq!(::std::mem::size_of::<ThreadSafeAutoRefCnt>() , 8usize , concat ! ( @@ -2211,19 +2145,16 @@ pub mod root { )); assert_eq! (unsafe { & ( * ( 0 as * const ThreadSafeAutoRefCnt ) ) . mValue as * const _ as usize } , 0usize , concat ! ( "Alignment of field: " , stringify ! ( ThreadSafeAutoRefCnt ) , "::" , stringify ! ( mValue ) )); } - impl Clone for ThreadSafeAutoRefCnt { - fn clone(&self) -> Self { *self } - } #[repr(C)] #[derive(Debug)] pub struct OwningNonNull<T> { pub mPtr: root::RefPtr<T>, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>, } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -8051,17 +7982,17 @@ pub mod root { */ #[repr(C)] #[derive(Debug)] pub struct OffTheBooksMutex { pub _base: root::mozilla::detail::MutexImpl, } #[test] fn bindgen_test_layout_OffTheBooksMutex() { - assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 64usize , + assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 40usize , concat ! ( "Size of: " , stringify ! ( OffTheBooksMutex ) )); assert_eq! (::std::mem::align_of::<OffTheBooksMutex>() , 8usize , concat ! ( "Alignment of " , stringify ! ( OffTheBooksMutex ) )); } /** * Mutex @@ -8070,17 +8001,17 @@ pub mod root { */ #[repr(C)] #[derive(Debug)] pub struct Mutex { pub _base: root::mozilla::OffTheBooksMutex, } #[test] fn bindgen_test_layout_Mutex() { - assert_eq!(::std::mem::size_of::<Mutex>() , 64usize , concat ! ( + assert_eq!(::std::mem::size_of::<Mutex>() , 40usize , concat ! ( "Size of: " , stringify ! ( Mutex ) )); assert_eq! (::std::mem::align_of::<Mutex>() , 8usize , concat ! ( "Alignment of " , stringify ! ( Mutex ) )); } pub mod image { #[allow(unused_imports)] use self::super::super::super::root; #[repr(C)] @@ -8889,18 +8820,18 @@ pub mod root { * etc... */ #[repr(C)] #[derive(Debug)] pub struct ServoElementSnapshot { pub mAttrs: root::nsTArray<root::mozilla::ServoAttrSnapshot>, pub mState: root::mozilla::ServoElementSnapshot_ServoStateType, pub mContains: root::mozilla::ServoElementSnapshot_Flags, - pub mIsHTMLElementInHTMLDocument: bool, - pub mIsInChromeDocument: bool, + pub _bitfield_1: u8, + pub __bindgen_padding_0: [u16; 3usize], } pub type ServoElementSnapshot_BorrowedAttrInfo = root::mozilla::dom::BorrowedAttrInfo; pub type ServoElementSnapshot_Element = root::mozilla::dom::Element; pub type ServoElementSnapshot_ServoStateType = root::mozilla::EventStates_ServoType; pub use self::super::super::root::mozilla::ServoElementSnapshotFlags as ServoElementSnapshot_Flags; @@ -8927,30 +8858,115 @@ pub mod root { )); assert_eq! (unsafe { & ( * ( 0 as * const ServoElementSnapshot ) ) . mContains as * const _ as usize } , 16usize , concat ! ( "Alignment of field: " , stringify ! ( ServoElementSnapshot ) , "::" , stringify ! ( mContains ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const ServoElementSnapshot ) ) . - mIsHTMLElementInHTMLDocument as * const _ as usize } , - 17usize , concat ! ( - "Alignment of field: " , stringify ! ( - ServoElementSnapshot ) , "::" , stringify ! ( - mIsHTMLElementInHTMLDocument ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const ServoElementSnapshot ) ) . - mIsInChromeDocument as * const _ as usize } , 18usize - , concat ! ( - "Alignment of field: " , stringify ! ( - ServoElementSnapshot ) , "::" , stringify ! ( - mIsInChromeDocument ) )); + } + impl ServoElementSnapshot { + #[inline] + pub fn mIsHTMLElementInHTMLDocument(&self) -> bool { + let mask = 1usize as u8; + let unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + let val = (unit_field_val & mask) >> 0usize; + unsafe { ::std::mem::transmute(val as u8) } + } + #[inline] + pub fn set_mIsHTMLElementInHTMLDocument(&mut self, val: bool) { + let mask = 1usize as u8; + let val = val as u8 as u8; + let mut unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + unit_field_val &= !mask; + unit_field_val |= (val << 0usize) & mask; + self._bitfield_1 = + unsafe { ::std::mem::transmute(unit_field_val) }; + } + #[inline] + pub fn mIsInChromeDocument(&self) -> bool { + let mask = 2usize as u8; + let unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + let val = (unit_field_val & mask) >> 1usize; + unsafe { ::std::mem::transmute(val as u8) } + } + #[inline] + pub fn set_mIsInChromeDocument(&mut self, val: bool) { + let mask = 2usize as u8; + let val = val as u8 as u8; + let mut unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + unit_field_val &= !mask; + unit_field_val |= (val << 1usize) & mask; + self._bitfield_1 = + unsafe { ::std::mem::transmute(unit_field_val) }; + } + #[inline] + pub fn mIsTableBorderNonzero(&self) -> bool { + let mask = 4usize as u8; + let unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + let val = (unit_field_val & mask) >> 2usize; + unsafe { ::std::mem::transmute(val as u8) } + } + #[inline] + pub fn set_mIsTableBorderNonzero(&mut self, val: bool) { + let mask = 4usize as u8; + let val = val as u8 as u8; + let mut unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + unit_field_val &= !mask; + unit_field_val |= (val << 2usize) & mask; + self._bitfield_1 = + unsafe { ::std::mem::transmute(unit_field_val) }; + } + #[inline] + pub fn mIsMozBrowserFrame(&self) -> bool { + let mask = 8usize as u8; + let unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + let val = (unit_field_val & mask) >> 3usize; + unsafe { ::std::mem::transmute(val as u8) } + } + #[inline] + pub fn set_mIsMozBrowserFrame(&mut self, val: bool) { + let mask = 8usize as u8; + let val = val as u8 as u8; + let mut unit_field_val: u8 = + unsafe { ::std::mem::transmute(self._bitfield_1) }; + unit_field_val &= !mask; + unit_field_val |= (val << 3usize) & mask; + self._bitfield_1 = + unsafe { ::std::mem::transmute(unit_field_val) }; + } + #[inline] + pub fn new_bitfield_1(mIsHTMLElementInHTMLDocument: bool, + mIsInChromeDocument: bool, + mIsTableBorderNonzero: bool, + mIsMozBrowserFrame: bool) -> u8 { + ({ + ({ + ({ + ({ 0 } | + ((mIsHTMLElementInHTMLDocument as u8 as + u8) << 0usize) & (1usize as u8)) + } | + ((mIsInChromeDocument as u8 as u8) << 1usize) & + (2usize as u8)) + } | + ((mIsTableBorderNonzero as u8 as u8) << 2usize) & + (4usize as u8)) + } | + ((mIsMozBrowserFrame as u8 as u8) << 3usize) & + (8usize as u8)) + } } #[repr(C)] #[derive(Debug)] pub struct AnimationPropertySegment { pub mFromKey: f32, pub mToKey: f32, pub mFromValue: root::mozilla::AnimationValue, pub mToValue: root::mozilla::AnimationValue, @@ -9194,18 +9210,16 @@ pub mod root { assert_eq! (unsafe { & ( * ( 0 as * const PropertyStyleAnimationValuePair ) ) . mValue as * const _ as usize } , 8usize , concat ! ( "Alignment of field: " , stringify ! ( PropertyStyleAnimationValuePair ) , "::" , stringify ! ( mValue ) )); } - pub type ComputedKeyframeValues = - root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>; #[test] fn __bindgen_test_layout_DefaultDelete_instantiation_3() { assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::DefaultDelete ) )); assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete>() , 1usize , concat ! ( @@ -9724,16 +9738,17 @@ pub mod root { * contains. */ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum ServoElementSnapshotFlags { State = 1, Attributes = 2, Id = 4, MaybeClass = 8, + OtherPseudoClassState = 16, } #[repr(C)] #[derive(Debug, Copy)] pub struct NonOwningAnimationTarget { pub mElement: *mut root::mozilla::dom::Element, pub mPseudoType: root::mozilla::CSSPseudoElementType, } #[test] @@ -12876,21 +12891,16 @@ pub mod root { assert_eq! (unsafe { & ( * ( 0 as * const AutoSetAsyncStackForNewCalls ) ) . oldAsyncCallIsExplicit as * const _ as usize } , 40usize , concat ! ( "Alignment of field: " , stringify ! ( AutoSetAsyncStackForNewCalls ) , "::" , stringify ! ( oldAsyncCallIsExplicit ) )); } - pub type WarningReporter = - ::std::option::Option<unsafe extern "C" fn(cx: - *mut root::JSContext, - report: - *mut root::JSErrorReport)>; #[repr(C)] #[derive(Debug)] pub struct AutoHideScriptedCaller { pub mContext: *mut root::JSContext, } #[test] fn bindgen_test_layout_AutoHideScriptedCaller() { assert_eq!(::std::mem::size_of::<AutoHideScriptedCaller>() , @@ -13034,113 +13044,16 @@ pub mod root { ! ( "Alignment of " , stringify ! ( SourceHook ) )); } } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct JSCompartment { _unused: [u8; 0], } - /** - * Describes a single error or warning that occurs in the execution of script. - */ - #[repr(C)] - pub struct JSErrorReport { - pub _base: root::JSErrorBase, - pub linebuf_: *const u16, - pub linebufLength_: usize, - pub tokenOffset_: usize, - pub notes: root::mozilla::UniquePtr<root::JSErrorNotes>, - pub flags: ::std::os::raw::c_uint, - pub exnType: i16, - pub _bitfield_1: u8, - pub __bindgen_padding_0: u8, - } - #[test] - fn bindgen_test_layout_JSErrorReport() { - assert_eq!(::std::mem::size_of::<JSErrorReport>() , 72usize , concat ! - ( "Size of: " , stringify ! ( JSErrorReport ) )); - assert_eq! (::std::mem::align_of::<JSErrorReport>() , 8usize , concat - ! ( "Alignment of " , stringify ! ( JSErrorReport ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . linebuf_ as * - const _ as usize } , 32usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( linebuf_ ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . linebufLength_ as - * const _ as usize } , 40usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( linebufLength_ ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . tokenOffset_ as * - const _ as usize } , 48usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( tokenOffset_ ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . notes as * const - _ as usize } , 56usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( notes ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . flags as * const - _ as usize } , 64usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( flags ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const JSErrorReport ) ) . exnType as * - const _ as usize } , 68usize , concat ! ( - "Alignment of field: " , stringify ! ( JSErrorReport ) , - "::" , stringify ! ( exnType ) )); - } - impl JSErrorReport { - #[inline] - pub fn isMuted(&self) -> bool { - let mask = 1usize as u8; - let unit_field_val: u8 = - unsafe { ::std::mem::transmute(self._bitfield_1) }; - let val = (unit_field_val & mask) >> 0usize; - unsafe { ::std::mem::transmute(val as u8) } - } - #[inline] - pub fn set_isMuted(&mut self, val: bool) { - let mask = 1usize as u8; - let val = val as u8 as u8; - let mut unit_field_val: u8 = - unsafe { ::std::mem::transmute(self._bitfield_1) }; - unit_field_val &= !mask; - unit_field_val |= (val << 0usize) & mask; - self._bitfield_1 = - unsafe { ::std::mem::transmute(unit_field_val) }; - } - #[inline] - pub fn ownsLinebuf_(&self) -> bool { - let mask = 2usize as u8; - let unit_field_val: u8 = - unsafe { ::std::mem::transmute(self._bitfield_1) }; - let val = (unit_field_val & mask) >> 1usize; - unsafe { ::std::mem::transmute(val as u8) } - } - #[inline] - pub fn set_ownsLinebuf_(&mut self, val: bool) { - let mask = 2usize as u8; - let val = val as u8 as u8; - let mut unit_field_val: u8 = - unsafe { ::std::mem::transmute(self._bitfield_1) }; - unit_field_val &= !mask; - unit_field_val |= (val << 1usize) & mask; - self._bitfield_1 = - unsafe { ::std::mem::transmute(unit_field_val) }; - } - #[inline] - pub fn new_bitfield_1(isMuted: bool, ownsLinebuf_: bool) -> u8 { - ({ ({ 0 } | ((isMuted as u8 as u8) << 0usize) & (1usize as u8)) } - | ((ownsLinebuf_ as u8 as u8) << 1usize) & (2usize as u8)) - } - } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct JSRuntime { _unused: [u8; 0], } #[repr(C)] #[derive(Debug, Copy)] pub struct JSTracer { @@ -14129,17 +14042,17 @@ pub mod root { pub mFontFeatureValues: [u64; 5usize], } pub type gfxFontFeatureValueSet_HasThreadSafeRefCnt = root::mozilla::FalseType; #[repr(C)] #[derive(Debug)] pub struct gfxFontFeatureValueSet_ValueList { pub name: ::nsstring::nsStringRepr, - pub featureSelectors: root::nsTArray<u32>, + pub featureSelectors: root::nsTArray<::std::os::raw::c_uint>, } #[test] fn bindgen_test_layout_gfxFontFeatureValueSet_ValueList() { assert_eq!(::std::mem::size_of::<gfxFontFeatureValueSet_ValueList>() , 24usize , concat ! ( "Size of: " , stringify ! ( gfxFontFeatureValueSet_ValueList ) )); assert_eq! (::std::mem::align_of::<gfxFontFeatureValueSet_ValueList>() @@ -14234,17 +14147,17 @@ pub mod root { gfxFontFeatureValueSet_FeatureValueHashKey ) , "::" , stringify ! ( mName ) )); } #[repr(C)] #[derive(Debug)] pub struct gfxFontFeatureValueSet_FeatureValueHashEntry { pub _base: root::PLDHashEntryHdr, pub mKey: root::gfxFontFeatureValueSet_FeatureValueHashKey, - pub mValues: root::nsTArray<u32>, + pub mValues: root::nsTArray<::std::os::raw::c_uint>, } pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyType = *const root::gfxFontFeatureValueSet_FeatureValueHashKey; pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyTypePointer = *const root::gfxFontFeatureValueSet_FeatureValueHashKey; pub const gfxFontFeatureValueSet_FeatureValueHashEntry_ALLOW_MEMMOVE: root::gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_1 = @@ -14337,17 +14250,17 @@ pub mod root { pub stretch: i16, pub kerning: u8, pub synthesis: u8, pub size: root::nscoord, pub sizeAdjust: f32, pub alternateValues: root::nsTArray<root::gfxAlternateValue>, pub featureValueLookup: root::RefPtr<root::gfxFontFeatureValueSet>, pub fontFeatureSettings: root::nsTArray<root::gfxFontFeature>, - pub fontVariationSettings: root::nsTArray<root::gfxFontVariation>, + pub fontVariationSettings: root::nsTArray<root::mozilla::gfx::FontVariation>, pub languageOverride: u32, } #[test] fn bindgen_test_layout_nsFont() { assert_eq!(::std::mem::size_of::<nsFont>() , 88usize , concat ! ( "Size of: " , stringify ! ( nsFont ) )); assert_eq! (::std::mem::align_of::<nsFont>() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsFont ) )); @@ -15017,17 +14930,17 @@ pub mod root { * case that nsTAString::mData does not point to one of these special * buffers. The mFlags member variable distinguishes the buffer type. * * When this header is in use, it enables reference counting, and capacity * tracking. NOTE: A string buffer can be modified only if its reference * count is 1. */ #[repr(C)] - #[derive(Debug, Copy)] + #[derive(Debug)] pub struct nsStringBuffer { pub mRefCount: u32, pub mStorageSize: u32, } #[test] fn bindgen_test_layout_nsStringBuffer() { assert_eq!(::std::mem::size_of::<nsStringBuffer>() , 8usize , concat ! ( "Size of: " , stringify ! ( nsStringBuffer ) )); @@ -15039,19 +14952,16 @@ pub mod root { "Alignment of field: " , stringify ! ( nsStringBuffer ) , "::" , stringify ! ( mRefCount ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStringBuffer ) ) . mStorageSize as * const _ as usize } , 4usize , concat ! ( "Alignment of field: " , stringify ! ( nsStringBuffer ) , "::" , stringify ! ( mStorageSize ) )); } - impl Clone for nsStringBuffer { - fn clone(&self) -> Self { *self } - } #[repr(C)] #[derive(Debug, Copy)] pub struct nsIAtom { pub _base: root::nsISupports, pub _bitfield_1: u32, pub mHash: u32, /** * WARNING! There is an invisible constraint on |mString|: the chars it @@ -16759,17 +16669,17 @@ pub mod root { * have this document as their owner and that are being evaluated right now. */ pub mExternalScriptsBeingEvaluated: u32, /** * The current frame request callback handle */ pub mFrameRequestCallbackCounter: i32, pub mStaticCloneCount: u32, - pub mBlockedTrackingNodes: root::nsTArray<root::nsWeakPtr>, + pub mBlockedTrackingNodes: root::nsTArray<root::nsCOMPtr>, pub mWindow: *mut root::nsPIDOMWindowInner, pub mCachedEncoder: root::nsCOMPtr, pub mFrameRequestCallbacks: root::nsTArray<root::nsIDocument_FrameRequest>, pub mBFCacheEntry: *mut root::nsIBFCacheEntry, pub mBaseTarget: ::nsstring::nsStringRepr, pub mStateObjectContainer: root::nsCOMPtr, pub mStateObjectCached: root::nsCOMPtr, pub mInSyncOperationCount: u32, @@ -22020,67 +21930,67 @@ pub mod root { "Alignment of field: " , stringify ! ( nsNodeWeakReference ) , "::" , stringify ! ( mNode ) )); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct nsDOMMutationObserver { _unused: [u8; 0], } - 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_17 { + 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; + #[repr(u32)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum _bindgen_ty_83 { NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_PROPERTIES = 8, NODE_IS_ANONYMOUS_ROOT = 16, NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE = 32, NODE_IS_NATIVE_ANONYMOUS_ROOT = 64, NODE_FORCE_XBL_BINDINGS = 128, NODE_MAY_BE_IN_BINDING_MNGR = 256, NODE_IS_EDITABLE = 512, @@ -22853,16 +22763,17 @@ pub mod root { NS_FRAME_NEEDS_PAINT = 281474976710656, NS_FRAME_DESCENDANT_NEEDS_PAINT = 562949953421312, NS_FRAME_IN_POPUP = 1125899906842624, NS_FRAME_ALL_DESCENDANTS_NEED_PAINT = 2251799813685248, NS_FRAME_HAS_INVALID_RECT = 4503599627370496, NS_FRAME_IS_NONDISPLAY = 9007199254740992, NS_FRAME_HAS_LAYER_ACTIVITY_PROPERTY = 18014398509481984, NS_FRAME_OWNS_ANON_BOXES = 36028797018963968, + NS_FRAME_HAS_CSS_COUNTER_STYLE = 72057594037927936, NS_FRAME_SIMPLE_DISPLAYLIST = 144115188075855872, NS_FRAME_MATHML_SCRIPT_DESCENDANT = 288230376151711744, NS_FRAME_IS_IN_SINGLE_CHAR_MI = 576460752303423488, NS_STATE_BOX_CHILD_RESERVED = 1048576, NS_STATE_STACK_NOT_POSITIONED = 2097152, NS_STATE_IS_HORIZONTAL = 4194304, NS_STATE_AUTO_STRETCH = 8388608, NS_STATE_IS_ROOT = 16777216, @@ -27238,17 +27149,17 @@ pub mod root { pub struct imgRequestProxy { pub _base: root::imgIRequest, pub _base_1: root::mozilla::image::IProgressObserver, pub _base_2: root::nsISupportsPriority, pub _base_3: root::nsISecurityInfoProvider, pub _base_4: root::nsITimedChannel, pub mRefCnt: root::nsAutoRefCnt, pub mBehaviour: root::mozilla::UniquePtr<root::ProxyBehaviour>, - pub mURI: root::RefPtr<root::imgRequestProxy_ImageURL>, + pub mURI: root::RefPtr<root::mozilla::image::ImageURL>, pub mListener: *mut root::imgINotificationObserver, pub mLoadGroup: root::nsCOMPtr, pub mLoadFlags: root::nsLoadFlags, pub mLockCount: u32, pub mAnimationConsumers: u32, pub mCanceled: bool, pub mIsInLoadGroup: bool, pub mListenerIsStrongRef: bool, @@ -28378,17 +28289,17 @@ pub mod root { pub _base: root::nsIStreamListener, pub _base_1: root::nsIThreadRetargetableStreamListener, pub _base_2: root::nsIChannelEventSink, pub _base_3: root::nsIInterfaceRequestor, pub _base_4: root::nsIAsyncVerifyRedirectCallback, pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, pub mLoader: *mut root::imgLoader, pub mRequest: root::nsCOMPtr, - pub mURI: root::RefPtr<root::imgRequest_ImageURL>, + pub mURI: root::RefPtr<root::mozilla::image::ImageURL>, pub mCurrentURI: root::nsCOMPtr, pub mLoadingPrincipal: root::nsCOMPtr, pub mPrincipal: root::nsCOMPtr, pub mProperties: root::nsCOMPtr, pub mSecurityInfo: root::nsCOMPtr, pub mChannel: root::nsCOMPtr, pub mPrevChannelSink: root::nsCOMPtr, pub mApplicationCache: root::nsCOMPtr, @@ -28405,32 +28316,32 @@ pub mod root { pub mRedirectCallback: root::nsCOMPtr, pub mNewRedirectChannel: root::nsCOMPtr, pub mInnerWindowId: u64, pub mCORSMode: i32, pub mReferrerPolicy: root::imgRequest_ReferrerPolicy, pub mImageErrorCode: root::nsresult, pub mBoostCategoriesRequested: u32, pub mMutex: root::mozilla::Mutex, - pub mProgressTracker: root::RefPtr<root::imgRequest_ProgressTracker>, - pub mImage: root::RefPtr<root::imgRequest_Image>, + pub mProgressTracker: root::RefPtr<root::mozilla::image::ProgressTracker>, + pub mImage: root::RefPtr<root::mozilla::image::Image>, pub _bitfield_1: u8, pub __bindgen_padding_0: [u8; 7usize], } pub type imgRequest_Image = root::mozilla::image::Image; pub type imgRequest_ImageCacheKey = root::mozilla::image::ImageCacheKey; pub type imgRequest_ImageURL = root::mozilla::image::ImageURL; pub type imgRequest_ProgressTracker = root::mozilla::image::ProgressTracker; pub use self::super::root::mozilla::net::ReferrerPolicy as imgRequest_ReferrerPolicy; pub type imgRequest_HasThreadSafeRefCnt = root::mozilla::TrueType; #[test] fn bindgen_test_layout_imgRequest() { - assert_eq!(::std::mem::size_of::<imgRequest>() , 400usize , concat ! ( + assert_eq!(::std::mem::size_of::<imgRequest>() , 376usize , concat ! ( "Size of: " , stringify ! ( imgRequest ) )); assert_eq! (::std::mem::align_of::<imgRequest>() , 8usize , concat ! ( "Alignment of " , stringify ! ( imgRequest ) )); } impl imgRequest { #[inline] pub fn mIsMultiPartChannel(&self) -> bool { let mask = 1usize as u8; @@ -29871,28 +29782,28 @@ pub mod root { ) , "::" , stringify ! ( mRefCnt ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsStyleQuoteValues ) ) . mQuotePairs as * const _ as usize } , 8usize , concat ! ( "Alignment of field: " , stringify ! ( nsStyleQuoteValues ) , "::" , stringify ! ( mQuotePairs ) )); } #[test] - fn __bindgen_test_layout_StaticRefPtr_instantiation_20() { + fn __bindgen_test_layout_StaticRefPtr_instantiation_86() { assert_eq!(::std::mem::size_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) )); } #[test] - fn __bindgen_test_layout_StaticRefPtr_instantiation_21() { + fn __bindgen_test_layout_StaticRefPtr_instantiation_87() { assert_eq!(::std::mem::size_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) )); assert_eq!(::std::mem::align_of::<root::mozilla::StaticRefPtr<root::nsStyleQuoteValues>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::mozilla::StaticRefPtr<root::nsStyleQuoteValues> ) )); @@ -32060,17 +31971,17 @@ pub mod root { } pub type RawGeckoNode = root::nsINode; pub type RawGeckoElement = root::mozilla::dom::Element; pub type RawGeckoDocument = root::nsIDocument; pub type RawGeckoPresContext = root::nsPresContext; pub type RawGeckoURLExtraData = root::mozilla::URLExtraData; pub type RawGeckoKeyframeList = root::nsTArray<root::mozilla::Keyframe>; pub type RawGeckoComputedKeyframeValuesList = - root::nsTArray<root::mozilla::ComputedKeyframeValues>; + root::nsTArray<root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>>; pub type RawGeckoAnimationValueList = root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>; pub type RawGeckoStyleAnimationList = root::nsStyleAutoArray<root::mozilla::StyleAnimation>; pub type RawGeckoFontFaceRuleList = root::nsTArray<root::nsFontFaceRuleContainer>; pub type RawGeckoAnimationPropertySegment = root::mozilla::AnimationPropertySegment; @@ -32818,58 +32729,58 @@ pub mod root { pub struct mozAutoDocUpdate { _unused: [u8; 0], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct nsAttrValueOrString { _unused: [u8; 0], } - 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_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_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO: - 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_19::ELEMENT_SHARED_RESTYLE_BIT_3; + 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 + = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3; pub const ELEMENT_IS_POTENTIAL_ANIMATION_ONLY_RESTYLE_ROOT: - 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_19 { + 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; + #[repr(u32)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum _bindgen_ty_85 { ELEMENT_SHARED_RESTYLE_BIT_1 = 8388608, ELEMENT_SHARED_RESTYLE_BIT_2 = 16777216, ELEMENT_SHARED_RESTYLE_BIT_3 = 33554432, ELEMENT_SHARED_RESTYLE_BIT_4 = 67108864, ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR = 134217728, ELEMENT_PENDING_RESTYLE_FLAGS = 41943040, ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS = 83886080, ELEMENT_ALL_RESTYLE_FLAGS = 260046848, @@ -33512,3196 +33423,3199 @@ pub mod root { "Alignment of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( reg_save_area ) )); } impl Clone for __va_list_tag { fn clone(&self) -> Self { *self } } pub type __builtin_va_list = [root::__va_list_tag; 1usize]; #[test] - fn __bindgen_test_layout_IntegralConstant_instantiation_22() { + fn __bindgen_test_layout_IntegralConstant_instantiation_88() { assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); assert_eq!(::std::mem::align_of::<u8>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u8 ) )); } #[test] - fn __bindgen_test_layout_IntegralConstant_instantiation_23() { + fn __bindgen_test_layout_IntegralConstant_instantiation_89() { assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); assert_eq!(::std::mem::align_of::<u8>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u8 ) )); } #[test] - fn __bindgen_test_layout_nsCharTraits_instantiation_24() { + fn __bindgen_test_layout_nsCharTraits_instantiation_90() { assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCharTraits ) )); assert_eq!(::std::mem::align_of::<root::nsCharTraits>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout_nsReadingIterator_instantiation_25() { - assert_eq!(::std::mem::size_of::<root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type>>() - , 24usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type> - ) )); - assert_eq!(::std::mem::align_of::<root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsReadingIterator<root::mozilla::detail::nsStringRepr_char_type> - ) )); - } - #[test] - fn __bindgen_test_layout_nsWritingIterator_instantiation_26() { - assert_eq!(::std::mem::size_of::<root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type>>() - , 24usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type> - ) )); - assert_eq!(::std::mem::align_of::<root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsWritingIterator<root::mozilla::detail::nsStringRepr_char_type> - ) )); - } - #[test] - fn __bindgen_test_layout_nsCharTraits_instantiation_27() { + fn __bindgen_test_layout_nsReadingIterator_instantiation_91() { + assert_eq!(::std::mem::size_of::<root::nsReadingIterator<u16>>() , + 24usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsReadingIterator<u16> ) )); + assert_eq!(::std::mem::align_of::<root::nsReadingIterator<u16>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsReadingIterator<u16> ) )); + } + #[test] + fn __bindgen_test_layout_nsWritingIterator_instantiation_92() { + assert_eq!(::std::mem::size_of::<root::nsWritingIterator<u16>>() , + 24usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsWritingIterator<u16> ) )); + assert_eq!(::std::mem::align_of::<root::nsWritingIterator<u16>>() , + 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsWritingIterator<u16> ) )); + } + #[test] + fn __bindgen_test_layout_nsCharTraits_instantiation_93() { assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCharTraits ) )); assert_eq!(::std::mem::align_of::<root::nsCharTraits>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout_nsReadingIterator_instantiation_28() { - assert_eq!(::std::mem::size_of::<root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type>>() + fn __bindgen_test_layout_nsReadingIterator_instantiation_94() { + assert_eq!(::std::mem::size_of::<root::nsReadingIterator<::std::os::raw::c_char>>() , 24usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type> - ) )); - assert_eq!(::std::mem::align_of::<root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsReadingIterator<root::mozilla::detail::nsCStringRepr_char_type> - ) )); - } - #[test] - fn __bindgen_test_layout_nsWritingIterator_instantiation_29() { - assert_eq!(::std::mem::size_of::<root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type>>() + root::nsReadingIterator<::std::os::raw::c_char> ) )); + assert_eq!(::std::mem::align_of::<root::nsReadingIterator<::std::os::raw::c_char>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsReadingIterator<::std::os::raw::c_char> ) )); + } + #[test] + fn __bindgen_test_layout_nsWritingIterator_instantiation_95() { + assert_eq!(::std::mem::size_of::<root::nsWritingIterator<::std::os::raw::c_char>>() , 24usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type> - ) )); - assert_eq!(::std::mem::align_of::<root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsWritingIterator<root::mozilla::detail::nsCStringRepr_char_type> - ) )); - } - #[test] - fn __bindgen_test_layout_nsCharTraits_instantiation_30() { + root::nsWritingIterator<::std::os::raw::c_char> ) )); + assert_eq!(::std::mem::align_of::<root::nsWritingIterator<::std::os::raw::c_char>>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsWritingIterator<::std::os::raw::c_char> ) )); + } + #[test] + fn __bindgen_test_layout_nsCharTraits_instantiation_96() { assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCharTraits ) )); assert_eq!(::std::mem::align_of::<root::nsCharTraits>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout_nsCharTraits_instantiation_31() { + fn __bindgen_test_layout_nsCharTraits_instantiation_97() { assert_eq!(::std::mem::size_of::<root::nsCharTraits>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsCharTraits ) )); assert_eq!(::std::mem::align_of::<root::nsCharTraits>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_185873_instantiation_32() { + fn __bindgen_test_layout__bindgen_ty_id_210609_instantiation_98() { assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); assert_eq!(::std::mem::align_of::<u8>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u8 ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_185909_instantiation_33() { + fn __bindgen_test_layout__bindgen_ty_id_210645_instantiation_99() { assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); assert_eq!(::std::mem::align_of::<u8>() , 1usize , concat ! ( "Alignment of template specialization: " , stringify ! ( u8 ) )); } #[test] - fn __bindgen_test_layout_nsTArray_instantiation_34() { + fn __bindgen_test_layout_nsTArray_instantiation_100() { assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::nsTArray<root::nsCString> ) )); assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsCString>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::nsTArray<root::nsCString> ) )); } #[test] - fn __bindgen_test_layout_Handle_instantiation_35() { + fn __bindgen_test_layout_Handle_instantiation_101() { 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_36() { + fn __bindgen_test_layout_Handle_instantiation_102() { assert_eq!(::std::mem::size_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::Handle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::Handle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::Handle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_MutableHandle_instantiation_37() { + fn __bindgen_test_layout_MutableHandle_instantiation_103() { assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root::JS::MutableHandle<root::JS::Value> ) )); } #[test] - fn __bindgen_test_layout_Rooted_instantiation_38() { + fn __bindgen_test_layout_Rooted_instantiation_104() { assert_eq!(::std::mem::size_of::<[u64; 3usize]>() , 24usize , concat ! ( "Size of template specialization: " , stringify ! ( [u64; 3usize] ) )); assert_eq!(::std::mem::align_of::<[u64; 3usize]>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( [u64; 3usize] ) )); } #[test] - fn __bindgen_test_layout_DeletePolicy_instantiation_39() { - assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy>() , 1usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::DeletePolicy ) )); - assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy>() , 1usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::DeletePolicy ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_40() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_41() { - assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FontFamilyName>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<root::mozilla::FontFamilyName> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<root::mozilla::FontFamilyName>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<root::mozilla::FontFamilyName> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_42() { - assert_eq!(::std::mem::size_of::<root::nsTArray<u32>>() , 8usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<u32> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<u32>>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<u32> ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_43() { - assert_eq!(::std::mem::size_of::<root::nsTArray<u32>>() , 8usize , - concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<u32> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<u32>>() , 8usize , - concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<u32> ) )); - } - #[test] - fn __bindgen_test_layout_BaseTimeDuration_instantiation_44() { - assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::BaseTimeDuration ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::BaseTimeDuration>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::BaseTimeDuration ) )); - } - #[test] - fn __bindgen_test_layout_nsTArray_instantiation_45() { - assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() , - 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<::nsstring::nsStringRepr> ) )); - } - #[test] - fn __bindgen_test_layout_TErrorResult_instantiation_46() { - assert_eq!(::std::mem::size_of::<root::mozilla::binding_danger::TErrorResult>() - , 16usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::mozilla::binding_danger::TErrorResult ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::binding_danger::TErrorResult>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::binding_danger::TErrorResult ) )); - } - #[test] - 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 ! ( - root::mozilla::binding_danger::TErrorResult ) )); - assert_eq!(::std::mem::align_of::<root::mozilla::binding_danger::TErrorResult>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::mozilla::binding_danger::TErrorResult ) )); - } - #[test] - fn __bindgen_test_layout_already_AddRefed_instantiation_48() { - assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsStringBuffer> ) )); - assert_eq!(::std::mem::align_of::<root::already_AddRefed<root::nsStringBuffer>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::already_AddRefed<root::nsStringBuffer> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_49() { - 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_50() { - assert_eq!(::std::mem::size_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - assert_eq!(::std::mem::align_of::<root::JS::MutableHandle<root::JS::Value>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::JS::MutableHandle<root::JS::Value> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_51() { - 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_nsTArray_instantiation_52() { - assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Size of template specialization: " , stringify ! ( - root::nsTArray<*mut root::mozilla::StyleSheet> ) )); - assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() - , 8usize , concat ! ( - "Alignment of template specialization: " , stringify ! ( - root::nsTArray<*mut root::mozilla::StyleSheet> ) )); - } - #[test] - fn __bindgen_test_layout_Handle_instantiation_53() {