Regen bindings

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

View file

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