/* automatically generated by rust-bindgen */ #[derive(Copy, Clone, Debug)] pub struct __BindgenUnionField(::std::marker::PhantomData); impl __BindgenUnionField { #[inline] pub fn new() -> Self { __BindgenUnionField(::std::marker::PhantomData) } #[inline] pub unsafe fn as_ref(&self) -> &T { ::std::mem::transmute(self) } #[inline] pub unsafe fn as_mut(&mut self) -> &mut T { ::std::mem::transmute(self) } } impl ::std::default::Default for __BindgenUnionField { #[inline] fn default() -> Self { Self::new() } } pub const NS_ERROR_MODULE_XPCOM: ::std::os::raw::c_uint = 1; pub const NS_ERROR_MODULE_BASE: ::std::os::raw::c_uint = 2; pub const NS_ERROR_MODULE_GFX: ::std::os::raw::c_uint = 3; pub const NS_ERROR_MODULE_WIDGET: ::std::os::raw::c_uint = 4; pub const NS_ERROR_MODULE_CALENDAR: ::std::os::raw::c_uint = 5; pub const NS_ERROR_MODULE_NETWORK: ::std::os::raw::c_uint = 6; pub const NS_ERROR_MODULE_PLUGINS: ::std::os::raw::c_uint = 7; pub const NS_ERROR_MODULE_LAYOUT: ::std::os::raw::c_uint = 8; pub const NS_ERROR_MODULE_HTMLPARSER: ::std::os::raw::c_uint = 9; pub const NS_ERROR_MODULE_RDF: ::std::os::raw::c_uint = 10; pub const NS_ERROR_MODULE_UCONV: ::std::os::raw::c_uint = 11; pub const NS_ERROR_MODULE_REG: ::std::os::raw::c_uint = 12; pub const NS_ERROR_MODULE_FILES: ::std::os::raw::c_uint = 13; pub const NS_ERROR_MODULE_DOM: ::std::os::raw::c_uint = 14; pub const NS_ERROR_MODULE_IMGLIB: ::std::os::raw::c_uint = 15; pub const NS_ERROR_MODULE_MAILNEWS: ::std::os::raw::c_uint = 16; pub const NS_ERROR_MODULE_EDITOR: ::std::os::raw::c_uint = 17; pub const NS_ERROR_MODULE_XPCONNECT: ::std::os::raw::c_uint = 18; pub const NS_ERROR_MODULE_PROFILE: ::std::os::raw::c_uint = 19; pub const NS_ERROR_MODULE_LDAP: ::std::os::raw::c_uint = 20; pub const NS_ERROR_MODULE_SECURITY: ::std::os::raw::c_uint = 21; pub const NS_ERROR_MODULE_DOM_XPATH: ::std::os::raw::c_uint = 22; pub const NS_ERROR_MODULE_URILOADER: ::std::os::raw::c_uint = 24; pub const NS_ERROR_MODULE_CONTENT: ::std::os::raw::c_uint = 25; pub const NS_ERROR_MODULE_PYXPCOM: ::std::os::raw::c_uint = 26; pub const NS_ERROR_MODULE_XSLT: ::std::os::raw::c_uint = 27; pub const NS_ERROR_MODULE_IPC: ::std::os::raw::c_uint = 28; pub const NS_ERROR_MODULE_SVG: ::std::os::raw::c_uint = 29; pub const NS_ERROR_MODULE_STORAGE: ::std::os::raw::c_uint = 30; pub const NS_ERROR_MODULE_SCHEMA: ::std::os::raw::c_uint = 31; pub const NS_ERROR_MODULE_DOM_FILE: ::std::os::raw::c_uint = 32; pub const NS_ERROR_MODULE_DOM_INDEXEDDB: ::std::os::raw::c_uint = 33; pub const NS_ERROR_MODULE_DOM_FILEHANDLE: ::std::os::raw::c_uint = 34; pub const NS_ERROR_MODULE_SIGNED_JAR: ::std::os::raw::c_uint = 35; pub const NS_ERROR_MODULE_DOM_FILESYSTEM: ::std::os::raw::c_uint = 36; pub const NS_ERROR_MODULE_DOM_BLUETOOTH: ::std::os::raw::c_uint = 37; pub const NS_ERROR_MODULE_SIGNED_APP: ::std::os::raw::c_uint = 38; pub const NS_ERROR_MODULE_DOM_ANIM: ::std::os::raw::c_uint = 39; pub const NS_ERROR_MODULE_DOM_PUSH: ::std::os::raw::c_uint = 40; pub const NS_ERROR_MODULE_GENERAL: ::std::os::raw::c_uint = 51; pub const NS_ERROR_SEVERITY_SUCCESS: ::std::os::raw::c_uint = 0; pub const NS_ERROR_SEVERITY_ERROR: ::std::os::raw::c_uint = 1; pub const NS_ERROR_MODULE_BASE_OFFSET: ::std::os::raw::c_uint = 69; pub const MOZ_STRING_WITH_OBSOLETE_API: ::std::os::raw::c_uint = 1; pub const NSID_LENGTH: ::std::os::raw::c_uint = 39; pub const NS_NUMBER_OF_FLAGS_IN_REFCNT: ::std::os::raw::c_uint = 2; pub const TWIPS_PER_POINT_INT: ::std::os::raw::c_uint = 20; pub const POINTS_PER_INCH_INT: ::std::os::raw::c_uint = 72; pub const NS_FONT_VARIANT_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_FONT_VARIANT_SMALL_CAPS: ::std::os::raw::c_uint = 1; pub const NS_CORNER_TOP_LEFT_X: ::std::os::raw::c_uint = 0; pub const NS_CORNER_TOP_LEFT_Y: ::std::os::raw::c_uint = 1; pub const NS_CORNER_TOP_RIGHT_X: ::std::os::raw::c_uint = 2; pub const NS_CORNER_TOP_RIGHT_Y: ::std::os::raw::c_uint = 3; pub const NS_CORNER_BOTTOM_RIGHT_X: ::std::os::raw::c_uint = 4; pub const NS_CORNER_BOTTOM_RIGHT_Y: ::std::os::raw::c_uint = 5; pub const NS_CORNER_BOTTOM_LEFT_X: ::std::os::raw::c_uint = 6; pub const NS_CORNER_BOTTOM_LEFT_Y: ::std::os::raw::c_uint = 7; pub const NS_STYLE_CLIP_SHAPE_SIZING_NOBOX: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CLIP_SHAPE_SIZING_CONTENT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CLIP_SHAPE_SIZING_PADDING: ::std::os::raw::c_uint = 2; pub const NS_STYLE_CLIP_SHAPE_SIZING_BORDER: ::std::os::raw::c_uint = 3; pub const NS_STYLE_CLIP_SHAPE_SIZING_MARGIN: ::std::os::raw::c_uint = 4; pub const NS_STYLE_CLIP_SHAPE_SIZING_FILL: ::std::os::raw::c_uint = 5; pub const NS_STYLE_CLIP_SHAPE_SIZING_STROKE: ::std::os::raw::c_uint = 6; pub const NS_STYLE_CLIP_SHAPE_SIZING_VIEW: ::std::os::raw::c_uint = 7; pub const NS_STYLE_BASIC_SHAPE_POLYGON: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BASIC_SHAPE_CIRCLE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BASIC_SHAPE_ELLIPSE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BASIC_SHAPE_INSET: ::std::os::raw::c_uint = 3; pub const NS_STYLE_BOX_SHADOW_INSET: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FLOAT_EDGE_CONTENT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FLOAT_EDGE_MARGIN: ::std::os::raw::c_uint = 1; pub const NS_STYLE_USER_FOCUS_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_USER_FOCUS_IGNORE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_USER_FOCUS_NORMAL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_USER_FOCUS_SELECT_ALL: ::std::os::raw::c_uint = 3; pub const NS_STYLE_USER_FOCUS_SELECT_BEFORE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_USER_FOCUS_SELECT_AFTER: ::std::os::raw::c_uint = 5; pub const NS_STYLE_USER_FOCUS_SELECT_SAME: ::std::os::raw::c_uint = 6; pub const NS_STYLE_USER_FOCUS_SELECT_MENU: ::std::os::raw::c_uint = 7; pub const NS_STYLE_USER_SELECT_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_USER_SELECT_TEXT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_USER_SELECT_ELEMENT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_USER_SELECT_ELEMENTS: ::std::os::raw::c_uint = 3; pub const NS_STYLE_USER_SELECT_ALL: ::std::os::raw::c_uint = 4; pub const NS_STYLE_USER_SELECT_TOGGLE: ::std::os::raw::c_uint = 5; pub const NS_STYLE_USER_SELECT_TRI_STATE: ::std::os::raw::c_uint = 6; pub const NS_STYLE_USER_SELECT_AUTO: ::std::os::raw::c_uint = 7; pub const NS_STYLE_USER_SELECT_MOZ_ALL: ::std::os::raw::c_uint = 8; pub const NS_STYLE_USER_SELECT_MOZ_NONE: ::std::os::raw::c_uint = 9; pub const NS_STYLE_USER_SELECT_MOZ_TEXT: ::std::os::raw::c_uint = 10; pub const NS_STYLE_USER_INPUT_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_USER_INPUT_ENABLED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_USER_INPUT_DISABLED: ::std::os::raw::c_uint = 2; pub const NS_STYLE_USER_INPUT_AUTO: ::std::os::raw::c_uint = 3; pub const NS_STYLE_USER_MODIFY_READ_ONLY: ::std::os::raw::c_uint = 0; pub const NS_STYLE_USER_MODIFY_READ_WRITE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_USER_MODIFY_WRITE_ONLY: ::std::os::raw::c_uint = 2; pub const NS_STYLE_WINDOW_DRAGGING_DEFAULT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_WINDOW_DRAGGING_DRAG: ::std::os::raw::c_uint = 1; pub const NS_STYLE_WINDOW_DRAGGING_NO_DRAG: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BOX_ALIGN_STRETCH: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BOX_ALIGN_START: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BOX_ALIGN_CENTER: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BOX_ALIGN_BASELINE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_BOX_ALIGN_END: ::std::os::raw::c_uint = 4; pub const NS_STYLE_BOX_PACK_START: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BOX_PACK_CENTER: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BOX_PACK_END: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BOX_PACK_JUSTIFY: ::std::os::raw::c_uint = 3; pub const NS_STYLE_BOX_DECORATION_BREAK_SLICE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BOX_DECORATION_BREAK_CLONE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BOX_DIRECTION_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BOX_DIRECTION_REVERSE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BOX_ORIENT_HORIZONTAL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BOX_ORIENT_VERTICAL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_ORIENT_INLINE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_ORIENT_BLOCK: ::std::os::raw::c_uint = 1; pub const NS_STYLE_ORIENT_HORIZONTAL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_ORIENT_VERTICAL: ::std::os::raw::c_uint = 3; pub const NS_RADIUS_FARTHEST_SIDE: ::std::os::raw::c_uint = 0; pub const NS_RADIUS_CLOSEST_SIDE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_STACK_SIZING_IGNORE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_STACK_SIZING_STRETCH_TO_FIT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_AZIMUTH_LEFT_SIDE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_AZIMUTH_FAR_LEFT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_AZIMUTH_LEFT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_AZIMUTH_CENTER_LEFT: ::std::os::raw::c_uint = 3; pub const NS_STYLE_AZIMUTH_CENTER: ::std::os::raw::c_uint = 4; pub const NS_STYLE_AZIMUTH_CENTER_RIGHT: ::std::os::raw::c_uint = 5; pub const NS_STYLE_AZIMUTH_RIGHT: ::std::os::raw::c_uint = 6; pub const NS_STYLE_AZIMUTH_FAR_RIGHT: ::std::os::raw::c_uint = 7; pub const NS_STYLE_AZIMUTH_RIGHT_SIDE: ::std::os::raw::c_uint = 8; pub const NS_STYLE_AZIMUTH_BEHIND: ::std::os::raw::c_uint = 128; pub const NS_STYLE_AZIMUTH_LEFTWARDS: ::std::os::raw::c_uint = 16; pub const NS_STYLE_AZIMUTH_RIGHTWARDS: ::std::os::raw::c_uint = 32; pub const NS_STYLE_ELEVATION_BELOW: ::std::os::raw::c_uint = 1; pub const NS_STYLE_ELEVATION_LEVEL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_ELEVATION_ABOVE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_ELEVATION_HIGHER: ::std::os::raw::c_uint = 4; pub const NS_STYLE_ELEVATION_LOWER: ::std::os::raw::c_uint = 5; pub const NS_STYLE_PITCH_X_LOW: ::std::os::raw::c_uint = 1; pub const NS_STYLE_PITCH_LOW: ::std::os::raw::c_uint = 2; pub const NS_STYLE_PITCH_MEDIUM: ::std::os::raw::c_uint = 3; pub const NS_STYLE_PITCH_HIGH: ::std::os::raw::c_uint = 4; pub const NS_STYLE_PITCH_X_HIGH: ::std::os::raw::c_uint = 5; pub const NS_STYLE_SPEAK_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SPEAK_NORMAL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_SPEAK_SPELL_OUT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_SPEAK_HEADER_ONCE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SPEAK_HEADER_ALWAYS: ::std::os::raw::c_uint = 1; pub const NS_STYLE_SPEAK_NUMERAL_DIGITS: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SPEAK_NUMERAL_CONTINUOUS: ::std::os::raw::c_uint = 1; pub const NS_STYLE_SPEAK_PUNCTUATION_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SPEAK_PUNCTUATION_CODE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_SPEECH_RATE_X_SLOW: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SPEECH_RATE_SLOW: ::std::os::raw::c_uint = 1; pub const NS_STYLE_SPEECH_RATE_MEDIUM: ::std::os::raw::c_uint = 2; pub const NS_STYLE_SPEECH_RATE_FAST: ::std::os::raw::c_uint = 3; pub const NS_STYLE_SPEECH_RATE_X_FAST: ::std::os::raw::c_uint = 4; pub const NS_STYLE_SPEECH_RATE_FASTER: ::std::os::raw::c_uint = 10; pub const NS_STYLE_SPEECH_RATE_SLOWER: ::std::os::raw::c_uint = 11; pub const NS_STYLE_VOLUME_SILENT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_VOLUME_X_SOFT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_VOLUME_SOFT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_VOLUME_MEDIUM: ::std::os::raw::c_uint = 3; pub const NS_STYLE_VOLUME_LOUD: ::std::os::raw::c_uint = 4; pub const NS_STYLE_VOLUME_X_LOUD: ::std::os::raw::c_uint = 5; pub const NS_STYLE_COLOR_MOZ_USE_TEXT_COLOR: ::std::os::raw::c_uint = 1; pub const NS_STYLE_COLOR_INHERIT_FROM_BODY: ::std::os::raw::c_uint = 2; pub const NS_STYLE_ANIMATION_ITERATION_COUNT_INFINITE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_ANIMATION_PLAY_STATE_RUNNING: ::std::os::raw::c_uint = 0; pub const NS_STYLE_ANIMATION_PLAY_STATE_PAUSED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_ATTACHMENT_SCROLL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGELAYER_ATTACHMENT_FIXED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_ATTACHMENT_LOCAL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_IMAGELAYER_CLIP_BORDER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGELAYER_CLIP_PADDING: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_CLIP_CONTENT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_IMAGELAYER_CLIP_MOZ_ALMOST_PADDING: ::std::os::raw::c_uint = 127; pub const NS_STYLE_IMAGELAYER_ORIGIN_BORDER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGELAYER_ORIGIN_PADDING: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_ORIGIN_CONTENT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_IMAGELAYER_REPEAT_NO_REPEAT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_X: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_Y: ::std::os::raw::c_uint = 2; pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT: ::std::os::raw::c_uint = 3; pub const NS_STYLE_IMAGELAYER_SIZE_CONTAIN: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGELAYER_SIZE_COVER: ::std::os::raw::c_uint = 1; pub const NS_STYLE_MASK_MODE_ALPHA: ::std::os::raw::c_uint = 0; pub const NS_STYLE_MASK_MODE_LUMINANCE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_MASK_MODE_MATCH_SOURCE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BG_INLINE_POLICY_EACH_BOX: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BG_INLINE_POLICY_CONTINUOUS: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BG_INLINE_POLICY_BOUNDING_BOX: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BORDER_COLLAPSE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BORDER_SEPARATE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BORDER_WIDTH_THIN: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BORDER_WIDTH_MEDIUM: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BORDER_WIDTH_THICK: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BORDER_STYLE_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BORDER_STYLE_GROOVE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BORDER_STYLE_RIDGE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BORDER_STYLE_DOTTED: ::std::os::raw::c_uint = 3; pub const NS_STYLE_BORDER_STYLE_DASHED: ::std::os::raw::c_uint = 4; pub const NS_STYLE_BORDER_STYLE_SOLID: ::std::os::raw::c_uint = 5; pub const NS_STYLE_BORDER_STYLE_DOUBLE: ::std::os::raw::c_uint = 6; pub const NS_STYLE_BORDER_STYLE_INSET: ::std::os::raw::c_uint = 7; pub const NS_STYLE_BORDER_STYLE_OUTSET: ::std::os::raw::c_uint = 8; pub const NS_STYLE_BORDER_STYLE_HIDDEN: ::std::os::raw::c_uint = 9; pub const NS_STYLE_BORDER_STYLE_AUTO: ::std::os::raw::c_uint = 10; pub const NS_STYLE_BORDER_IMAGE_REPEAT_STRETCH: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BORDER_IMAGE_REPEAT_REPEAT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BORDER_IMAGE_REPEAT_ROUND: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BORDER_IMAGE_SLICE_NOFILL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BORDER_IMAGE_SLICE_FILL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CLEAR_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CLEAR_LEFT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CLEAR_RIGHT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_CLEAR_INLINE_START: ::std::os::raw::c_uint = 3; pub const NS_STYLE_CLEAR_INLINE_END: ::std::os::raw::c_uint = 4; pub const NS_STYLE_CLEAR_BOTH: ::std::os::raw::c_uint = 5; pub const NS_STYLE_CLEAR_LINE: ::std::os::raw::c_uint = 8; pub const NS_STYLE_CONTENT_OPEN_QUOTE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CONTENT_CLOSE_QUOTE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CONTENT_NO_OPEN_QUOTE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_CONTENT_NO_CLOSE_QUOTE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_CONTENT_ALT_CONTENT: ::std::os::raw::c_uint = 4; pub const NS_STYLE_CURSOR_AUTO: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CURSOR_CROSSHAIR: ::std::os::raw::c_uint = 2; pub const NS_STYLE_CURSOR_DEFAULT: ::std::os::raw::c_uint = 3; pub const NS_STYLE_CURSOR_POINTER: ::std::os::raw::c_uint = 4; pub const NS_STYLE_CURSOR_MOVE: ::std::os::raw::c_uint = 5; pub const NS_STYLE_CURSOR_E_RESIZE: ::std::os::raw::c_uint = 6; pub const NS_STYLE_CURSOR_NE_RESIZE: ::std::os::raw::c_uint = 7; pub const NS_STYLE_CURSOR_NW_RESIZE: ::std::os::raw::c_uint = 8; pub const NS_STYLE_CURSOR_N_RESIZE: ::std::os::raw::c_uint = 9; pub const NS_STYLE_CURSOR_SE_RESIZE: ::std::os::raw::c_uint = 10; pub const NS_STYLE_CURSOR_SW_RESIZE: ::std::os::raw::c_uint = 11; pub const NS_STYLE_CURSOR_S_RESIZE: ::std::os::raw::c_uint = 12; pub const NS_STYLE_CURSOR_W_RESIZE: ::std::os::raw::c_uint = 13; pub const NS_STYLE_CURSOR_TEXT: ::std::os::raw::c_uint = 14; pub const NS_STYLE_CURSOR_WAIT: ::std::os::raw::c_uint = 15; pub const NS_STYLE_CURSOR_HELP: ::std::os::raw::c_uint = 16; pub const NS_STYLE_CURSOR_COPY: ::std::os::raw::c_uint = 17; pub const NS_STYLE_CURSOR_ALIAS: ::std::os::raw::c_uint = 18; pub const NS_STYLE_CURSOR_CONTEXT_MENU: ::std::os::raw::c_uint = 19; pub const NS_STYLE_CURSOR_CELL: ::std::os::raw::c_uint = 20; pub const NS_STYLE_CURSOR_GRAB: ::std::os::raw::c_uint = 21; pub const NS_STYLE_CURSOR_GRABBING: ::std::os::raw::c_uint = 22; pub const NS_STYLE_CURSOR_SPINNING: ::std::os::raw::c_uint = 23; pub const NS_STYLE_CURSOR_ZOOM_IN: ::std::os::raw::c_uint = 24; pub const NS_STYLE_CURSOR_ZOOM_OUT: ::std::os::raw::c_uint = 25; pub const NS_STYLE_CURSOR_NOT_ALLOWED: ::std::os::raw::c_uint = 26; pub const NS_STYLE_CURSOR_COL_RESIZE: ::std::os::raw::c_uint = 27; pub const NS_STYLE_CURSOR_ROW_RESIZE: ::std::os::raw::c_uint = 28; pub const NS_STYLE_CURSOR_NO_DROP: ::std::os::raw::c_uint = 29; pub const NS_STYLE_CURSOR_VERTICAL_TEXT: ::std::os::raw::c_uint = 30; pub const NS_STYLE_CURSOR_ALL_SCROLL: ::std::os::raw::c_uint = 31; pub const NS_STYLE_CURSOR_NESW_RESIZE: ::std::os::raw::c_uint = 32; pub const NS_STYLE_CURSOR_NWSE_RESIZE: ::std::os::raw::c_uint = 33; pub const NS_STYLE_CURSOR_NS_RESIZE: ::std::os::raw::c_uint = 34; pub const NS_STYLE_CURSOR_EW_RESIZE: ::std::os::raw::c_uint = 35; pub const NS_STYLE_CURSOR_NONE: ::std::os::raw::c_uint = 36; pub const NS_STYLE_DIRECTION_LTR: ::std::os::raw::c_uint = 0; pub const NS_STYLE_DIRECTION_RTL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_WRITING_MODE_HORIZONTAL_TB: ::std::os::raw::c_uint = 0; pub const NS_STYLE_WRITING_MODE_VERTICAL_RL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_WRITING_MODE_VERTICAL_LR: ::std::os::raw::c_uint = 3; pub const NS_STYLE_WRITING_MODE_SIDEWAYS_MASK: ::std::os::raw::c_uint = 4; pub const NS_STYLE_DISPLAY_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_DISPLAY_BLOCK: ::std::os::raw::c_uint = 1; pub const NS_STYLE_DISPLAY_INLINE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_DISPLAY_INLINE_BLOCK: ::std::os::raw::c_uint = 3; pub const NS_STYLE_DISPLAY_LIST_ITEM: ::std::os::raw::c_uint = 4; pub const NS_STYLE_DISPLAY_TABLE: ::std::os::raw::c_uint = 8; pub const NS_STYLE_DISPLAY_INLINE_TABLE: ::std::os::raw::c_uint = 9; pub const NS_STYLE_DISPLAY_TABLE_ROW_GROUP: ::std::os::raw::c_uint = 10; pub const NS_STYLE_DISPLAY_TABLE_COLUMN: ::std::os::raw::c_uint = 11; pub const NS_STYLE_DISPLAY_TABLE_COLUMN_GROUP: ::std::os::raw::c_uint = 12; pub const NS_STYLE_DISPLAY_TABLE_HEADER_GROUP: ::std::os::raw::c_uint = 13; pub const NS_STYLE_DISPLAY_TABLE_FOOTER_GROUP: ::std::os::raw::c_uint = 14; pub const NS_STYLE_DISPLAY_TABLE_ROW: ::std::os::raw::c_uint = 15; pub const NS_STYLE_DISPLAY_TABLE_CELL: ::std::os::raw::c_uint = 16; pub const NS_STYLE_DISPLAY_TABLE_CAPTION: ::std::os::raw::c_uint = 17; pub const NS_STYLE_DISPLAY_BOX: ::std::os::raw::c_uint = 18; pub const NS_STYLE_DISPLAY_INLINE_BOX: ::std::os::raw::c_uint = 19; pub const NS_STYLE_DISPLAY_XUL_GRID: ::std::os::raw::c_uint = 20; pub const NS_STYLE_DISPLAY_INLINE_XUL_GRID: ::std::os::raw::c_uint = 21; pub const NS_STYLE_DISPLAY_XUL_GRID_GROUP: ::std::os::raw::c_uint = 22; pub const NS_STYLE_DISPLAY_XUL_GRID_LINE: ::std::os::raw::c_uint = 23; pub const NS_STYLE_DISPLAY_STACK: ::std::os::raw::c_uint = 24; pub const NS_STYLE_DISPLAY_INLINE_STACK: ::std::os::raw::c_uint = 25; pub const NS_STYLE_DISPLAY_DECK: ::std::os::raw::c_uint = 26; pub const NS_STYLE_DISPLAY_POPUP: ::std::os::raw::c_uint = 27; pub const NS_STYLE_DISPLAY_GROUPBOX: ::std::os::raw::c_uint = 28; pub const NS_STYLE_DISPLAY_FLEX: ::std::os::raw::c_uint = 29; pub const NS_STYLE_DISPLAY_INLINE_FLEX: ::std::os::raw::c_uint = 30; pub const NS_STYLE_DISPLAY_GRID: ::std::os::raw::c_uint = 31; pub const NS_STYLE_DISPLAY_INLINE_GRID: ::std::os::raw::c_uint = 32; pub const NS_STYLE_DISPLAY_RUBY: ::std::os::raw::c_uint = 33; pub const NS_STYLE_DISPLAY_RUBY_BASE: ::std::os::raw::c_uint = 34; pub const NS_STYLE_DISPLAY_RUBY_BASE_CONTAINER: ::std::os::raw::c_uint = 35; pub const NS_STYLE_DISPLAY_RUBY_TEXT: ::std::os::raw::c_uint = 36; pub const NS_STYLE_DISPLAY_RUBY_TEXT_CONTAINER: ::std::os::raw::c_uint = 37; pub const NS_STYLE_DISPLAY_CONTENTS: ::std::os::raw::c_uint = 38; pub const NS_STYLE_DISPLAY_WEBKIT_BOX: ::std::os::raw::c_uint = 39; pub const NS_STYLE_DISPLAY_WEBKIT_INLINE_BOX: ::std::os::raw::c_uint = 40; pub const NS_STYLE_CONTAIN_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CONTAIN_STRICT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CONTAIN_LAYOUT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_CONTAIN_STYLE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_CONTAIN_PAINT: ::std::os::raw::c_uint = 8; pub const NS_STYLE_ALIGN_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_ALIGN_NORMAL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_ALIGN_START: ::std::os::raw::c_uint = 2; pub const NS_STYLE_ALIGN_END: ::std::os::raw::c_uint = 3; pub const NS_STYLE_ALIGN_FLEX_START: ::std::os::raw::c_uint = 4; pub const NS_STYLE_ALIGN_FLEX_END: ::std::os::raw::c_uint = 5; pub const NS_STYLE_ALIGN_CENTER: ::std::os::raw::c_uint = 6; pub const NS_STYLE_ALIGN_LEFT: ::std::os::raw::c_uint = 7; pub const NS_STYLE_ALIGN_RIGHT: ::std::os::raw::c_uint = 8; pub const NS_STYLE_ALIGN_BASELINE: ::std::os::raw::c_uint = 9; pub const NS_STYLE_ALIGN_LAST_BASELINE: ::std::os::raw::c_uint = 10; pub const NS_STYLE_ALIGN_STRETCH: ::std::os::raw::c_uint = 11; pub const NS_STYLE_ALIGN_SELF_START: ::std::os::raw::c_uint = 12; pub const NS_STYLE_ALIGN_SELF_END: ::std::os::raw::c_uint = 13; pub const NS_STYLE_ALIGN_SPACE_BETWEEN: ::std::os::raw::c_uint = 14; pub const NS_STYLE_ALIGN_SPACE_AROUND: ::std::os::raw::c_uint = 15; pub const NS_STYLE_ALIGN_SPACE_EVENLY: ::std::os::raw::c_uint = 16; pub const NS_STYLE_ALIGN_LEGACY: ::std::os::raw::c_uint = 32; pub const NS_STYLE_ALIGN_SAFE: ::std::os::raw::c_uint = 64; pub const NS_STYLE_ALIGN_UNSAFE: ::std::os::raw::c_uint = 128; pub const NS_STYLE_ALIGN_FLAG_BITS: ::std::os::raw::c_uint = 224; pub const NS_STYLE_ALIGN_ALL_BITS: ::std::os::raw::c_uint = 255; pub const NS_STYLE_ALIGN_ALL_SHIFT: ::std::os::raw::c_uint = 8; pub const NS_STYLE_FLEX_DIRECTION_ROW: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FLEX_DIRECTION_ROW_REVERSE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_FLEX_DIRECTION_COLUMN: ::std::os::raw::c_uint = 2; pub const NS_STYLE_FLEX_DIRECTION_COLUMN_REVERSE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_FLEX_WRAP_NOWRAP: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FLEX_WRAP_WRAP: ::std::os::raw::c_uint = 1; pub const NS_STYLE_FLEX_WRAP_WRAP_REVERSE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_ORDER_INITIAL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FLOAT_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FLOAT_LEFT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_FLOAT_RIGHT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_FLOAT_INLINE_START: ::std::os::raw::c_uint = 3; pub const NS_STYLE_FLOAT_INLINE_END: ::std::os::raw::c_uint = 4; pub const NS_STYLE_CLIP_PATH_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CLIP_PATH_URL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CLIP_PATH_SHAPE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_CLIP_PATH_BOX: ::std::os::raw::c_uint = 3; pub const NS_STYLE_FILTER_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FILTER_URL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_FILTER_BLUR: ::std::os::raw::c_uint = 2; pub const NS_STYLE_FILTER_BRIGHTNESS: ::std::os::raw::c_uint = 3; pub const NS_STYLE_FILTER_CONTRAST: ::std::os::raw::c_uint = 4; pub const NS_STYLE_FILTER_GRAYSCALE: ::std::os::raw::c_uint = 5; pub const NS_STYLE_FILTER_INVERT: ::std::os::raw::c_uint = 6; pub const NS_STYLE_FILTER_OPACITY: ::std::os::raw::c_uint = 7; pub const NS_STYLE_FILTER_SATURATE: ::std::os::raw::c_uint = 8; pub const NS_STYLE_FILTER_SEPIA: ::std::os::raw::c_uint = 9; pub const NS_STYLE_FILTER_HUE_ROTATE: ::std::os::raw::c_uint = 10; pub const NS_STYLE_FILTER_DROP_SHADOW: ::std::os::raw::c_uint = 11; pub const NS_STYLE_FONT_SIZE_XXSMALL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FONT_SIZE_XSMALL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_FONT_SIZE_SMALL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_FONT_SIZE_MEDIUM: ::std::os::raw::c_uint = 3; pub const NS_STYLE_FONT_SIZE_LARGE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_FONT_SIZE_XLARGE: ::std::os::raw::c_uint = 5; pub const NS_STYLE_FONT_SIZE_XXLARGE: ::std::os::raw::c_uint = 6; pub const NS_STYLE_FONT_SIZE_XXXLARGE: ::std::os::raw::c_uint = 7; pub const NS_STYLE_FONT_SIZE_LARGER: ::std::os::raw::c_uint = 8; pub const NS_STYLE_FONT_SIZE_SMALLER: ::std::os::raw::c_uint = 9; pub const NS_STYLE_FONT_CAPTION: ::std::os::raw::c_uint = 1; pub const NS_STYLE_FONT_ICON: ::std::os::raw::c_uint = 2; pub const NS_STYLE_FONT_MENU: ::std::os::raw::c_uint = 3; pub const NS_STYLE_FONT_MESSAGE_BOX: ::std::os::raw::c_uint = 4; pub const NS_STYLE_FONT_SMALL_CAPTION: ::std::os::raw::c_uint = 5; pub const NS_STYLE_FONT_STATUS_BAR: ::std::os::raw::c_uint = 6; pub const NS_STYLE_FONT_WINDOW: ::std::os::raw::c_uint = 7; pub const NS_STYLE_FONT_DOCUMENT: ::std::os::raw::c_uint = 8; pub const NS_STYLE_FONT_WORKSPACE: ::std::os::raw::c_uint = 9; pub const NS_STYLE_FONT_DESKTOP: ::std::os::raw::c_uint = 10; pub const NS_STYLE_FONT_INFO: ::std::os::raw::c_uint = 11; pub const NS_STYLE_FONT_DIALOG: ::std::os::raw::c_uint = 12; pub const NS_STYLE_FONT_BUTTON: ::std::os::raw::c_uint = 13; pub const NS_STYLE_FONT_PULL_DOWN_MENU: ::std::os::raw::c_uint = 14; pub const NS_STYLE_FONT_LIST: ::std::os::raw::c_uint = 15; pub const NS_STYLE_FONT_FIELD: ::std::os::raw::c_uint = 16; pub const NS_STYLE_GRID_TEMPLATE_SUBGRID: ::std::os::raw::c_uint = 0; pub const NS_STYLE_GRID_TRACK_BREADTH_MAX_CONTENT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_GRID_TRACK_BREADTH_MIN_CONTENT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_GRID_REPEAT_AUTO_FILL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_GRID_REPEAT_AUTO_FIT: ::std::os::raw::c_uint = 1; pub const NS_MATHML_DEFAULT_SCRIPT_MIN_SIZE_PT: ::std::os::raw::c_uint = 8; pub const NS_MATHML_MATHVARIANT_NONE: ::std::os::raw::c_uint = 0; pub const NS_MATHML_MATHVARIANT_NORMAL: ::std::os::raw::c_uint = 1; pub const NS_MATHML_MATHVARIANT_BOLD: ::std::os::raw::c_uint = 2; pub const NS_MATHML_MATHVARIANT_ITALIC: ::std::os::raw::c_uint = 3; pub const NS_MATHML_MATHVARIANT_BOLD_ITALIC: ::std::os::raw::c_uint = 4; pub const NS_MATHML_MATHVARIANT_SCRIPT: ::std::os::raw::c_uint = 5; pub const NS_MATHML_MATHVARIANT_BOLD_SCRIPT: ::std::os::raw::c_uint = 6; pub const NS_MATHML_MATHVARIANT_FRAKTUR: ::std::os::raw::c_uint = 7; pub const NS_MATHML_MATHVARIANT_DOUBLE_STRUCK: ::std::os::raw::c_uint = 8; pub const NS_MATHML_MATHVARIANT_BOLD_FRAKTUR: ::std::os::raw::c_uint = 9; pub const NS_MATHML_MATHVARIANT_SANS_SERIF: ::std::os::raw::c_uint = 10; pub const NS_MATHML_MATHVARIANT_BOLD_SANS_SERIF: ::std::os::raw::c_uint = 11; pub const NS_MATHML_MATHVARIANT_SANS_SERIF_ITALIC: ::std::os::raw::c_uint = 12; pub const NS_MATHML_MATHVARIANT_SANS_SERIF_BOLD_ITALIC: ::std::os::raw::c_uint = 13; pub const NS_MATHML_MATHVARIANT_MONOSPACE: ::std::os::raw::c_uint = 14; pub const NS_MATHML_MATHVARIANT_INITIAL: ::std::os::raw::c_uint = 15; pub const NS_MATHML_MATHVARIANT_TAILED: ::std::os::raw::c_uint = 16; pub const NS_MATHML_MATHVARIANT_LOOPED: ::std::os::raw::c_uint = 17; pub const NS_MATHML_MATHVARIANT_STRETCHED: ::std::os::raw::c_uint = 18; pub const NS_MATHML_DISPLAYSTYLE_INLINE: ::std::os::raw::c_uint = 0; pub const NS_MATHML_DISPLAYSTYLE_BLOCK: ::std::os::raw::c_uint = 1; pub const NS_STYLE_WIDTH_MAX_CONTENT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_WIDTH_MIN_CONTENT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_WIDTH_FIT_CONTENT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_WIDTH_AVAILABLE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_POSITION_STATIC: ::std::os::raw::c_uint = 0; pub const NS_STYLE_POSITION_RELATIVE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_POSITION_ABSOLUTE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_POSITION_FIXED: ::std::os::raw::c_uint = 3; pub const NS_STYLE_POSITION_STICKY: ::std::os::raw::c_uint = 4; pub const NS_STYLE_CLIP_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CLIP_RECT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CLIP_TYPE_MASK: ::std::os::raw::c_uint = 15; pub const NS_STYLE_CLIP_LEFT_AUTO: ::std::os::raw::c_uint = 16; pub const NS_STYLE_CLIP_TOP_AUTO: ::std::os::raw::c_uint = 32; pub const NS_STYLE_CLIP_RIGHT_AUTO: ::std::os::raw::c_uint = 64; pub const NS_STYLE_CLIP_BOTTOM_AUTO: ::std::os::raw::c_uint = 128; pub const NS_STYLE_FRAME_YES: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FRAME_NO: ::std::os::raw::c_uint = 1; pub const NS_STYLE_FRAME_0: ::std::os::raw::c_uint = 2; pub const NS_STYLE_FRAME_1: ::std::os::raw::c_uint = 3; pub const NS_STYLE_FRAME_ON: ::std::os::raw::c_uint = 4; pub const NS_STYLE_FRAME_OFF: ::std::os::raw::c_uint = 5; pub const NS_STYLE_FRAME_AUTO: ::std::os::raw::c_uint = 6; pub const NS_STYLE_FRAME_SCROLL: ::std::os::raw::c_uint = 7; pub const NS_STYLE_FRAME_NOSCROLL: ::std::os::raw::c_uint = 8; pub const NS_STYLE_OVERFLOW_VISIBLE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_OVERFLOW_HIDDEN: ::std::os::raw::c_uint = 1; pub const NS_STYLE_OVERFLOW_SCROLL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_OVERFLOW_AUTO: ::std::os::raw::c_uint = 3; pub const NS_STYLE_OVERFLOW_CLIP: ::std::os::raw::c_uint = 4; pub const NS_STYLE_OVERFLOW_SCROLLBARS_HORIZONTAL: ::std::os::raw::c_uint = 5; pub const NS_STYLE_OVERFLOW_SCROLLBARS_VERTICAL: ::std::os::raw::c_uint = 6; pub const NS_STYLE_OVERFLOW_CLIP_BOX_PADDING_BOX: ::std::os::raw::c_uint = 0; pub const NS_STYLE_OVERFLOW_CLIP_BOX_CONTENT_BOX: ::std::os::raw::c_uint = 1; pub const NS_STYLE_LIST_STYLE_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_LIST_STYLE_DISC: ::std::os::raw::c_uint = 1; pub const NS_STYLE_LIST_STYLE_CIRCLE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_LIST_STYLE_SQUARE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_LIST_STYLE_DECIMAL: ::std::os::raw::c_uint = 4; pub const NS_STYLE_LIST_STYLE_HEBREW: ::std::os::raw::c_uint = 5; pub const NS_STYLE_LIST_STYLE_JAPANESE_INFORMAL: ::std::os::raw::c_uint = 6; pub const NS_STYLE_LIST_STYLE_JAPANESE_FORMAL: ::std::os::raw::c_uint = 7; pub const NS_STYLE_LIST_STYLE_KOREAN_HANGUL_FORMAL: ::std::os::raw::c_uint = 8; pub const NS_STYLE_LIST_STYLE_KOREAN_HANJA_INFORMAL: ::std::os::raw::c_uint = 9; pub const NS_STYLE_LIST_STYLE_KOREAN_HANJA_FORMAL: ::std::os::raw::c_uint = 10; pub const NS_STYLE_LIST_STYLE_SIMP_CHINESE_INFORMAL: ::std::os::raw::c_uint = 11; pub const NS_STYLE_LIST_STYLE_SIMP_CHINESE_FORMAL: ::std::os::raw::c_uint = 12; pub const NS_STYLE_LIST_STYLE_TRAD_CHINESE_INFORMAL: ::std::os::raw::c_uint = 13; pub const NS_STYLE_LIST_STYLE_TRAD_CHINESE_FORMAL: ::std::os::raw::c_uint = 14; pub const NS_STYLE_LIST_STYLE_ETHIOPIC_NUMERIC: ::std::os::raw::c_uint = 15; pub const NS_STYLE_LIST_STYLE_DISCLOSURE_CLOSED: ::std::os::raw::c_uint = 16; pub const NS_STYLE_LIST_STYLE_DISCLOSURE_OPEN: ::std::os::raw::c_uint = 17; pub const NS_STYLE_LIST_STYLE__MAX: ::std::os::raw::c_uint = 18; pub const NS_STYLE_LIST_STYLE_LOWER_ROMAN: ::std::os::raw::c_uint = 100; pub const NS_STYLE_LIST_STYLE_UPPER_ROMAN: ::std::os::raw::c_uint = 101; pub const NS_STYLE_LIST_STYLE_LOWER_ALPHA: ::std::os::raw::c_uint = 102; pub const NS_STYLE_LIST_STYLE_UPPER_ALPHA: ::std::os::raw::c_uint = 103; pub const NS_STYLE_LIST_STYLE_POSITION_INSIDE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_LIST_STYLE_POSITION_OUTSIDE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_MARGIN_SIZE_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_POINTER_EVENTS_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_POINTER_EVENTS_VISIBLEPAINTED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_POINTER_EVENTS_VISIBLEFILL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_POINTER_EVENTS_VISIBLESTROKE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_POINTER_EVENTS_VISIBLE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_POINTER_EVENTS_PAINTED: ::std::os::raw::c_uint = 5; pub const NS_STYLE_POINTER_EVENTS_FILL: ::std::os::raw::c_uint = 6; pub const NS_STYLE_POINTER_EVENTS_STROKE: ::std::os::raw::c_uint = 7; pub const NS_STYLE_POINTER_EVENTS_ALL: ::std::os::raw::c_uint = 8; pub const NS_STYLE_POINTER_EVENTS_AUTO: ::std::os::raw::c_uint = 9; pub const NS_STYLE_IMAGE_ORIENTATION_FLIP: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGE_ORIENTATION_FROM_IMAGE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_ISOLATION_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_ISOLATION_ISOLATE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_OBJECT_FIT_FILL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_OBJECT_FIT_CONTAIN: ::std::os::raw::c_uint = 1; pub const NS_STYLE_OBJECT_FIT_COVER: ::std::os::raw::c_uint = 2; pub const NS_STYLE_OBJECT_FIT_NONE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_OBJECT_FIT_SCALE_DOWN: ::std::os::raw::c_uint = 4; pub const NS_STYLE_RESIZE_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_RESIZE_BOTH: ::std::os::raw::c_uint = 1; pub const NS_STYLE_RESIZE_HORIZONTAL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_RESIZE_VERTICAL: ::std::os::raw::c_uint = 3; pub const NS_STYLE_TEXT_ALIGN_DEFAULT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_ALIGN_LEFT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_ALIGN_RIGHT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_ALIGN_CENTER: ::std::os::raw::c_uint = 3; pub const NS_STYLE_TEXT_ALIGN_JUSTIFY: ::std::os::raw::c_uint = 4; pub const NS_STYLE_TEXT_ALIGN_CHAR: ::std::os::raw::c_uint = 5; pub const NS_STYLE_TEXT_ALIGN_END: ::std::os::raw::c_uint = 6; pub const NS_STYLE_TEXT_ALIGN_AUTO: ::std::os::raw::c_uint = 7; pub const NS_STYLE_TEXT_ALIGN_MOZ_CENTER: ::std::os::raw::c_uint = 8; pub const NS_STYLE_TEXT_ALIGN_MOZ_RIGHT: ::std::os::raw::c_uint = 9; pub const NS_STYLE_TEXT_ALIGN_MOZ_LEFT: ::std::os::raw::c_uint = 10; pub const NS_STYLE_TEXT_ALIGN_MOZ_CENTER_OR_INHERIT: ::std::os::raw::c_uint = 11; pub const NS_STYLE_TEXT_ALIGN_UNSAFE: ::std::os::raw::c_uint = 12; pub const NS_STYLE_TEXT_ALIGN_MATCH_PARENT: ::std::os::raw::c_uint = 13; pub const NS_STYLE_TEXT_DECORATION_LINE_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_DECORATION_LINE_UNDERLINE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_DECORATION_LINE_OVERLINE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_DECORATION_LINE_LINE_THROUGH: ::std::os::raw::c_uint = 4; pub const NS_STYLE_TEXT_DECORATION_LINE_BLINK: ::std::os::raw::c_uint = 8; pub const NS_STYLE_TEXT_DECORATION_LINE_PREF_ANCHORS: ::std::os::raw::c_uint = 16; pub const NS_STYLE_TEXT_DECORATION_LINE_OVERRIDE_ALL: ::std::os::raw::c_uint = 32; pub const NS_STYLE_TEXT_DECORATION_STYLE_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_DECORATION_STYLE_DOTTED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_DECORATION_STYLE_DASHED: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_DECORATION_STYLE_SOLID: ::std::os::raw::c_uint = 3; pub const NS_STYLE_TEXT_DECORATION_STYLE_DOUBLE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_TEXT_DECORATION_STYLE_WAVY: ::std::os::raw::c_uint = 5; pub const NS_STYLE_TEXT_OVERFLOW_CLIP: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_OVERFLOW_ELLIPSIS: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_OVERFLOW_STRING: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_TRANSFORM_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_TRANSFORM_CAPITALIZE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_TRANSFORM_LOWERCASE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_TRANSFORM_UPPERCASE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_TEXT_TRANSFORM_FULLWIDTH: ::std::os::raw::c_uint = 4; pub const NS_STYLE_TOP_LAYER_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TRANSFORM_BOX_BORDER_BOX: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TRANSFORM_BOX_FILL_BOX: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TRANSFORM_BOX_VIEW_BOX: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_LINEAR: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_IN: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_OUT: ::std::os::raw::c_uint = 3; pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_IN_OUT: ::std::os::raw::c_uint = 4; pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_STEP_START: ::std::os::raw::c_uint = 5; pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_STEP_END: ::std::os::raw::c_uint = 6; pub const NS_STYLE_VERTICAL_ALIGN_BASELINE: ::std::os::raw::c_uint = 14; pub const NS_STYLE_VERTICAL_ALIGN_SUB: ::std::os::raw::c_uint = 15; pub const NS_STYLE_VERTICAL_ALIGN_SUPER: ::std::os::raw::c_uint = 16; pub const NS_STYLE_VERTICAL_ALIGN_TOP: ::std::os::raw::c_uint = 17; pub const NS_STYLE_VERTICAL_ALIGN_TEXT_TOP: ::std::os::raw::c_uint = 18; pub const NS_STYLE_VERTICAL_ALIGN_MIDDLE: ::std::os::raw::c_uint = 19; pub const NS_STYLE_VERTICAL_ALIGN_TEXT_BOTTOM: ::std::os::raw::c_uint = 20; pub const NS_STYLE_VERTICAL_ALIGN_BOTTOM: ::std::os::raw::c_uint = 21; pub const NS_STYLE_VERTICAL_ALIGN_MIDDLE_WITH_BASELINE: ::std::os::raw::c_uint = 22; pub const NS_STYLE_VISIBILITY_HIDDEN: ::std::os::raw::c_uint = 0; pub const NS_STYLE_VISIBILITY_VISIBLE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_VISIBILITY_COLLAPSE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TABSIZE_INITIAL: ::std::os::raw::c_uint = 8; pub const NS_STYLE_WHITESPACE_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_WHITESPACE_PRE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_WHITESPACE_NOWRAP: ::std::os::raw::c_uint = 2; pub const NS_STYLE_WHITESPACE_PRE_WRAP: ::std::os::raw::c_uint = 3; pub const NS_STYLE_WHITESPACE_PRE_LINE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_WHITESPACE_PRE_SPACE: ::std::os::raw::c_uint = 5; pub const NS_STYLE_WORDBREAK_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_WORDBREAK_BREAK_ALL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_WORDBREAK_KEEP_ALL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_WORDWRAP_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_WORDWRAP_BREAK_WORD: ::std::os::raw::c_uint = 1; pub const NS_STYLE_HYPHENS_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_HYPHENS_MANUAL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_HYPHENS_AUTO: ::std::os::raw::c_uint = 2; pub const NS_STYLE_RUBY_ALIGN_START: ::std::os::raw::c_uint = 0; pub const NS_STYLE_RUBY_ALIGN_CENTER: ::std::os::raw::c_uint = 1; pub const NS_STYLE_RUBY_ALIGN_SPACE_BETWEEN: ::std::os::raw::c_uint = 2; pub const NS_STYLE_RUBY_ALIGN_SPACE_AROUND: ::std::os::raw::c_uint = 3; pub const NS_STYLE_RUBY_POSITION_OVER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_RUBY_POSITION_UNDER: ::std::os::raw::c_uint = 1; pub const NS_STYLE_RUBY_POSITION_INTER_CHARACTER: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_SIZE_ADJUST_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_SIZE_ADJUST_AUTO: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_ORIENTATION_MIXED: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_ORIENTATION_UPRIGHT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_ORIENTATION_SIDEWAYS: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_ALL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_2: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_3: ::std::os::raw::c_uint = 3; pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_4: ::std::os::raw::c_uint = 4; pub const NS_STYLE_LINE_HEIGHT_BLOCK_HEIGHT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_UNICODE_BIDI_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_UNICODE_BIDI_EMBED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_UNICODE_BIDI_ISOLATE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_UNICODE_BIDI_OVERRIDE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_UNICODE_BIDI_ISOLATE_OVERRIDE: ::std::os::raw::c_uint = 6; pub const NS_STYLE_UNICODE_BIDI_PLAINTEXT: ::std::os::raw::c_uint = 8; pub const NS_STYLE_TABLE_LAYOUT_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TABLE_LAYOUT_FIXED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TABLE_EMPTY_CELLS_HIDE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TABLE_EMPTY_CELLS_SHOW: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CAPTION_SIDE_TOP: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CAPTION_SIDE_RIGHT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CAPTION_SIDE_BOTTOM: ::std::os::raw::c_uint = 2; pub const NS_STYLE_CAPTION_SIDE_LEFT: ::std::os::raw::c_uint = 3; pub const NS_STYLE_CAPTION_SIDE_TOP_OUTSIDE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_CAPTION_SIDE_BOTTOM_OUTSIDE: ::std::os::raw::c_uint = 5; pub const NS_STYLE_CELL_SCOPE_ROW: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CELL_SCOPE_COL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CELL_SCOPE_ROWGROUP: ::std::os::raw::c_uint = 2; pub const NS_STYLE_CELL_SCOPE_COLGROUP: ::std::os::raw::c_uint = 3; pub const NS_STYLE_PAGE_MARKS_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_PAGE_MARKS_CROP: ::std::os::raw::c_uint = 1; pub const NS_STYLE_PAGE_MARKS_REGISTER: ::std::os::raw::c_uint = 2; pub const NS_STYLE_PAGE_SIZE_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_PAGE_SIZE_PORTRAIT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_PAGE_SIZE_LANDSCAPE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_PAGE_BREAK_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_PAGE_BREAK_ALWAYS: ::std::os::raw::c_uint = 1; pub const NS_STYLE_PAGE_BREAK_AVOID: ::std::os::raw::c_uint = 2; pub const NS_STYLE_PAGE_BREAK_LEFT: ::std::os::raw::c_uint = 3; pub const NS_STYLE_PAGE_BREAK_RIGHT: ::std::os::raw::c_uint = 4; pub const NS_STYLE_COLUMN_COUNT_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_COLUMN_FILL_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_COLUMN_FILL_BALANCE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IME_MODE_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IME_MODE_NORMAL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IME_MODE_ACTIVE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_IME_MODE_DISABLED: ::std::os::raw::c_uint = 3; pub const NS_STYLE_IME_MODE_INACTIVE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_GRADIENT_SHAPE_LINEAR: ::std::os::raw::c_uint = 0; pub const NS_STYLE_GRADIENT_SHAPE_ELLIPTICAL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_GRADIENT_SHAPE_CIRCULAR: ::std::os::raw::c_uint = 2; pub const NS_STYLE_GRADIENT_SIZE_CLOSEST_SIDE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_GRADIENT_SIZE_CLOSEST_CORNER: ::std::os::raw::c_uint = 1; pub const NS_STYLE_GRADIENT_SIZE_FARTHEST_SIDE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_GRADIENT_SIZE_FARTHEST_CORNER: ::std::os::raw::c_uint = 3; pub const NS_STYLE_GRADIENT_SIZE_EXPLICIT_SIZE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_DOMINANT_BASELINE_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_DOMINANT_BASELINE_USE_SCRIPT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_DOMINANT_BASELINE_NO_CHANGE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_DOMINANT_BASELINE_RESET_SIZE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_DOMINANT_BASELINE_IDEOGRAPHIC: ::std::os::raw::c_uint = 4; pub const NS_STYLE_DOMINANT_BASELINE_ALPHABETIC: ::std::os::raw::c_uint = 5; pub const NS_STYLE_DOMINANT_BASELINE_HANGING: ::std::os::raw::c_uint = 6; pub const NS_STYLE_DOMINANT_BASELINE_MATHEMATICAL: ::std::os::raw::c_uint = 7; pub const NS_STYLE_DOMINANT_BASELINE_CENTRAL: ::std::os::raw::c_uint = 8; pub const NS_STYLE_DOMINANT_BASELINE_MIDDLE: ::std::os::raw::c_uint = 9; pub const NS_STYLE_DOMINANT_BASELINE_TEXT_AFTER_EDGE: ::std::os::raw::c_uint = 10; pub const NS_STYLE_DOMINANT_BASELINE_TEXT_BEFORE_EDGE: ::std::os::raw::c_uint = 11; pub const NS_STYLE_FILL_RULE_NONZERO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FILL_RULE_EVENODD: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGE_RENDERING_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGE_RENDERING_OPTIMIZESPEED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGE_RENDERING_OPTIMIZEQUALITY: ::std::os::raw::c_uint = 2; pub const NS_STYLE_IMAGE_RENDERING_CRISPEDGES: ::std::os::raw::c_uint = 3; pub const NS_STYLE_MASK_TYPE_LUMINANCE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_MASK_TYPE_ALPHA: ::std::os::raw::c_uint = 1; pub const NS_STYLE_PAINT_ORDER_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_PAINT_ORDER_FILL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_PAINT_ORDER_STROKE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_PAINT_ORDER_MARKERS: ::std::os::raw::c_uint = 3; pub const NS_STYLE_PAINT_ORDER_BITWIDTH: ::std::os::raw::c_uint = 2; pub const NS_STYLE_SHAPE_RENDERING_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SHAPE_RENDERING_OPTIMIZESPEED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_SHAPE_RENDERING_CRISPEDGES: ::std::os::raw::c_uint = 2; pub const NS_STYLE_SHAPE_RENDERING_GEOMETRICPRECISION: ::std::os::raw::c_uint = 3; pub const NS_STYLE_STROKE_LINECAP_BUTT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_STROKE_LINECAP_ROUND: ::std::os::raw::c_uint = 1; pub const NS_STYLE_STROKE_LINECAP_SQUARE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_STROKE_LINEJOIN_MITER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_STROKE_LINEJOIN_ROUND: ::std::os::raw::c_uint = 1; pub const NS_STYLE_STROKE_LINEJOIN_BEVEL: ::std::os::raw::c_uint = 2; pub const NS_STYLE_STROKE_PROP_CONTEXT_VALUE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_ANCHOR_START: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_ANCHOR_MIDDLE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_ANCHOR_END: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_SHAPE_MASK: ::std::os::raw::c_uint = 7; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_DOT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_CIRCLE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_DOUBLE_CIRCLE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_TRIANGLE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_SESAME: ::std::os::raw::c_uint = 5; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_STRING: ::std::os::raw::c_uint = 255; pub const NS_STYLE_TEXT_RENDERING_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_RENDERING_OPTIMIZESPEED: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_RENDERING_OPTIMIZELEGIBILITY: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_RENDERING_GEOMETRICPRECISION: ::std::os::raw::c_uint = 3; pub const NS_STYLE_COLOR_ADJUST_ECONOMY: ::std::os::raw::c_uint = 0; pub const NS_STYLE_COLOR_ADJUST_EXACT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_COLOR_INTERPOLATION_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_COLOR_INTERPOLATION_SRGB: ::std::os::raw::c_uint = 1; pub const NS_STYLE_COLOR_INTERPOLATION_LINEARRGB: ::std::os::raw::c_uint = 2; pub const NS_STYLE_VECTOR_EFFECT_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_VECTOR_EFFECT_NON_SCALING_STROKE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BACKFACE_VISIBILITY_VISIBLE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BACKFACE_VISIBILITY_HIDDEN: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TRANSFORM_STYLE_FLAT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TRANSFORM_STYLE_PRESERVE_3D: ::std::os::raw::c_uint = 1; pub const NS_STYLE_CONTEXT_FILL_OPACITY: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CONTEXT_STROKE_OPACITY: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BLEND_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_BLEND_MULTIPLY: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BLEND_SCREEN: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BLEND_OVERLAY: ::std::os::raw::c_uint = 3; pub const NS_STYLE_BLEND_DARKEN: ::std::os::raw::c_uint = 4; pub const NS_STYLE_BLEND_LIGHTEN: ::std::os::raw::c_uint = 5; pub const NS_STYLE_BLEND_COLOR_DODGE: ::std::os::raw::c_uint = 6; pub const NS_STYLE_BLEND_COLOR_BURN: ::std::os::raw::c_uint = 7; pub const NS_STYLE_BLEND_HARD_LIGHT: ::std::os::raw::c_uint = 8; pub const NS_STYLE_BLEND_SOFT_LIGHT: ::std::os::raw::c_uint = 9; pub const NS_STYLE_BLEND_DIFFERENCE: ::std::os::raw::c_uint = 10; pub const NS_STYLE_BLEND_EXCLUSION: ::std::os::raw::c_uint = 11; pub const NS_STYLE_BLEND_HUE: ::std::os::raw::c_uint = 12; pub const NS_STYLE_BLEND_SATURATION: ::std::os::raw::c_uint = 13; pub const NS_STYLE_BLEND_COLOR: ::std::os::raw::c_uint = 14; pub const NS_STYLE_BLEND_LUMINOSITY: ::std::os::raw::c_uint = 15; pub const NS_STYLE_MASK_COMPOSITE_ADD: ::std::os::raw::c_uint = 0; pub const NS_STYLE_MASK_COMPOSITE_SUBSTRACT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_MASK_COMPOSITE_INTERSECT: ::std::os::raw::c_uint = 2; pub const NS_STYLE_MASK_COMPOSITE_EXCLUDE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_CONTROL_CHARACTER_VISIBILITY_HIDDEN: ::std::os::raw::c_uint = 0; pub const NS_STYLE_CONTROL_CHARACTER_VISIBILITY_VISIBLE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_COUNTER_SYSTEM_CYCLIC: ::std::os::raw::c_uint = 0; pub const NS_STYLE_COUNTER_SYSTEM_NUMERIC: ::std::os::raw::c_uint = 1; pub const NS_STYLE_COUNTER_SYSTEM_ALPHABETIC: ::std::os::raw::c_uint = 2; pub const NS_STYLE_COUNTER_SYSTEM_SYMBOLIC: ::std::os::raw::c_uint = 3; pub const NS_STYLE_COUNTER_SYSTEM_ADDITIVE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_COUNTER_SYSTEM_FIXED: ::std::os::raw::c_uint = 5; pub const NS_STYLE_COUNTER_SYSTEM_EXTENDS: ::std::os::raw::c_uint = 6; pub const NS_STYLE_COUNTER_RANGE_INFINITE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_COUNTER_SPEAKAS_BULLETS: ::std::os::raw::c_uint = 0; pub const NS_STYLE_COUNTER_SPEAKAS_NUMBERS: ::std::os::raw::c_uint = 1; pub const NS_STYLE_COUNTER_SPEAKAS_WORDS: ::std::os::raw::c_uint = 2; pub const NS_STYLE_COUNTER_SPEAKAS_SPELL_OUT: ::std::os::raw::c_uint = 3; pub const NS_STYLE_COUNTER_SPEAKAS_OTHER: ::std::os::raw::c_uint = 255; pub const NS_STYLE_SCROLL_BEHAVIOR_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SCROLL_BEHAVIOR_SMOOTH: ::std::os::raw::c_uint = 1; pub const NS_STYLE_SCROLL_SNAP_TYPE_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_SCROLL_SNAP_TYPE_MANDATORY: ::std::os::raw::c_uint = 1; 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 NS_STYLE_INHERIT_MASK: ::std::os::raw::c_uint = 16777215; pub const NS_STYLE_HAS_TEXT_DECORATION_LINES: ::std::os::raw::c_uint = 16777216; pub const NS_STYLE_HAS_PSEUDO_ELEMENT_DATA: ::std::os::raw::c_uint = 33554432; pub const NS_STYLE_RELEVANT_LINK_VISITED: ::std::os::raw::c_uint = 67108864; pub const NS_STYLE_IS_STYLE_IF_VISITED: ::std::os::raw::c_uint = 134217728; pub const NS_STYLE_CHILD_USES_GRANDANCESTOR_STYLE: ::std::os::raw::c_uint = 268435456; pub const NS_STYLE_IS_SHARED: ::std::os::raw::c_uint = 536870912; pub const NS_STYLE_IS_GOING_AWAY: ::std::os::raw::c_uint = 1073741824; pub const NS_STYLE_SUPPRESS_LINEBREAK: ::std::os::raw::c_uint = 2147483648; pub const NS_STYLE_IN_DISPLAY_NONE_SUBTREE: ::std::os::raw::c_ulonglong = 4294967296; pub const NS_STYLE_INELIGIBLE_FOR_SHARING: ::std::os::raw::c_ulonglong = 8589934592; pub const NS_STYLE_HAS_CHILD_THAT_USES_RESET_STYLE: ::std::os::raw::c_ulonglong = 17179869184; pub const NS_STYLE_CONTEXT_TYPE_SHIFT: ::std::os::raw::c_uint = 35; pub const NS_RULE_NODE_IS_ANIMATION_RULE: ::std::os::raw::c_uint = 16777216; pub const NS_RULE_NODE_USED_DIRECTLY: ::std::os::raw::c_uint = 67108864; pub const NS_RULE_NODE_IS_IMPORTANT: ::std::os::raw::c_uint = 134217728; pub const NS_RULE_NODE_LEVEL_MASK: ::std::os::raw::c_uint = 4026531840; pub const NS_RULE_NODE_LEVEL_SHIFT: ::std::os::raw::c_uint = 28; pub const NS_RULE_NODE_HAS_ANIMATION_DATA: ::std::os::raw::c_uint = 2147483648; pub const BORDER_COLOR_FOREGROUND: ::std::os::raw::c_uint = 32; pub const OUTLINE_COLOR_INITIAL: ::std::os::raw::c_uint = 128; pub const BORDER_COLOR_SPECIAL: ::std::os::raw::c_uint = 160; pub const BORDER_STYLE_MASK: ::std::os::raw::c_uint = 31; pub const NS_SPACING_MARGIN: ::std::os::raw::c_uint = 0; pub const NS_SPACING_PADDING: ::std::os::raw::c_uint = 1; pub const NS_SPACING_BORDER: ::std::os::raw::c_uint = 2; /** * MozRefCountType is Mozilla's reference count type. * * We use the same type to represent the refcount of RefCounted objects * as well, in order to be able to use the leak detection facilities * that are implemented by XPCOM. * * Note that this type is not in the mozilla namespace so that it is * usable for both C and C++ code. */ pub type MozRefCountType = usize; pub type MozExternalRefCountType = u32; pub const NS_ERROR_NO_INTERFACE: nsresult = nsresult::NS_NOINTERFACE; pub const NS_ERROR_INVALID_ARG: nsresult = nsresult::NS_ERROR_ILLEGAL_VALUE; pub const NS_ERROR_INVALID_POINTER: nsresult = nsresult::NS_ERROR_ILLEGAL_VALUE; pub const NS_ERROR_NULL_POINTER: nsresult = nsresult::NS_ERROR_ILLEGAL_VALUE; pub const NS_BINDING_SUCCEEDED: nsresult = nsresult::NS_OK; pub const NS_NET_STATUS_RESOLVING_HOST: nsresult = nsresult::NS_BINDING_REDIRECTED; pub const NS_NET_STATUS_RESOLVED_HOST: nsresult = nsresult::NS_ERROR_ALREADY_CONNECTED; pub const NS_NET_STATUS_CONNECTED_TO: nsresult = nsresult::NS_BINDING_RETARGETED; pub const NS_NET_STATUS_WAITING_FOR: nsresult = nsresult::NS_ERROR_MALFORMED_URI; pub const NS_STATE_PROPERTY_EXISTS: nsresult = nsresult::NS_OK; pub const NS_ERROR_HTMLPARSER_CONTINUE: nsresult = nsresult::NS_OK; pub const NS_RDF_ASSERTION_ACCEPTED: nsresult = nsresult::NS_OK; pub const NS_EXACT_LENGTH: nsresult = nsresult::NS_OK_UDEC_EXACTLENGTH; pub const NS_PARTIAL_MORE_INPUT: nsresult = nsresult::NS_OK_UDEC_MOREINPUT; pub const NS_PARTIAL_MORE_OUTPUT: nsresult = nsresult::NS_OK_UDEC_MOREOUTPUT; pub const NS_ERROR_ILLEGAL_INPUT: nsresult = nsresult::NS_ERROR_UDEC_ILLEGALINPUT; pub const NS_ERROR_XPATH_INVALID_ARG: nsresult = nsresult::NS_ERROR_ILLEGAL_VALUE; pub const NS_SUCCESS_RESTART_APP: nsresult = nsresult::NS_SUCCESS_DONT_FIXUP; #[repr(i32)] #[derive(Debug, Copy, Clone)] pub enum nsresult { NS_OK = 0, NS_ERROR_BASE = -1041039360, NS_ERROR_NOT_INITIALIZED = -1041039359, NS_ERROR_ALREADY_INITIALIZED = -1041039358, NS_ERROR_NOT_IMPLEMENTED = -2147467263, NS_NOINTERFACE = -2147467262, NS_ERROR_ABORT = -2147467260, NS_ERROR_FAILURE = -2147467259, NS_ERROR_UNEXPECTED = -2147418113, NS_ERROR_OUT_OF_MEMORY = -2147024882, NS_ERROR_ILLEGAL_VALUE = -2147024809, NS_ERROR_NO_AGGREGATION = -2147221232, NS_ERROR_NOT_AVAILABLE = -2147221231, NS_ERROR_FACTORY_NOT_REGISTERED = -2147221164, NS_ERROR_FACTORY_REGISTER_AGAIN = -2147221163, NS_ERROR_FACTORY_NOT_LOADED = -2147221000, NS_ERROR_FACTORY_NO_SIGNATURE_SUPPORT = -1041039103, NS_ERROR_FACTORY_EXISTS = -1041039104, NS_ERROR_CANNOT_CONVERT_DATA = -2142896127, NS_ERROR_OBJECT_IS_IMMUTABLE = -2142896126, NS_ERROR_LOSS_OF_SIGNIFICANT_DATA = -2142896125, NS_ERROR_NOT_SAME_THREAD = -2142896124, NS_ERROR_ILLEGAL_DURING_SHUTDOWN = -2142896098, NS_ERROR_SERVICE_NOT_AVAILABLE = -2142896106, NS_SUCCESS_LOSS_OF_INSIGNIFICANT_DATA = 4587521, NS_SUCCESS_INTERRUPTED_TRAVERSE = 4587522, NS_ERROR_SERVICE_NOT_FOUND = 4587542, NS_ERROR_SERVICE_IN_USE = 4587543, NS_BASE_STREAM_CLOSED = -2142830590, NS_BASE_STREAM_OSERROR = -2142830589, NS_BASE_STREAM_ILLEGAL_ARGS = -2142830588, NS_BASE_STREAM_NO_CONVERTER = -2142830587, NS_BASE_STREAM_BAD_CONVERSION = -2142830586, NS_BASE_STREAM_WOULD_BLOCK = -2142830585, NS_ERROR_GFX_PRINTER_NO_PRINTER_AVAILABLE = -2142765055, NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND = -2142765054, NS_ERROR_GFX_PRINTER_COULD_NOT_OPEN_FILE = -2142765053, NS_ERROR_GFX_PRINTER_STARTDOC = -2142765052, NS_ERROR_GFX_PRINTER_ENDDOC = -2142765051, NS_ERROR_GFX_PRINTER_STARTPAGE = -2142765050, NS_ERROR_GFX_PRINTER_DOC_IS_BUSY = -2142765049, NS_ERROR_GFX_CMAP_MALFORMED = -2142765005, NS_SUCCESS_EVENT_CONSUMED = 4784129, NS_BINDING_FAILED = -2142568447, NS_BINDING_ABORTED = -2142568446, NS_BINDING_REDIRECTED = -2142568445, NS_BINDING_RETARGETED = -2142568444, NS_ERROR_MALFORMED_URI = -2142568438, NS_ERROR_IN_PROGRESS = -2142568433, NS_ERROR_NO_CONTENT = -2142568431, NS_ERROR_UNKNOWN_PROTOCOL = -2142568430, NS_ERROR_INVALID_CONTENT_ENCODING = -2142568421, NS_ERROR_CORRUPTED_CONTENT = -2142568419, NS_ERROR_INVALID_SIGNATURE = -2142568390, NS_ERROR_FIRST_HEADER_FIELD_COMPONENT_EMPTY = -2142568414, NS_ERROR_ALREADY_OPENED = -2142568375, NS_ERROR_ALREADY_CONNECTED = -2142568437, NS_ERROR_NOT_CONNECTED = -2142568436, NS_ERROR_CONNECTION_REFUSED = -2142568435, NS_ERROR_NET_TIMEOUT = -2142568434, NS_ERROR_OFFLINE = -2142568432, NS_ERROR_PORT_ACCESS_NOT_ALLOWED = -2142568429, NS_ERROR_NET_RESET = -2142568428, NS_ERROR_NET_INTERRUPT = -2142568377, NS_ERROR_PROXY_CONNECTION_REFUSED = -2142568376, NS_ERROR_NET_PARTIAL_TRANSFER = -2142568372, NS_ERROR_NOT_RESUMABLE = -2142568423, NS_ERROR_REDIRECT_LOOP = -2142568417, NS_ERROR_ENTITY_CHANGED = -2142568416, NS_ERROR_UNSAFE_CONTENT_TYPE = -2142568374, NS_ERROR_REMOTE_XUL = -2142568373, NS_ERROR_LOAD_SHOWED_ERRORPAGE = -2142568371, NS_ERROR_FTP_LOGIN = -2142568427, NS_ERROR_FTP_CWD = -2142568426, NS_ERROR_FTP_PASV = -2142568425, NS_ERROR_FTP_PWD = -2142568424, NS_ERROR_FTP_LIST = -2142568420, NS_ERROR_UNKNOWN_HOST = -2142568418, NS_ERROR_DNS_LOOKUP_QUEUE_FULL = -2142568415, NS_ERROR_UNKNOWN_PROXY_HOST = -2142568406, NS_ERROR_UNKNOWN_SOCKET_TYPE = -2142568397, NS_ERROR_SOCKET_CREATE_FAILED = -2142568396, NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED = -2142568395, NS_ERROR_SOCKET_ADDRESS_IN_USE = -2142568394, NS_ERROR_CACHE_KEY_NOT_FOUND = -2142568387, NS_ERROR_CACHE_DATA_IS_STREAM = -2142568386, NS_ERROR_CACHE_DATA_IS_NOT_STREAM = -2142568385, NS_ERROR_CACHE_WAIT_FOR_VALIDATION = -2142568384, NS_ERROR_CACHE_ENTRY_DOOMED = -2142568383, NS_ERROR_CACHE_READ_ACCESS_DENIED = -2142568382, NS_ERROR_CACHE_WRITE_ACCESS_DENIED = -2142568381, NS_ERROR_CACHE_IN_USE = -2142568380, NS_ERROR_DOCUMENT_NOT_CACHED = -2142568378, NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS = -2142568368, NS_ERROR_HOST_IS_IP_ADDRESS = -2142568367, NS_SUCCESS_ADOPTED_DATA = 4915290, NS_NET_STATUS_BEGIN_FTP_TRANSACTION = 4915227, NS_NET_STATUS_END_FTP_TRANSACTION = 4915228, NS_SUCCESS_AUTH_FINISHED = 4915240, NS_NET_STATUS_READING = -2142568440, NS_NET_STATUS_WRITING = -2142568439, NS_NET_STATUS_CONNECTING_TO = -2142568441, NS_NET_STATUS_SENDING_TO = -2142568443, NS_NET_STATUS_RECEIVING_FROM = -2142568442, NS_ERROR_INTERCEPTION_FAILED = -2142568348, NS_ERROR_PLUGINS_PLUGINSNOTCHANGED = -2142501912, NS_ERROR_PLUGIN_DISABLED = -2142501911, NS_ERROR_PLUGIN_BLOCKLISTED = -2142501910, NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED = -2142501909, NS_ERROR_PLUGIN_CLICKTOPLAY = -2142501908, NS_PLUGIN_INIT_PENDING = 4981741, NS_TABLELAYOUT_CELL_NOT_FOUND = 5046272, NS_POSITION_BEFORE_TABLE = 5046275, NS_STATE_PROPERTY_NOT_THERE = 5046277, NS_ERROR_HTMLPARSER_EOF = -2142370840, NS_ERROR_HTMLPARSER_UNKNOWN = -2142370839, NS_ERROR_HTMLPARSER_CANTPROPAGATE = -2142370838, NS_ERROR_HTMLPARSER_CONTEXTMISMATCH = -2142370837, NS_ERROR_HTMLPARSER_BADFILENAME = -2142370836, NS_ERROR_HTMLPARSER_BADURL = -2142370835, NS_ERROR_HTMLPARSER_INVALIDPARSERCONTEXT = -2142370834, NS_ERROR_HTMLPARSER_INTERRUPTED = -2142370833, NS_ERROR_HTMLPARSER_BLOCK = -2142370832, NS_ERROR_HTMLPARSER_BADTOKENIZER = -2142370831, NS_ERROR_HTMLPARSER_BADATTRIBUTE = -2142370830, NS_ERROR_HTMLPARSER_UNRESOLVEDDTD = -2142370829, NS_ERROR_HTMLPARSER_MISPLACEDTABLECONTENT = -2142370828, NS_ERROR_HTMLPARSER_BADDTD = -2142370827, NS_ERROR_HTMLPARSER_BADCONTEXT = -2142370826, NS_ERROR_HTMLPARSER_STOPPARSING = -2142370825, NS_ERROR_HTMLPARSER_UNTERMINATEDSTRINGLITERAL = -2142370824, NS_ERROR_HTMLPARSER_HIERARCHYTOODEEP = -2142370823, NS_ERROR_HTMLPARSER_FAKE_ENDTAG = -2142370822, NS_ERROR_HTMLPARSER_INVALID_COMMENT = -2142370821, NS_HTMLTOKENS_NOT_AN_ENTITY = 5113808, NS_HTMLPARSER_VALID_META_CHARSET = 5114808, NS_RDF_CURSOR_EMPTY = 5177345, NS_RDF_NO_VALUE = 5177346, NS_RDF_ASSERTION_REJECTED = 5177347, NS_RDF_STOP_VISIT = 5177348, NS_ERROR_UCONV_NOCONV = -2142240767, NS_ERROR_UDEC_ILLEGALINPUT = -2142240754, NS_SUCCESS_USING_FALLBACK_LOCALE = 5242882, NS_OK_UDEC_EXACTLENGTH = 5242891, NS_OK_UDEC_MOREINPUT = 5242892, NS_OK_UDEC_MOREOUTPUT = 5242893, NS_OK_UDEC_NOBOMFOUND = 5242894, NS_OK_UENC_EXACTLENGTH = 5242913, NS_OK_UENC_MOREOUTPUT = 5242914, NS_ERROR_UENC_NOMAPPING = 5242915, NS_OK_UENC_MOREINPUT = 5242916, NS_ERROR_FILE_UNRECOGNIZED_PATH = -2142109695, NS_ERROR_FILE_UNRESOLVABLE_SYMLINK = -2142109694, NS_ERROR_FILE_EXECUTION_FAILED = -2142109693, NS_ERROR_FILE_UNKNOWN_TYPE = -2142109692, NS_ERROR_FILE_DESTINATION_NOT_DIR = -2142109691, NS_ERROR_FILE_TARGET_DOES_NOT_EXIST = -2142109690, NS_ERROR_FILE_COPY_OR_MOVE_FAILED = -2142109689, NS_ERROR_FILE_ALREADY_EXISTS = -2142109688, NS_ERROR_FILE_INVALID_PATH = -2142109687, NS_ERROR_FILE_DISK_FULL = -2142109686, NS_ERROR_FILE_CORRUPTED = -2142109685, NS_ERROR_FILE_NOT_DIRECTORY = -2142109684, NS_ERROR_FILE_IS_DIRECTORY = -2142109683, NS_ERROR_FILE_IS_LOCKED = -2142109682, NS_ERROR_FILE_TOO_BIG = -2142109681, NS_ERROR_FILE_NO_DEVICE_SPACE = -2142109680, NS_ERROR_FILE_NAME_TOO_LONG = -2142109679, NS_ERROR_FILE_NOT_FOUND = -2142109678, NS_ERROR_FILE_READ_ONLY = -2142109677, NS_ERROR_FILE_DIR_NOT_EMPTY = -2142109676, NS_ERROR_FILE_ACCESS_DENIED = -2142109675, NS_SUCCESS_FILE_DIRECTORY_EMPTY = 5373953, NS_SUCCESS_AGGREGATE_RESULT = 5373954, NS_ERROR_DOM_INDEX_SIZE_ERR = -2142044159, NS_ERROR_DOM_HIERARCHY_REQUEST_ERR = -2142044157, NS_ERROR_DOM_WRONG_DOCUMENT_ERR = -2142044156, NS_ERROR_DOM_INVALID_CHARACTER_ERR = -2142044155, NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR = -2142044153, NS_ERROR_DOM_NOT_FOUND_ERR = -2142044152, NS_ERROR_DOM_NOT_SUPPORTED_ERR = -2142044151, NS_ERROR_DOM_INUSE_ATTRIBUTE_ERR = -2142044150, NS_ERROR_DOM_INVALID_STATE_ERR = -2142044149, NS_ERROR_DOM_SYNTAX_ERR = -2142044148, NS_ERROR_DOM_INVALID_MODIFICATION_ERR = -2142044147, NS_ERROR_DOM_NAMESPACE_ERR = -2142044146, NS_ERROR_DOM_INVALID_ACCESS_ERR = -2142044145, NS_ERROR_DOM_TYPE_MISMATCH_ERR = -2142044143, NS_ERROR_DOM_SECURITY_ERR = -2142044142, NS_ERROR_DOM_NETWORK_ERR = -2142044141, NS_ERROR_DOM_ABORT_ERR = -2142044140, NS_ERROR_DOM_URL_MISMATCH_ERR = -2142044139, NS_ERROR_DOM_QUOTA_EXCEEDED_ERR = -2142044138, NS_ERROR_DOM_TIMEOUT_ERR = -2142044137, NS_ERROR_DOM_INVALID_NODE_TYPE_ERR = -2142044136, NS_ERROR_DOM_DATA_CLONE_ERR = -2142044135, NS_ERROR_TYPE_ERR = -2142044134, NS_ERROR_RANGE_ERR = -2142044133, NS_ERROR_DOM_ENCODING_NOT_SUPPORTED_ERR = -2142044132, NS_ERROR_DOM_INVALID_POINTER_ERR = -2142044131, NS_ERROR_DOM_UNKNOWN_ERR = -2142044130, NS_ERROR_DOM_DATA_ERR = -2142044129, NS_ERROR_DOM_OPERATION_ERR = -2142044128, NS_ERROR_DOM_SECMAN_ERR = -2142043159, NS_ERROR_DOM_WRONG_TYPE_ERR = -2142043158, NS_ERROR_DOM_NOT_OBJECT_ERR = -2142043157, NS_ERROR_DOM_NOT_XPC_OBJECT_ERR = -2142043156, NS_ERROR_DOM_NOT_NUMBER_ERR = -2142043155, NS_ERROR_DOM_NOT_BOOLEAN_ERR = -2142043154, NS_ERROR_DOM_NOT_FUNCTION_ERR = -2142043153, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR = -2142043152, NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN = -2142043151, NS_ERROR_DOM_PROP_ACCESS_DENIED = -2142043150, NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED = -2142043149, NS_ERROR_DOM_BAD_URI = -2142043148, NS_ERROR_DOM_RETVAL_UNDEFINED = -2142043147, NS_ERROR_DOM_QUOTA_REACHED = -2142043146, NS_ERROR_DOM_JS_EXCEPTION = -2142043145, NS_ERROR_UNCATCHABLE_EXCEPTION = -2142043144, NS_ERROR_DOM_DOMEXCEPTION = -2142043143, NS_ERROR_DOM_EXCEPTION_ON_JSCONTEXT = -2142043142, NS_SUCCESS_DOM_NO_OPERATION = 5439489, NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW = 5439490, NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW_UNCATCHABLE = 5439491, NS_IMAGELIB_SUCCESS_LOAD_FINISHED = 5505024, NS_IMAGELIB_CHANGING_OWNER = 5505025, NS_IMAGELIB_ERROR_FAILURE = -2141978619, NS_IMAGELIB_ERROR_NO_DECODER = -2141978618, NS_IMAGELIB_ERROR_NOT_FINISHED = -2141978617, NS_IMAGELIB_ERROR_NO_ENCODER = -2141978615, NS_ERROR_EDITOR_NO_SELECTION = -2141847551, NS_ERROR_EDITOR_NO_TEXTNODE = -2141847550, NS_FOUND_TARGET = -2141847549, NS_EDITOR_ELEMENT_NOT_FOUND = 5636097, NS_ERROR_XPC_NOT_ENOUGH_ARGS = -2141782015, NS_ERROR_XPC_NEED_OUT_OBJECT = -2141782014, NS_ERROR_XPC_CANT_SET_OUT_VAL = -2141782013, NS_ERROR_XPC_NATIVE_RETURNED_FAILURE = -2141782012, NS_ERROR_XPC_CANT_GET_INTERFACE_INFO = -2141782011, NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO = -2141782010, NS_ERROR_XPC_CANT_GET_METHOD_INFO = -2141782009, NS_ERROR_XPC_UNEXPECTED = -2141782008, NS_ERROR_XPC_BAD_CONVERT_JS = -2141782007, NS_ERROR_XPC_BAD_CONVERT_NATIVE = -2141782006, NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF = -2141782005, NS_ERROR_XPC_BAD_OP_ON_WN_PROTO = -2141782004, NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN = -2141782003, NS_ERROR_XPC_CANT_DEFINE_PROP_ON_WN = -2141782002, NS_ERROR_XPC_CANT_WATCH_WN_STATIC = -2141782001, NS_ERROR_XPC_CANT_EXPORT_WN_STATIC = -2141782000, NS_ERROR_XPC_SCRIPTABLE_CALL_FAILED = -2141781999, NS_ERROR_XPC_SCRIPTABLE_CTOR_FAILED = -2141781998, NS_ERROR_XPC_CANT_CALL_WO_SCRIPTABLE = -2141781997, NS_ERROR_XPC_CANT_CTOR_WO_SCRIPTABLE = -2141781996, NS_ERROR_XPC_CI_RETURNED_FAILURE = -2141781995, NS_ERROR_XPC_GS_RETURNED_FAILURE = -2141781994, NS_ERROR_XPC_BAD_CID = -2141781993, NS_ERROR_XPC_BAD_IID = -2141781992, NS_ERROR_XPC_CANT_CREATE_WN = -2141781991, NS_ERROR_XPC_JS_THREW_EXCEPTION = -2141781990, NS_ERROR_XPC_JS_THREW_NATIVE_OBJECT = -2141781989, NS_ERROR_XPC_JS_THREW_JS_OBJECT = -2141781988, NS_ERROR_XPC_JS_THREW_NULL = -2141781987, NS_ERROR_XPC_JS_THREW_STRING = -2141781986, NS_ERROR_XPC_JS_THREW_NUMBER = -2141781985, NS_ERROR_XPC_JAVASCRIPT_ERROR = -2141781984, NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS = -2141781983, NS_ERROR_XPC_CANT_CONVERT_PRIMITIVE_TO_ARRAY = -2141781982, NS_ERROR_XPC_CANT_CONVERT_OBJECT_TO_ARRAY = -2141781981, NS_ERROR_XPC_NOT_ENOUGH_ELEMENTS_IN_ARRAY = -2141781980, NS_ERROR_XPC_CANT_GET_ARRAY_INFO = -2141781979, NS_ERROR_XPC_NOT_ENOUGH_CHARS_IN_STRING = -2141781978, NS_ERROR_XPC_SECURITY_MANAGER_VETO = -2141781977, NS_ERROR_XPC_INTERFACE_NOT_SCRIPTABLE = -2141781976, NS_ERROR_XPC_INTERFACE_NOT_FROM_NSISUPPORTS = -2141781975, NS_ERROR_XPC_CANT_GET_JSOBJECT_OF_DOM_OBJECT = -2141781974, NS_ERROR_XPC_CANT_SET_READ_ONLY_CONSTANT = -2141781973, NS_ERROR_XPC_CANT_SET_READ_ONLY_ATTRIBUTE = -2141781972, NS_ERROR_XPC_CANT_SET_READ_ONLY_METHOD = -2141781971, NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE = -2141781970, NS_ERROR_XPC_CALL_TO_SCRIPTABLE_FAILED = -2141781969, NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED = -2141781968, NS_ERROR_XPC_BAD_ID_STRING = -2141781967, NS_ERROR_XPC_BAD_INITIALIZER_NAME = -2141781966, NS_ERROR_XPC_HAS_BEEN_SHUTDOWN = -2141781965, NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN = -2141781964, NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL = -2141781963, NS_ERROR_XPC_CANT_PASS_CPOW_TO_NATIVE = -2141781962, NS_ERROR_LAUNCHED_CHILD_PROCESS = -2141716280, NS_ERROR_CSP_FORM_ACTION_VIOLATION = -2141585310, NS_ERROR_CSP_FRAME_ANCESTOR_VIOLATION = -2141585309, NS_ERROR_SRI_CORRUPT = -2141585208, NS_ERROR_SRI_DISABLED = -2141585207, NS_ERROR_SRI_NOT_ELIGIBLE = -2141585206, NS_ERROR_CMS_VERIFY_NOT_SIGNED = -2141584384, NS_ERROR_CMS_VERIFY_NO_CONTENT_INFO = -2141584383, NS_ERROR_CMS_VERIFY_BAD_DIGEST = -2141584382, NS_ERROR_CMS_VERIFY_NOCERT = -2141584380, NS_ERROR_CMS_VERIFY_UNTRUSTED = -2141584379, NS_ERROR_CMS_VERIFY_ERROR_UNVERIFIED = -2141584377, NS_ERROR_CMS_VERIFY_ERROR_PROCESSING = -2141584376, NS_ERROR_CMS_VERIFY_BAD_SIGNATURE = -2141584375, NS_ERROR_CMS_VERIFY_DIGEST_MISMATCH = -2141584374, NS_ERROR_CMS_VERIFY_UNKNOWN_ALGO = -2141584373, NS_ERROR_CMS_VERIFY_UNSUPPORTED_ALGO = -2141584372, NS_ERROR_CMS_VERIFY_MALFORMED_SIGNATURE = -2141584371, NS_ERROR_CMS_VERIFY_HEADER_MISMATCH = -2141584370, NS_ERROR_CMS_VERIFY_NOT_YET_ATTEMPTED = -2141584369, NS_ERROR_CMS_VERIFY_CERT_WITHOUT_ADDRESS = -2141584368, NS_ERROR_CMS_ENCRYPT_NO_BULK_ALG = -2141584352, NS_ERROR_CMS_ENCRYPT_INCOMPLETE = -2141584351, NS_ERROR_DOM_INVALID_EXPRESSION_ERR = -2141519821, NS_ERROR_DOM_TYPE_ERR = -2141519820, NS_ERROR_WONT_HANDLE_CONTENT = -2141388799, NS_ERROR_MALWARE_URI = -2141388770, NS_ERROR_PHISHING_URI = -2141388769, NS_ERROR_TRACKING_URI = -2141388766, NS_ERROR_UNWANTED_URI = -2141388765, NS_ERROR_FORBIDDEN_URI = -2141388764, NS_ERROR_BLOCKED_URI = -2141388763, NS_ERROR_SAVE_LINK_AS_TIMEOUT = -2141388768, NS_ERROR_PARSED_DATA_CACHED = -2141388767, NS_REFRESHURI_HEADER_FOUND = 6094850, NS_ERROR_IMAGE_SRC_CHANGED = -2141323260, NS_ERROR_IMAGE_BLOCKED = -2141323259, NS_ERROR_CONTENT_BLOCKED = -2141323258, NS_ERROR_CONTENT_BLOCKED_SHOW_ALT = -2141323257, NS_PROPTABLE_PROP_NOT_THERE = -2141323254, NS_ERROR_XBL_BLOCKED = -2141323249, NS_ERROR_CONTENT_CRASHED = -2141323248, NS_HTML_STYLE_PROPERTY_NOT_THERE = 6160386, NS_CONTENT_BLOCKED = 6160392, NS_CONTENT_BLOCKED_SHOW_ALT = 6160393, NS_PROPTABLE_PROP_OVERWRITTEN = 6160395, NS_FINDBROADCASTER_NOT_FOUND = 6160396, NS_FINDBROADCASTER_FOUND = 6160397, NS_FINDBROADCASTER_AWAIT_OVERLAYS = 6160398, NS_ERROR_XSLT_PARSE_FAILURE = -2141192191, NS_ERROR_XPATH_PARSE_FAILURE = -2141192190, NS_ERROR_XSLT_ALREADY_SET = -2141192189, NS_ERROR_XSLT_EXECUTION_FAILURE = -2141192188, NS_ERROR_XPATH_UNKNOWN_FUNCTION = -2141192187, NS_ERROR_XSLT_BAD_RECURSION = -2141192186, NS_ERROR_XSLT_BAD_VALUE = -2141192185, NS_ERROR_XSLT_NODESET_EXPECTED = -2141192184, NS_ERROR_XSLT_ABORTED = -2141192183, NS_ERROR_XSLT_NETWORK_ERROR = -2141192182, NS_ERROR_XSLT_WRONG_MIME_TYPE = -2141192181, NS_ERROR_XSLT_LOAD_RECURSION = -2141192180, NS_ERROR_XPATH_BAD_ARGUMENT_COUNT = -2141192179, NS_ERROR_XPATH_BAD_EXTENSION_FUNCTION = -2141192178, NS_ERROR_XPATH_PAREN_EXPECTED = -2141192177, NS_ERROR_XPATH_INVALID_AXIS = -2141192176, NS_ERROR_XPATH_NO_NODE_TYPE_TEST = -2141192175, NS_ERROR_XPATH_BRACKET_EXPECTED = -2141192174, NS_ERROR_XPATH_INVALID_VAR_NAME = -2141192173, NS_ERROR_XPATH_UNEXPECTED_END = -2141192172, NS_ERROR_XPATH_OPERATOR_EXPECTED = -2141192171, NS_ERROR_XPATH_UNCLOSED_LITERAL = -2141192170, NS_ERROR_XPATH_BAD_COLON = -2141192169, NS_ERROR_XPATH_BAD_BANG = -2141192168, NS_ERROR_XPATH_ILLEGAL_CHAR = -2141192167, NS_ERROR_XPATH_BINARY_EXPECTED = -2141192166, NS_ERROR_XSLT_LOAD_BLOCKED_ERROR = -2141192165, NS_ERROR_XPATH_INVALID_EXPRESSION_EVALUATED = -2141192164, NS_ERROR_XPATH_UNBALANCED_CURLY_BRACE = -2141192163, NS_ERROR_XSLT_BAD_NODE_NAME = -2141192162, NS_ERROR_XSLT_VAR_ALREADY_SET = -2141192161, NS_ERROR_XSLT_CALL_TO_KEY_NOT_ALLOWED = -2141192160, NS_XSLT_GET_NEW_HANDLER = 6291457, NS_ERROR_TRANSPORT_INIT = -2141126655, NS_ERROR_DUPLICATE_HANDLE = -2141126654, NS_ERROR_BRIDGE_OPEN_PARENT = -2141126653, NS_ERROR_BRIDGE_OPEN_CHILD = -2141126652, NS_ERROR_DOM_SVG_WRONG_TYPE_ERR = -2141061120, NS_ERROR_DOM_SVG_MATRIX_NOT_INVERTABLE = -2141061118, NS_ERROR_STORAGE_BUSY = -2140995583, NS_ERROR_STORAGE_IOERR = -2140995582, NS_ERROR_STORAGE_CONSTRAINT = -2140995581, NS_ERROR_DOM_FILE_NOT_FOUND_ERR = -2140864512, NS_ERROR_DOM_FILE_NOT_READABLE_ERR = -2140864511, NS_ERROR_DOM_FILE_ABORT_ERR = -2140864510, NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR = -2140798975, NS_ERROR_DOM_INDEXEDDB_NOT_FOUND_ERR = -2140798973, NS_ERROR_DOM_INDEXEDDB_CONSTRAINT_ERR = -2140798972, NS_ERROR_DOM_INDEXEDDB_DATA_ERR = -2140798971, NS_ERROR_DOM_INDEXEDDB_NOT_ALLOWED_ERR = -2140798970, NS_ERROR_DOM_INDEXEDDB_TRANSACTION_INACTIVE_ERR = -2140798969, NS_ERROR_DOM_INDEXEDDB_ABORT_ERR = -2140798968, NS_ERROR_DOM_INDEXEDDB_READ_ONLY_ERR = -2140798967, NS_ERROR_DOM_INDEXEDDB_TIMEOUT_ERR = -2140798966, NS_ERROR_DOM_INDEXEDDB_QUOTA_ERR = -2140798965, NS_ERROR_DOM_INDEXEDDB_VERSION_ERR = -2140798964, NS_ERROR_DOM_INDEXEDDB_RECOVERABLE_ERR = -2140797975, NS_ERROR_DOM_FILEHANDLE_UNKNOWN_ERR = -2140733439, NS_ERROR_DOM_FILEHANDLE_NOT_ALLOWED_ERR = -2140733438, NS_ERROR_DOM_FILEHANDLE_INACTIVE_ERR = -2140733437, NS_ERROR_DOM_FILEHANDLE_ABORT_ERR = -2140733436, NS_ERROR_DOM_FILEHANDLE_READ_ONLY_ERR = -2140733435, NS_ERROR_DOM_FILEHANDLE_QUOTA_ERR = -2140733434, NS_ERROR_SIGNED_JAR_NOT_SIGNED = -2140667903, NS_ERROR_SIGNED_JAR_MODIFIED_ENTRY = -2140667902, NS_ERROR_SIGNED_JAR_UNSIGNED_ENTRY = -2140667901, NS_ERROR_SIGNED_JAR_ENTRY_MISSING = -2140667900, NS_ERROR_SIGNED_JAR_WRONG_SIGNATURE = -2140667899, NS_ERROR_SIGNED_JAR_ENTRY_TOO_LARGE = -2140667898, NS_ERROR_SIGNED_JAR_ENTRY_INVALID = -2140667897, NS_ERROR_SIGNED_JAR_MANIFEST_INVALID = -2140667896, NS_ERROR_DOM_FILESYSTEM_INVALID_PATH_ERR = -2140602367, NS_ERROR_DOM_FILESYSTEM_INVALID_MODIFICATION_ERR = -2140602366, NS_ERROR_DOM_FILESYSTEM_NO_MODIFICATION_ALLOWED_ERR = -2140602365, NS_ERROR_DOM_FILESYSTEM_PATH_EXISTS_ERR = -2140602364, NS_ERROR_DOM_FILESYSTEM_TYPE_MISMATCH_ERR = -2140602363, NS_ERROR_DOM_FILESYSTEM_UNKNOWN_ERR = -2140602362, NS_ERROR_DOM_BLUETOOTH_FAIL = -2140536831, NS_ERROR_DOM_BLUETOOTH_NOT_READY = -2140536830, NS_ERROR_DOM_BLUETOOTH_NOMEM = -2140536829, NS_ERROR_DOM_BLUETOOTH_BUSY = -2140536828, NS_ERROR_DOM_BLUETOOTH_DONE = -2140536827, NS_ERROR_DOM_BLUETOOTH_UNSUPPORTED = -2140536826, NS_ERROR_DOM_BLUETOOTH_PARM_INVALID = -2140536825, NS_ERROR_DOM_BLUETOOTH_UNHANDLED = -2140536824, NS_ERROR_DOM_BLUETOOTH_AUTH_FAILURE = -2140536823, NS_ERROR_DOM_BLUETOOTH_RMT_DEV_DOWN = -2140536822, NS_ERROR_DOM_BLUETOOTH_AUTH_REJECTED = -2140536821, NS_ERROR_SIGNED_APP_MANIFEST_INVALID = -2140471295, NS_ERROR_DOM_ANIM_MISSING_PROPS_ERR = -2140405759, NS_ERROR_DOM_ANIM_NO_TARGET_ERR = -2140405758, NS_ERROR_DOM_PUSH_INVALID_REGISTRATION_ERR = -2140340223, NS_ERROR_DOM_PUSH_DENIED_ERR = -2140340222, NS_ERROR_DOM_PUSH_ABORT_ERR = -2140340221, NS_ERROR_DOM_PUSH_SERVICE_UNREACHABLE = -2140340220, NS_ERROR_DOWNLOAD_COMPLETE = -2139619327, NS_ERROR_DOWNLOAD_NOT_PARTIAL = -2139619326, NS_ERROR_UNORM_MOREOUTPUT = -2139619295, NS_ERROR_DOCSHELL_REQUEST_REJECTED = -2139618327, NS_ERROR_DOCUMENT_IS_PRINTMODE = -2139617327, NS_SUCCESS_DONT_FIXUP = 7864321, NS_SUCCESS_RESTART_APP_NOT_SAME_PROFILE = 7864323, NS_SUCCESS_UNORM_NOTFOUND = 7864337, NS_ERROR_NOT_IN_TREE = -2139619290, NS_OK_NO_NAME_CLAUSE_HANDLED = 7864354, } pub type nsrefcnt = MozRefCountType; /** * typedefs for backwards compatibility */ pub type nsSubstring = nsAString_internal; pub type nsCSubstring = nsACString_internal; pub type nsAFlatString = nsString; pub type nsASingleFragmentString = nsSubstring; pub type nsAFlatCString = nsCString; pub type nsASingleFragmentCString = nsCSubstring; /** * @see nsTAString */ #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct nsReadingIterator { pub mStart: *const CharT, pub mEnd: *const CharT, pub mPosition: *const CharT, } /** * @see nsTAString */ #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct nsWritingIterator { pub mStart: *mut CharT, pub mEnd: *mut CharT, pub mPosition: *mut CharT, } #[repr(C)] #[derive(Debug, Copy)] pub struct nsStringComparator; impl ::std::clone::Clone for nsStringComparator { fn clone(&self) -> Self { *self } } #[repr(C)] #[derive(Debug, Copy)] pub struct nsDefaultStringComparator { pub _base: nsStringComparator, } impl ::std::clone::Clone for nsDefaultStringComparator { fn clone(&self) -> Self { *self } } #[repr(C)] pub struct nsAString_internal { pub mData: *mut ::std::os::raw::c_ushort, pub mLength: ::std::os::raw::c_uint, pub mFlags: u32, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsAString_internal_nsTSubstring_h_unnamed_1 { F_NONE = 0, F_TERMINATED = 1, F_VOIDED = 2, F_SHARED = 4, F_OWNED = 8, F_FIXED = 16, F_LITERAL = 32, F_CLASS_FIXED = 65536, } #[test] fn bindgen_test_layout_nsAString_internal() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsCStringComparator; impl ::std::clone::Clone for nsCStringComparator { fn clone(&self) -> Self { *self } } #[repr(C)] #[derive(Debug, Copy)] pub struct nsDefaultCStringComparator { pub _base: nsCStringComparator, } impl ::std::clone::Clone for nsDefaultCStringComparator { fn clone(&self) -> Self { *self } } #[repr(C)] pub struct nsACString_internal { pub mData: *mut ::std::os::raw::c_char, pub mLength: ::std::os::raw::c_uint, pub mFlags: u32, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsACString_internal_nsTSubstring_h_unnamed_2 { F_NONE = 0, F_TERMINATED = 1, F_VOIDED = 2, F_SHARED = 4, F_OWNED = 8, F_FIXED = 16, F_LITERAL = 32, F_CLASS_FIXED = 65536, } #[test] fn bindgen_test_layout_nsACString_internal() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * ASCII case-insensitive comparator. (for Unicode case-insensitive * comparision, see nsUnicharUtils.h) */ #[repr(C)] #[derive(Debug, Copy)] pub struct nsCaseInsensitiveCStringComparator { pub _base: nsCStringComparator, } impl ::std::clone::Clone for nsCaseInsensitiveCStringComparator { fn clone(&self) -> Self { *self } } #[repr(C)] #[derive(Debug, Copy)] pub struct nsCaseInsensitiveCStringArrayComparator; impl ::std::clone::Clone for nsCaseInsensitiveCStringArrayComparator { fn clone(&self) -> Self { *self } } #[repr(C)] #[derive(Debug, Copy)] pub struct nsSubstringTuple { pub mHead: *const nsSubstringTuple, pub mFragA: *const nsAString_internal, pub mFragB: *const nsAString_internal, } impl ::std::clone::Clone for nsSubstringTuple { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsSubstringTuple() { assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsCSubstringTuple { pub mHead: *const nsCSubstringTuple, pub mFragA: *const nsACString_internal, pub mFragB: *const nsACString_internal, } impl ::std::clone::Clone for nsCSubstringTuple { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsCSubstringTuple() { assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsString { pub _base: nsAString_internal, } #[repr(C)] #[derive(Debug, Copy)] pub struct nsString_Segment { pub mBegin: u32, pub mLength: u32, } impl ::std::clone::Clone for nsString_Segment { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsString_Segment() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 4usize); } #[test] fn bindgen_test_layout_nsString() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsFixedString { pub _base: nsString, pub mFixedCapacity: ::std::os::raw::c_uint, pub mFixedBuf: *mut ::std::os::raw::c_ushort, } #[test] fn bindgen_test_layout_nsFixedString() { assert_eq!(::std::mem::size_of::() , 32usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsAutoString { pub _base: nsFixedString, pub mStorage: [::std::os::raw::c_ushort; 64usize], } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsAutoString_nsTString_h_unnamed_3 { kDefaultStorageSize = 64, } #[test] fn bindgen_test_layout_nsAutoString() { assert_eq!(::std::mem::size_of::() , 160usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub enum Dont_Instantiate_nsTArray_of { } pub enum Instead_Use_nsTArray_of { } #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct nsTArrayElementTraits<> { pub _phantom0: ::std::marker::PhantomData, } #[repr(C)] pub struct nsXPIDLString { pub _base: nsString, } #[test] fn bindgen_test_layout_nsXPIDLString() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsGetterCopies { pub mString: *mut nsAString_internal, pub mData: *mut ::std::os::raw::c_ushort, } #[test] fn bindgen_test_layout_nsGetterCopies() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsAdoptingString { pub _base: nsXPIDLString, } #[test] fn bindgen_test_layout_nsAdoptingString() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCString { pub _base: nsACString_internal, } #[repr(C)] #[derive(Debug, Copy)] pub struct nsCString_Segment { pub mBegin: u32, pub mLength: u32, } impl ::std::clone::Clone for nsCString_Segment { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsCString_Segment() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 4usize); } #[test] fn bindgen_test_layout_nsCString() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsFixedCString { pub _base: nsCString, pub mFixedCapacity: ::std::os::raw::c_uint, pub mFixedBuf: *mut ::std::os::raw::c_char, } #[test] fn bindgen_test_layout_nsFixedCString() { assert_eq!(::std::mem::size_of::() , 32usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsAutoCString { pub _base: nsFixedCString, pub mStorage: [::std::os::raw::c_char; 64usize], } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsAutoCString_nsTString_h_unnamed_4 { kDefaultStorageSize = 64, } #[test] fn bindgen_test_layout_nsAutoCString() { assert_eq!(::std::mem::size_of::() , 96usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsXPIDLCString { pub _base: nsCString, } #[test] fn bindgen_test_layout_nsXPIDLCString() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCGetterCopies { pub mString: *mut nsACString_internal, pub mData: *mut ::std::os::raw::c_char, } #[test] fn bindgen_test_layout_nsCGetterCopies() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsAdoptingCString { pub _base: nsXPIDLCString, } #[test] fn bindgen_test_layout_nsAdoptingCString() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * A helper class that converts a UTF-16 string to ASCII in a lossy manner */ #[repr(C)] pub struct NS_LossyConvertUTF16toASCII { pub _base: nsAutoCString, } #[test] fn bindgen_test_layout_NS_LossyConvertUTF16toASCII() { assert_eq!(::std::mem::size_of::() , 96usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct NS_ConvertASCIItoUTF16 { pub _base: nsAutoString, } #[test] fn bindgen_test_layout_NS_ConvertASCIItoUTF16() { assert_eq!(::std::mem::size_of::() , 160usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * A helper class that converts a UTF-16 string to UTF-8 */ #[repr(C)] pub struct NS_ConvertUTF16toUTF8 { pub _base: nsAutoCString, } #[test] fn bindgen_test_layout_NS_ConvertUTF16toUTF8() { assert_eq!(::std::mem::size_of::() , 96usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct NS_ConvertUTF8toUTF16 { pub _base: nsAutoString, } #[test] fn bindgen_test_layout_NS_ConvertUTF8toUTF16() { assert_eq!(::std::mem::size_of::() , 160usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub type nsVoidableString = nsAutoString; pub enum ErrorReporter { } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSTokenType { eCSSToken_Whitespace = 0, eCSSToken_Comment = 1, eCSSToken_Ident = 2, eCSSToken_Function = 3, eCSSToken_AtKeyword = 4, eCSSToken_ID = 5, eCSSToken_Hash = 6, eCSSToken_Number = 7, eCSSToken_Dimension = 8, eCSSToken_Percentage = 9, eCSSToken_String = 10, eCSSToken_Bad_String = 11, eCSSToken_URL = 12, eCSSToken_Bad_URL = 13, eCSSToken_Symbol = 14, eCSSToken_Includes = 15, eCSSToken_Dashmatch = 16, eCSSToken_Beginsmatch = 17, eCSSToken_Endsmatch = 18, eCSSToken_Containsmatch = 19, eCSSToken_URange = 20, eCSSToken_HTMLComment = 21, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSTokenSerializationType { eCSSTokenSerialization_Nothing = 0, eCSSTokenSerialization_Whitespace = 1, eCSSTokenSerialization_AtKeyword_or_Hash = 2, eCSSTokenSerialization_Number = 3, eCSSTokenSerialization_Dimension = 4, eCSSTokenSerialization_Percentage = 5, eCSSTokenSerialization_URange = 6, eCSSTokenSerialization_URL_or_BadURL = 7, eCSSTokenSerialization_Function = 8, eCSSTokenSerialization_Ident = 9, eCSSTokenSerialization_CDC = 10, eCSSTokenSerialization_DashMatch = 11, eCSSTokenSerialization_ContainsMatch = 12, eCSSTokenSerialization_Symbol_Hash = 13, eCSSTokenSerialization_Symbol_At = 14, eCSSTokenSerialization_Symbol_Dot_or_Plus = 15, eCSSTokenSerialization_Symbol_Minus = 16, eCSSTokenSerialization_Symbol_OpenParen = 17, eCSSTokenSerialization_Symbol_Question = 18, eCSSTokenSerialization_Symbol_Assorted = 19, eCSSTokenSerialization_Symbol_Equals = 20, eCSSTokenSerialization_Symbol_Bar = 21, eCSSTokenSerialization_Symbol_Slash = 22, eCSSTokenSerialization_Symbol_Asterisk = 23, eCSSTokenSerialization_Other = 24, } #[repr(C)] pub struct nsCSSToken { pub mIdent: nsAutoString, pub mNumber: f32, pub mInteger: i32, pub mInteger2: i32, pub mType: nsCSSTokenType, pub mSymbol: ::std::os::raw::c_ushort, pub mIntegerValid: bool, pub mHasSign: bool, } #[test] fn bindgen_test_layout_nsCSSToken() { assert_eq!(::std::mem::size_of::() , 184usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsCSSScannerPosition { pub mOffset: u32, pub mLineNumber: u32, pub mLineOffset: u32, pub mTokenLineNumber: u32, pub mTokenLineOffset: u32, pub mTokenOffset: u32, pub mInitialized: bool, } impl ::std::clone::Clone for nsCSSScannerPosition { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsCSSScannerPosition() { assert_eq!(::std::mem::size_of::() , 28usize); assert_eq!(::std::mem::align_of::() , 4usize); } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSScannerExclude { eCSSScannerExclude_None = 0, eCSSScannerExclude_Comments = 1, eCSSScannerExclude_WhitespaceAndComments = 2, } #[repr(C)] pub struct nsCSSScanner { pub mBuffer: *const ::std::os::raw::c_ushort, pub mOffset: u32, pub mCount: u32, pub mLineNumber: u32, pub mLineOffset: u32, pub mTokenLineNumber: u32, pub mTokenLineOffset: u32, pub mTokenOffset: u32, pub mRecordStartOffset: u32, pub mEOFCharacters: nsCSSScanner_EOFCharacters, pub mReporter: *mut ErrorReporter, pub mSVGMode: bool, pub mRecording: bool, pub mSeenBadToken: bool, pub mSeenVariableReference: bool, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSScanner_EOFCharacters { eEOFCharacters_None = 0, eEOFCharacters_DropBackslash = 1, eEOFCharacters_ReplacementChar = 2, eEOFCharacters_Asterisk = 4, eEOFCharacters_Slash = 8, eEOFCharacters_DoubleQuote = 16, eEOFCharacters_SingleQuote = 32, eEOFCharacters_CloseParen = 64, } #[test] fn bindgen_test_layout_nsCSSScanner() { assert_eq!(::std::mem::size_of::() , 64usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSGridTemplateAreaToken { pub mName: nsAutoString, pub isTrash: bool, } #[test] fn bindgen_test_layout_nsCSSGridTemplateAreaToken() { assert_eq!(::std::mem::size_of::() , 168usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsCSSGridTemplateAreaScanner { pub mBuffer: *const ::std::os::raw::c_ushort, pub mOffset: u32, pub mCount: u32, } impl ::std::clone::Clone for nsCSSGridTemplateAreaScanner { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsCSSGridTemplateAreaScanner() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * A "unique identifier". This is modeled after OSF DCE UUIDs. */ #[repr(C)] #[derive(Debug, Copy)] pub struct nsID { pub m0: u32, pub m1: u16, pub m2: u16, pub m3: [u8; 8usize], } impl ::std::clone::Clone for nsID { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsID() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 4usize); } /** * A stack helper class to convert a nsID to a string. Useful * for printing nsIDs. For example: * nsID aID = ...; * printf("%s", nsIDToCString(aID).get()); */ #[repr(C)] #[derive(Copy)] pub struct nsIDToCString { pub mStringBytes: [::std::os::raw::c_char; 39usize], } impl ::std::clone::Clone for nsIDToCString { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsIDToCString() { assert_eq!(::std::mem::size_of::() , 39usize); assert_eq!(::std::mem::align_of::() , 1usize); } pub type nsCID = nsID; /** * An "interface id" which can be used to uniquely identify a given * interface. */ pub type nsIID = nsID; pub enum COMTypeInfo { } /** * Basic component object model interface. Objects which implement * this interface support runtime interface discovery (QueryInterface) * and a reference counted memory model (AddRef/Release). This is * modelled after the win32 IUnknown API. */ #[repr(C)] #[derive(Debug, Copy)] pub struct nsISupports { pub _vftable: *const _vftable_nsISupports, } #[repr(C)] pub struct _vftable_nsISupports { pub _bindgen_empty_ctype_warning_fix: u64, } impl ::std::clone::Clone for nsISupports { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsISupports() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsAutoOwningThread { pub mThread: *mut ::std::os::raw::c_void, } impl ::std::clone::Clone for nsAutoOwningThread { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsAutoOwningThread() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsCycleCollectingAutoRefCnt { pub mRefCntAndFlags: usize, } impl ::std::clone::Clone for nsCycleCollectingAutoRefCnt { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsCycleCollectingAutoRefCnt() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsAutoRefCnt { pub mValue: nsrefcnt, } impl ::std::clone::Clone for nsAutoRefCnt { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsAutoRefCnt() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct ThreadSafeAutoRefCnt { pub mValue: u64, } #[test] fn bindgen_test_layout_ThreadSafeAutoRefCnt() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * There are two ways of implementing QueryInterface, and we use both: * * Table-driven QueryInterface uses a static table of IID->offset mappings * and a shared helper function. Using it tends to reduce codesize and improve * runtime performance (due to processor cache hits). * * Macro-driven QueryInterface generates a QueryInterface function directly * using common macros. This is necessary if special QueryInterface features * are being used (such as tearoffs and conditional interfaces). * * These methods can be combined into a table-driven function call followed * by custom code for tearoffs and conditionals. */ #[repr(C)] #[derive(Debug, Copy)] pub struct QITableEntry { pub iid: *const nsIID, pub offset: i32, } impl ::std::clone::Clone for QITableEntry { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_QITableEntry() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct RefPtrTraits { pub _phantom0: ::std::marker::PhantomData, } #[repr(C)] pub struct RefPtr { pub mRawPtr: *mut T, } #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct RefPtr_Proxy { pub mRawPtr: *mut T, pub _phantom0: ::std::marker::PhantomData, pub _phantom1: ::std::marker::PhantomData, } #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct RefPtr_ConstRemovingRefPtrTraits { pub _phantom0: ::std::marker::PhantomData, pub _phantom1: ::std::marker::PhantomData, } #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct RefPtrGetterAddRefs { pub mTargetSmartPtr: *mut RefPtr, pub _phantom0: ::std::marker::PhantomData, } #[repr(C)] #[derive(Debug, Copy)] pub struct nsCOMPtr_helper; impl ::std::clone::Clone for nsCOMPtr_helper { fn clone(&self) -> Self { *self } } #[repr(C)] #[derive(Debug, Copy)] pub struct nsQueryInterface { pub mRawPtr: *mut nsISupports, } impl ::std::clone::Clone for nsQueryInterface { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsQueryInterface() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsQueryInterfaceWithError { pub mRawPtr: *mut nsISupports, pub mErrorPtr: *mut nsresult, } impl ::std::clone::Clone for nsQueryInterfaceWithError { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsQueryInterfaceWithError() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } //////////////////////////////////////////////////////////////////////////// #[repr(C)] #[derive(Debug, Copy)] pub struct nsGetServiceByCID { pub mCID: *const nsCID, } impl ::std::clone::Clone for nsGetServiceByCID { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsGetServiceByCID() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsGetServiceByCIDWithError { pub mCID: *const nsCID, pub mErrorPtr: *mut nsresult, } impl ::std::clone::Clone for nsGetServiceByCIDWithError { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsGetServiceByCIDWithError() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsGetServiceByContractID { pub mContractID: *const ::std::os::raw::c_char, } impl ::std::clone::Clone for nsGetServiceByContractID { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsGetServiceByContractID() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsGetServiceByContractIDWithError { pub mContractID: *const ::std::os::raw::c_char, pub mErrorPtr: *mut nsresult, } impl ::std::clone::Clone for nsGetServiceByContractIDWithError { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsGetServiceByContractIDWithError() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * Factors implementation for all template versions of nsCOMPtr. * * Here's the way people normally do things like this: * * template class Foo { ... }; * template<> class Foo { ... }; * template class Foo : private Foo { ... }; */ #[repr(C)] pub struct nsCOMPtr_base { pub mRawPtr: *mut nsISupports, } #[test] fn bindgen_test_layout_nsCOMPtr_base() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCOMPtr { pub mRawPtr: *mut T, } /** * This class is designed to be used for anonymous temporary objects in the * argument list of calls that return COM interface pointers, e.g., * * nsCOMPtr fooP; * ...->QueryInterface(iid, getter_AddRefs(fooP)) * * DO NOT USE THIS TYPE DIRECTLY IN YOUR CODE. Use |getter_AddRefs()| instead. * * When initialized with a |nsCOMPtr|, as in the example above, it returns * a |void**|, a |T**|, or an |nsISupports**| as needed, that the outer call * (|QueryInterface| in this case) can fill in. * * This type should be a nested class inside |nsCOMPtr|. */ #[repr(C)] pub struct nsGetterAddRefs { pub mTargetSmartPtr: *mut nsCOMPtr, pub _phantom0: ::std::marker::PhantomData, } #[repr(C)] pub struct nsAutoPtr { pub mRawPtr: *mut T, } #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct nsAutoPtr_Ptr { pub mPtr: *mut T, } #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct nsAutoPtr_Proxy { pub mRawPtr: *mut T, pub _phantom0: ::std::marker::PhantomData, pub _phantom1: ::std::marker::PhantomData, } #[repr(C)] #[derive(Copy, Clone, Debug)] pub struct nsAutoPtrGetterTransfers { pub mTargetSmartPtr: *mut nsAutoPtr, pub _phantom0: ::std::marker::PhantomData, } pub type PLDHashNumber = u32; #[repr(C)] #[derive(Debug, Copy)] pub struct PLDHashEntryHdr { pub mKeyHash: PLDHashNumber, } impl ::std::clone::Clone for PLDHashEntryHdr { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_PLDHashEntryHdr() { assert_eq!(::std::mem::size_of::() , 4usize); assert_eq!(::std::mem::align_of::() , 4usize); } #[repr(C)] pub struct Checker { pub mState: u32, pub mIsWritable: u32, } #[test] fn bindgen_test_layout_Checker() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 4usize); } #[repr(C)] pub struct PLDHashTable { pub mOps: *const PLDHashTableOps, pub mHashShift: i16, pub mEntrySize: u32, pub mEntryCount: u32, pub mRemovedCount: u32, pub mEntryStore: PLDHashTable_EntryStore, pub mChecker: Checker, } #[repr(C)] pub struct PLDHashTable_EntryStore { pub mEntryStore: *mut ::std::os::raw::c_char, pub mGeneration: u32, } #[test] fn bindgen_test_layout_PLDHashTable_EntryStore() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct PLDHashTable_Iterator { pub mTable: *mut PLDHashTable, pub mStart: *mut ::std::os::raw::c_char, pub mLimit: *mut ::std::os::raw::c_char, pub mCurrent: *mut ::std::os::raw::c_char, pub mNexts: u32, pub mNextsLimit: u32, pub mHaveRemoved: bool, } #[test] fn bindgen_test_layout_PLDHashTable_Iterator() { assert_eq!(::std::mem::size_of::() , 48usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum PLDHashTable_SearchReason { ForSearchOrRemove = 0, ForAdd = 1, } #[test] fn bindgen_test_layout_PLDHashTable() { assert_eq!(::std::mem::size_of::() , 48usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub type PLDHashHashKey = ::std::option::Option PLDHashNumber>; pub type PLDHashMatchEntry = ::std::option::Option bool>; pub type PLDHashMoveEntry = ::std::option::Option; pub type PLDHashClearEntry = ::std::option::Option; pub type PLDHashInitEntry = ::std::option::Option; #[repr(C)] #[derive(Debug, Copy)] pub struct PLDHashTableOps { pub hashKey: PLDHashHashKey, pub matchEntry: PLDHashMatchEntry, pub moveEntry: PLDHashMoveEntry, pub clearEntry: PLDHashClearEntry, pub initEntry: PLDHashInitEntry, } impl ::std::clone::Clone for PLDHashTableOps { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_PLDHashTableOps() { assert_eq!(::std::mem::size_of::() , 40usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct PLDHashEntryStub { pub _base: PLDHashEntryHdr, pub key: *const ::std::os::raw::c_void, } impl ::std::clone::Clone for PLDHashEntryStub { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_PLDHashEntryStub() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * a base class for templated hashtables. * * Clients will rarely need to use this class directly. Check the derived * classes first, to see if they will meet your needs. * * @param EntryType the templated entry-type class that is managed by the * hashtable. EntryType must extend the following declaration, * and must not declare any virtual functions or derive from classes * with virtual functions. Any vtable pointer would break the * PLDHashTable code. *
   class EntryType : public PLDHashEntryHdr
 *   {
 *   public: or friend nsTHashtable;
 *     // KeyType is what we use when Get()ing or Put()ing this entry
 *     // this should either be a simple datatype (uint32_t, nsISupports*) or
 *     // a const reference (const nsAString&)
 *     typedef something KeyType;
 *     // KeyTypePointer is the pointer-version of KeyType, because
 *     // PLDHashTable.h requires keys to cast to const void*
 *     typedef const something* KeyTypePointer;
 *
 *     EntryType(KeyTypePointer aKey);
 *
 *     // A copy or C++11 Move constructor must be defined, even if
 *     // AllowMemMove() == true, otherwise you will cause link errors.
 *     EntryType(const EntryType& aEnt);  // Either this...
 *     EntryType(EntryType&& aEnt);       // ...or this
 *
 *     // the destructor must be defined... or you will cause link errors!
 *     ~EntryType();
 *
 *     // KeyEquals(): does this entry match this key?
 *     bool KeyEquals(KeyTypePointer aKey) const;
 *
 *     // KeyToPointer(): Convert KeyType to KeyTypePointer
 *     static KeyTypePointer KeyToPointer(KeyType aKey);
 *
 *     // HashKey(): calculate the hash number
 *     static PLDHashNumber HashKey(KeyTypePointer aKey);
 *
 *     // ALLOW_MEMMOVE can we move this class with memmove(), or do we have
 *     // to use the copy constructor?
 *     enum { ALLOW_MEMMOVE = true/false };
 *   }
* * @see nsInterfaceHashtable * @see nsDataHashtable * @see nsClassHashtable * @author "Benjamin Smedberg " */ #[repr(C)] pub struct nsTHashtable { pub mTable: PLDHashTable, pub _phantom0: ::std::marker::PhantomData, } #[repr(C)] pub struct nsTHashtable_Iterator { pub _base: PLDHashTable_Iterator, pub _phantom0: ::std::marker::PhantomData, } #[repr(C)] pub struct nsDataHashtable; #[test] fn bindgen_test_layout_nsDataHashtable() { assert_eq!(::std::mem::size_of::() , 0usize); assert_eq!(::std::mem::align_of::() , 0usize); } pub enum CSSVariableResolver { } #[repr(C)] pub struct CSSVariableValues { pub mVariableIDs: [u64; 6usize], pub mVariables: u64, } #[repr(C)] pub struct CSSVariableValues_Variable { pub mVariableName: nsString, pub mValue: nsString, pub mFirstToken: nsCSSTokenSerializationType, pub mLastToken: nsCSSTokenSerializationType, } #[test] fn bindgen_test_layout_CSSVariableValues_Variable() { assert_eq!(::std::mem::size_of::() , 40usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[test] fn bindgen_test_layout_CSSVariableValues() { assert_eq!(::std::mem::size_of::() , 56usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(i8)] #[derive(Debug, Copy, Clone)] pub enum SheetType { Agent = 0, User = 1, PresHint = 2, SVGAttrAnimation = 3, Doc = 4, ScopedDoc = 5, StyleAttr = 6, Override = 7, Animation = 8, Transition = 9, Count = 10, Unknown = -1, } pub type nscoord = i32; #[repr(C)] pub struct nsIntPoint { pub _bindgen_opaque_blob: [u32; 2usize], } #[test] fn bindgen_test_layout_nsIntPoint() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 4usize); } /** * These *_Simple types are used to map Gecko types to layout-equivalent but * simpler Rust types, to aid Rust binding generation. * * If something in this types or the assertions below needs to change, ask * bholley, heycam or emilio before! * *
*/ #[repr(C)] #[derive(Debug, Copy)] pub struct nsPoint { pub x: nscoord, pub y: nscoord, } impl ::std::clone::Clone for nsPoint { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsPoint() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 4usize); } /** *
*/ #[repr(C)] #[derive(Debug, Copy)] pub struct nsMargin { pub top: nscoord, pub right: nscoord, pub bottom: nscoord, pub left: nscoord, } impl ::std::clone::Clone for nsMargin { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsMargin() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 4usize); } #[repr(C)] pub struct nsIntMargin { pub _bindgen_opaque_blob: [u32; 4usize], } #[test] fn bindgen_test_layout_nsIntMargin() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 4usize); } #[repr(C)] pub struct nsIntRect { pub _bindgen_opaque_blob: [u32; 4usize], } #[test] fn bindgen_test_layout_nsIntRect() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 4usize); } /** *
*/ #[repr(C)] #[derive(Debug, Copy)] pub struct nsRect { pub x: nscoord, pub y: nscoord, pub width: nscoord, pub height: nscoord, } impl ::std::clone::Clone for nsRect { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsRect() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 4usize); } pub const eFamily_generic_first: FontFamilyType = FontFamilyType::eFamily_serif; pub const eFamily_generic_last: FontFamilyType = FontFamilyType::eFamily_fantasy; pub const eFamily_generic_count: FontFamilyType = FontFamilyType::eFamily_monospace; /** * type of font family name, either a name (e.g. Helvetica) or a * generic (e.g. serif, sans-serif), with the ability to distinguish * between unquoted and quoted names for serializaiton */ #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum FontFamilyType { eFamily_none = 0, eFamily_named = 1, eFamily_named_quoted = 2, eFamily_serif = 3, eFamily_sans_serif = 4, eFamily_monospace = 5, eFamily_cursive = 6, eFamily_fantasy = 7, eFamily_moz_variable = 8, eFamily_moz_fixed = 9, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum QuotedName { eQuotedName = 0, eUnquotedName = 1, } /** * font family name, a string for the name if not a generic and * a font type indicated named family or which generic family */ #[repr(C)] pub struct FontFamilyName { pub mType: FontFamilyType, pub mName: nsString, } #[test] fn bindgen_test_layout_FontFamilyName() { assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * font family list, array of font families and a default font type. * font family names are either named strings or generics. the default * font type is used to preserve the variable font fallback behavior */ #[repr(C)] pub struct FontFamilyList { pub mFontlist: u64, pub mDefaultFontType: FontFamilyType, } #[test] fn bindgen_test_layout_FontFamilyList() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct gfxFontFeature { pub mTag: u32, pub mValue: u32, } impl ::std::clone::Clone for gfxFontFeature { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_gfxFontFeature() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 4usize); } #[repr(C)] pub struct gfxAlternateValue { pub alternate: u32, pub value: nsString, } #[test] fn bindgen_test_layout_gfxAlternateValue() { assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct gfxFontFeatureValueSet { pub _bindgen_opaque_blob: [u64; 8usize], } #[test] fn bindgen_test_layout_gfxFontFeatureValueSet() { assert_eq!(::std::mem::size_of::() , 64usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub enum gfxFontStyle { } pub type nsFontFamilyEnumFunc = ::std::option::Option bool>; #[repr(C)] pub struct nsFont { pub fontlist: FontFamilyList, pub style: u8, pub systemFont: bool, pub variantCaps: u8, pub variantNumeric: u8, pub variantPosition: u8, pub variantLigatures: u16, pub variantEastAsian: u16, pub variantAlternates: u16, pub smoothing: u8, pub weight: u16, pub stretch: i16, pub kerning: u8, pub synthesis: u8, pub size: nscoord, pub sizeAdjust: f32, pub alternateValues: u64, pub featureValueLookup: RefPtr, pub fontFeatureSettings: u64, pub languageOverride: nsString, } #[test] fn bindgen_test_layout_nsFont() { assert_eq!(::std::mem::size_of::() , 88usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(i8)] #[derive(Debug, Copy, Clone)] pub enum StyleBoxSizing { Content = 0, Padding = 1, Border = 2, } #[repr(i32)] #[derive(Debug, Copy, Clone)] pub enum PlaybackDirection { _BindgenOpaqueEnum = 0, } #[repr(i32)] #[derive(Debug, Copy, Clone)] pub enum FillMode { _BindgenOpaqueEnum = 0, } pub enum nsIContentSecurityPolicy { } pub enum nsIDOMDocument { } #[repr(C)] pub struct nsIPrincipal { pub _bindgen_opaque_blob: u64, } #[test] fn bindgen_test_layout_nsIPrincipal() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsIExpandedPrincipal { pub _base: nsISupports, } #[repr(C)] pub struct _vftable_nsIExpandedPrincipal { pub _base: _vftable_nsISupports, } impl ::std::clone::Clone for nsIExpandedPrincipal { fn clone(&self) -> Self { *self } } #[repr(C)] #[derive(Debug, Copy)] pub struct nsIURI { pub _base: nsISupports, } #[repr(C)] pub struct _vftable_nsIURI { pub _base: _vftable_nsISupports, } impl ::std::clone::Clone for nsIURI { fn clone(&self) -> Self { *self } } pub const eCSSProperty_COUNT_DUMMY: nsCSSProperty = nsCSSProperty::eCSSProperty__x_text_zoom; pub const eCSSProperty__moz_outline_radius: nsCSSProperty = nsCSSProperty::eCSSProperty_COUNT_no_shorthands; pub const eCSSProperty_COUNT_DUMMY2: nsCSSProperty = nsCSSProperty::eCSSProperty__moz_transform; pub const eCSSPropertyAlias_MozTransformOrigin: nsCSSProperty = nsCSSProperty::eCSSProperty_COUNT; pub const eCSSProperty_COUNT_DUMMY3: nsCSSProperty = nsCSSProperty::eCSSPropertyAlias_WebkitUserSelect; pub const eCSSPropertyExtra_no_properties: nsCSSProperty = nsCSSProperty::eCSSProperty_COUNT_with_aliases; #[repr(i32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSProperty { eCSSProperty_UNKNOWN = -1, eCSSProperty_appearance = 0, eCSSProperty__moz_outline_radius_topLeft = 1, eCSSProperty__moz_outline_radius_topRight = 2, eCSSProperty__moz_outline_radius_bottomRight = 3, eCSSProperty__moz_outline_radius_bottomLeft = 4, eCSSProperty__moz_tab_size = 5, eCSSProperty__x_system_font = 6, eCSSProperty_animation_delay = 7, eCSSProperty_animation_direction = 8, eCSSProperty_animation_duration = 9, eCSSProperty_animation_fill_mode = 10, eCSSProperty_animation_iteration_count = 11, eCSSProperty_animation_name = 12, eCSSProperty_animation_play_state = 13, eCSSProperty_animation_timing_function = 14, eCSSProperty_background_attachment = 15, eCSSProperty_background_clip = 16, eCSSProperty_background_color = 17, eCSSProperty_background_image = 18, eCSSProperty_background_blend_mode = 19, eCSSProperty_background_origin = 20, eCSSProperty_background_position = 21, eCSSProperty_background_repeat = 22, eCSSProperty_background_size = 23, eCSSProperty_binding = 24, eCSSProperty_block_size = 25, eCSSProperty_border_block_end_color = 26, eCSSProperty_border_block_end_style = 27, eCSSProperty_border_block_end_width = 28, eCSSProperty_border_block_start_color = 29, eCSSProperty_border_block_start_style = 30, eCSSProperty_border_block_start_width = 31, eCSSProperty_border_bottom_color = 32, eCSSProperty_border_bottom_colors = 33, eCSSProperty_border_bottom_style = 34, eCSSProperty_border_bottom_width = 35, eCSSProperty_border_collapse = 36, eCSSProperty_border_image_source = 37, eCSSProperty_border_image_slice = 38, eCSSProperty_border_image_width = 39, eCSSProperty_border_image_outset = 40, eCSSProperty_border_image_repeat = 41, eCSSProperty_border_inline_end_color = 42, eCSSProperty_border_inline_end_style = 43, eCSSProperty_border_inline_end_width = 44, eCSSProperty_border_inline_start_color = 45, eCSSProperty_border_inline_start_style = 46, eCSSProperty_border_inline_start_width = 47, eCSSProperty_border_left_color = 48, eCSSProperty_border_left_colors = 49, eCSSProperty_border_left_style = 50, eCSSProperty_border_left_width = 51, eCSSProperty_border_right_color = 52, eCSSProperty_border_right_colors = 53, eCSSProperty_border_right_style = 54, eCSSProperty_border_right_width = 55, eCSSProperty_border_spacing = 56, eCSSProperty_border_top_color = 57, eCSSProperty_border_top_colors = 58, eCSSProperty_border_top_style = 59, eCSSProperty_border_top_width = 60, eCSSProperty_border_top_left_radius = 61, eCSSProperty_border_top_right_radius = 62, eCSSProperty_border_bottom_right_radius = 63, eCSSProperty_border_bottom_left_radius = 64, eCSSProperty_bottom = 65, eCSSProperty_box_decoration_break = 66, eCSSProperty_box_shadow = 67, eCSSProperty_box_sizing = 68, eCSSProperty_caption_side = 69, eCSSProperty_clear = 70, eCSSProperty_clip = 71, eCSSProperty_color = 72, eCSSProperty_color_adjust = 73, eCSSProperty__moz_column_count = 74, eCSSProperty__moz_column_fill = 75, eCSSProperty__moz_column_width = 76, eCSSProperty__moz_column_gap = 77, eCSSProperty__moz_column_rule_color = 78, eCSSProperty__moz_column_rule_style = 79, eCSSProperty__moz_column_rule_width = 80, eCSSProperty_contain = 81, eCSSProperty_content = 82, eCSSProperty__moz_control_character_visibility = 83, eCSSProperty_counter_increment = 84, eCSSProperty_counter_reset = 85, eCSSProperty_cursor = 86, eCSSProperty_direction = 87, eCSSProperty_display = 88, eCSSProperty_empty_cells = 89, eCSSProperty_align_content = 90, eCSSProperty_align_items = 91, eCSSProperty_align_self = 92, eCSSProperty_flex_basis = 93, eCSSProperty_flex_direction = 94, eCSSProperty_webkit_box_orient = 95, eCSSProperty_flex_grow = 96, eCSSProperty_flex_shrink = 97, eCSSProperty_flex_wrap = 98, eCSSProperty_order = 99, eCSSProperty_justify_content = 100, eCSSProperty_justify_items = 101, eCSSProperty_justify_self = 102, eCSSProperty_float = 103, eCSSProperty_float_edge = 104, eCSSProperty_font_family = 105, eCSSProperty_font_feature_settings = 106, eCSSProperty_font_kerning = 107, eCSSProperty_font_language_override = 108, eCSSProperty_font_size = 109, eCSSProperty_font_size_adjust = 110, eCSSProperty_osx_font_smoothing = 111, eCSSProperty_font_stretch = 112, eCSSProperty_font_style = 113, eCSSProperty_font_synthesis = 114, eCSSProperty_font_variant_alternates = 115, eCSSProperty_font_variant_caps = 116, eCSSProperty_font_variant_east_asian = 117, eCSSProperty_font_variant_ligatures = 118, eCSSProperty_font_variant_numeric = 119, eCSSProperty_font_variant_position = 120, eCSSProperty_font_weight = 121, eCSSProperty_force_broken_image_icon = 122, eCSSProperty_grid_auto_flow = 123, eCSSProperty_grid_auto_columns = 124, eCSSProperty_grid_auto_rows = 125, eCSSProperty_grid_template_areas = 126, eCSSProperty_grid_template_columns = 127, eCSSProperty_grid_template_rows = 128, eCSSProperty_grid_column_start = 129, eCSSProperty_grid_column_end = 130, eCSSProperty_grid_row_start = 131, eCSSProperty_grid_row_end = 132, eCSSProperty_grid_column_gap = 133, eCSSProperty_grid_row_gap = 134, eCSSProperty_height = 135, eCSSProperty_image_orientation = 136, eCSSProperty_image_region = 137, eCSSProperty_ime_mode = 138, eCSSProperty_inline_size = 139, eCSSProperty_left = 140, eCSSProperty_letter_spacing = 141, eCSSProperty_line_height = 142, eCSSProperty_list_style_image = 143, eCSSProperty_list_style_position = 144, eCSSProperty_list_style_type = 145, eCSSProperty_margin_block_end = 146, eCSSProperty_margin_block_start = 147, eCSSProperty_margin_bottom = 148, eCSSProperty_margin_inline_end = 149, eCSSProperty_margin_inline_start = 150, eCSSProperty_margin_left = 151, eCSSProperty_margin_right = 152, eCSSProperty_margin_top = 153, eCSSProperty_marker_offset = 154, eCSSProperty_max_block_size = 155, eCSSProperty_max_height = 156, eCSSProperty_max_inline_size = 157, eCSSProperty_max_width = 158, eCSSProperty__moz_min_font_size_ratio = 159, eCSSProperty_min_height = 160, eCSSProperty_min_block_size = 161, eCSSProperty_min_inline_size = 162, eCSSProperty_min_width = 163, eCSSProperty_mix_blend_mode = 164, eCSSProperty_isolation = 165, eCSSProperty_object_fit = 166, eCSSProperty_object_position = 167, eCSSProperty_offset_block_end = 168, eCSSProperty_offset_block_start = 169, eCSSProperty_offset_inline_end = 170, eCSSProperty_offset_inline_start = 171, eCSSProperty_opacity = 172, eCSSProperty_orient = 173, eCSSProperty_outline_color = 174, eCSSProperty_outline_style = 175, eCSSProperty_outline_width = 176, eCSSProperty_outline_offset = 177, eCSSProperty_overflow_clip_box = 178, eCSSProperty_overflow_x = 179, eCSSProperty_overflow_y = 180, eCSSProperty_padding_block_end = 181, eCSSProperty_padding_block_start = 182, eCSSProperty_padding_bottom = 183, eCSSProperty_padding_inline_end = 184, eCSSProperty_padding_inline_start = 185, eCSSProperty_padding_left = 186, eCSSProperty_padding_right = 187, eCSSProperty_padding_top = 188, eCSSProperty_page_break_after = 189, eCSSProperty_page_break_before = 190, eCSSProperty_page_break_inside = 191, eCSSProperty_paint_order = 192, eCSSProperty_pointer_events = 193, eCSSProperty_position = 194, eCSSProperty_quotes = 195, eCSSProperty_resize = 196, eCSSProperty_right = 197, eCSSProperty_ruby_align = 198, eCSSProperty_ruby_position = 199, eCSSProperty_scroll_behavior = 200, eCSSProperty_scroll_snap_coordinate = 201, eCSSProperty_scroll_snap_destination = 202, eCSSProperty_scroll_snap_points_x = 203, eCSSProperty_scroll_snap_points_y = 204, eCSSProperty_scroll_snap_type_x = 205, eCSSProperty_scroll_snap_type_y = 206, eCSSProperty_table_layout = 207, eCSSProperty_text_align = 208, eCSSProperty_text_align_last = 209, eCSSProperty_text_combine_upright = 210, eCSSProperty_text_decoration_color = 211, eCSSProperty_text_decoration_line = 212, eCSSProperty_text_decoration_style = 213, eCSSProperty_text_emphasis_color = 214, eCSSProperty_text_emphasis_position = 215, eCSSProperty_text_emphasis_style = 216, eCSSProperty__webkit_text_fill_color = 217, eCSSProperty_text_indent = 218, eCSSProperty_text_orientation = 219, eCSSProperty_text_overflow = 220, eCSSProperty_text_shadow = 221, eCSSProperty_text_size_adjust = 222, eCSSProperty_text_transform = 223, eCSSProperty_transform = 224, eCSSProperty_transform_box = 225, eCSSProperty_transform_origin = 226, eCSSProperty_perspective_origin = 227, eCSSProperty_perspective = 228, eCSSProperty_transform_style = 229, eCSSProperty_backface_visibility = 230, eCSSProperty_top = 231, eCSSProperty__moz_top_layer = 232, eCSSProperty_touch_action = 233, eCSSProperty_transition_delay = 234, eCSSProperty_transition_duration = 235, eCSSProperty_transition_property = 236, eCSSProperty_transition_timing_function = 237, eCSSProperty_unicode_bidi = 238, eCSSProperty_user_focus = 239, eCSSProperty_user_input = 240, eCSSProperty_user_modify = 241, eCSSProperty_user_select = 242, eCSSProperty_vertical_align = 243, eCSSProperty_visibility = 244, eCSSProperty_white_space = 245, eCSSProperty_width = 246, eCSSProperty__moz_window_dragging = 247, eCSSProperty__moz_window_shadow = 248, eCSSProperty_word_break = 249, eCSSProperty_word_spacing = 250, eCSSProperty_word_wrap = 251, eCSSProperty_hyphens = 252, eCSSProperty_writing_mode = 253, eCSSProperty_z_index = 254, eCSSProperty_box_align = 255, eCSSProperty_box_direction = 256, eCSSProperty_box_flex = 257, eCSSProperty_box_orient = 258, eCSSProperty_box_pack = 259, eCSSProperty_box_ordinal_group = 260, eCSSProperty_stack_sizing = 261, eCSSProperty_script_level = 262, eCSSProperty_script_size_multiplier = 263, eCSSProperty_script_min_size = 264, eCSSProperty_math_variant = 265, eCSSProperty_math_display = 266, eCSSProperty_clip_path = 267, eCSSProperty_clip_rule = 268, eCSSProperty_color_interpolation = 269, eCSSProperty_color_interpolation_filters = 270, eCSSProperty_dominant_baseline = 271, eCSSProperty_fill = 272, eCSSProperty_fill_opacity = 273, eCSSProperty_fill_rule = 274, eCSSProperty_filter = 275, eCSSProperty_flood_color = 276, eCSSProperty_flood_opacity = 277, eCSSProperty_image_rendering = 278, eCSSProperty_lighting_color = 279, eCSSProperty_marker_end = 280, eCSSProperty_marker_mid = 281, eCSSProperty_marker_start = 282, eCSSProperty_mask = 283, eCSSProperty_mask_type = 284, eCSSProperty_shape_rendering = 285, eCSSProperty_stop_color = 286, eCSSProperty_stop_opacity = 287, eCSSProperty_stroke = 288, eCSSProperty_stroke_dasharray = 289, eCSSProperty_stroke_dashoffset = 290, eCSSProperty_stroke_linecap = 291, eCSSProperty_stroke_linejoin = 292, eCSSProperty_stroke_miterlimit = 293, eCSSProperty_stroke_opacity = 294, eCSSProperty_stroke_width = 295, eCSSProperty_text_anchor = 296, eCSSProperty_text_rendering = 297, eCSSProperty_vector_effect = 298, eCSSProperty_will_change = 299, eCSSProperty__x_lang = 300, eCSSProperty__x_span = 301, eCSSProperty__x_text_zoom = 302, eCSSProperty_COUNT_no_shorthands = 303, eCSSProperty_all = 304, eCSSProperty_animation = 305, eCSSProperty_background = 306, eCSSProperty_border = 307, eCSSProperty_border_block_end = 308, eCSSProperty_border_block_start = 309, eCSSProperty_border_bottom = 310, eCSSProperty_border_color = 311, eCSSProperty_border_image = 312, eCSSProperty_border_inline_end = 313, eCSSProperty_border_inline_start = 314, eCSSProperty_border_left = 315, eCSSProperty_border_right = 316, eCSSProperty_border_style = 317, eCSSProperty_border_top = 318, eCSSProperty_border_width = 319, eCSSProperty_border_radius = 320, eCSSProperty__moz_columns = 321, eCSSProperty__moz_column_rule = 322, eCSSProperty_flex = 323, eCSSProperty_flex_flow = 324, eCSSProperty_font = 325, eCSSProperty_font_variant = 326, eCSSProperty_grid = 327, eCSSProperty_grid_column = 328, eCSSProperty_grid_row = 329, eCSSProperty_grid_area = 330, eCSSProperty_grid_gap = 331, eCSSProperty_list_style = 332, eCSSProperty_margin = 333, eCSSProperty_outline = 334, eCSSProperty_overflow = 335, eCSSProperty_padding = 336, eCSSProperty_scroll_snap_type = 337, eCSSProperty_text_decoration = 338, eCSSProperty_text_emphasis = 339, eCSSProperty_transition = 340, eCSSProperty_marker = 341, eCSSProperty__moz_transform = 342, eCSSProperty_COUNT = 343, eCSSPropertyAlias_MozPerspectiveOrigin = 344, eCSSPropertyAlias_MozPerspective = 345, eCSSPropertyAlias_MozTransformStyle = 346, eCSSPropertyAlias_MozBackfaceVisibility = 347, eCSSPropertyAlias_MozBorderImage = 348, eCSSPropertyAlias_MozTransition = 349, eCSSPropertyAlias_MozTransitionDelay = 350, eCSSPropertyAlias_MozTransitionDuration = 351, eCSSPropertyAlias_MozTransitionProperty = 352, eCSSPropertyAlias_MozTransitionTimingFunction = 353, eCSSPropertyAlias_MozAnimation = 354, eCSSPropertyAlias_MozAnimationDelay = 355, eCSSPropertyAlias_MozAnimationDirection = 356, eCSSPropertyAlias_MozAnimationDuration = 357, eCSSPropertyAlias_MozAnimationFillMode = 358, eCSSPropertyAlias_MozAnimationIterationCount = 359, eCSSPropertyAlias_MozAnimationName = 360, eCSSPropertyAlias_MozAnimationPlayState = 361, eCSSPropertyAlias_MozAnimationTimingFunction = 362, eCSSPropertyAlias_MozBoxSizing = 363, eCSSPropertyAlias_MozFontFeatureSettings = 364, eCSSPropertyAlias_MozFontLanguageOverride = 365, eCSSPropertyAlias_MozPaddingEnd = 366, eCSSPropertyAlias_MozPaddingStart = 367, eCSSPropertyAlias_MozMarginEnd = 368, eCSSPropertyAlias_MozMarginStart = 369, eCSSPropertyAlias_MozBorderEnd = 370, eCSSPropertyAlias_MozBorderEndColor = 371, eCSSPropertyAlias_MozBorderEndStyle = 372, eCSSPropertyAlias_MozBorderEndWidth = 373, eCSSPropertyAlias_MozBorderStart = 374, eCSSPropertyAlias_MozBorderStartColor = 375, eCSSPropertyAlias_MozBorderStartStyle = 376, eCSSPropertyAlias_MozBorderStartWidth = 377, eCSSPropertyAlias_MozHyphens = 378, eCSSPropertyAlias_WebkitAnimation = 379, eCSSPropertyAlias_WebkitAnimationDelay = 380, eCSSPropertyAlias_WebkitAnimationDirection = 381, eCSSPropertyAlias_WebkitAnimationDuration = 382, eCSSPropertyAlias_WebkitAnimationFillMode = 383, eCSSPropertyAlias_WebkitAnimationIterationCount = 384, eCSSPropertyAlias_WebkitAnimationName = 385, eCSSPropertyAlias_WebkitAnimationPlayState = 386, eCSSPropertyAlias_WebkitAnimationTimingFunction = 387, eCSSPropertyAlias_WebkitFilter = 388, eCSSPropertyAlias_WebkitTextSizeAdjust = 389, eCSSPropertyAlias_WebkitTransform = 390, eCSSPropertyAlias_WebkitTransformOrigin = 391, eCSSPropertyAlias_WebkitTransformStyle = 392, eCSSPropertyAlias_WebkitBackfaceVisibility = 393, eCSSPropertyAlias_WebkitPerspective = 394, eCSSPropertyAlias_WebkitPerspectiveOrigin = 395, eCSSPropertyAlias_WebkitTransition = 396, eCSSPropertyAlias_WebkitTransitionDelay = 397, eCSSPropertyAlias_WebkitTransitionDuration = 398, eCSSPropertyAlias_WebkitTransitionProperty = 399, eCSSPropertyAlias_WebkitTransitionTimingFunction = 400, eCSSPropertyAlias_WebkitBorderRadius = 401, eCSSPropertyAlias_WebkitBorderTopLeftRadius = 402, eCSSPropertyAlias_WebkitBorderTopRightRadius = 403, eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 404, eCSSPropertyAlias_WebkitBorderBottomRightRadius = 405, eCSSPropertyAlias_WebkitBackgroundClip = 406, eCSSPropertyAlias_WebkitBackgroundOrigin = 407, eCSSPropertyAlias_WebkitBackgroundSize = 408, eCSSPropertyAlias_WebkitBorderImage = 409, eCSSPropertyAlias_WebkitBoxShadow = 410, eCSSPropertyAlias_WebkitBoxSizing = 411, eCSSPropertyAlias_WebkitBoxFlex = 412, eCSSPropertyAlias_WebkitBoxOrdinalGroup = 413, eCSSPropertyAlias_WebkitBoxAlign = 414, eCSSPropertyAlias_WebkitBoxPack = 415, eCSSPropertyAlias_WebkitUserSelect = 416, eCSSProperty_COUNT_with_aliases = 417, eCSSPropertyExtra_all_properties = 418, eCSSPropertyExtra_x_none_value = 419, eCSSPropertyExtra_x_auto_value = 420, eCSSPropertyExtra_variable = 421, } #[repr(i32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSFontDesc { eCSSFontDesc_UNKNOWN = -1, eCSSFontDesc_Family = 0, eCSSFontDesc_Style = 1, eCSSFontDesc_Weight = 2, eCSSFontDesc_Stretch = 3, eCSSFontDesc_Src = 4, eCSSFontDesc_UnicodeRange = 5, eCSSFontDesc_FontFeatureSettings = 6, eCSSFontDesc_FontLanguageOverride = 7, eCSSFontDesc_Display = 8, eCSSFontDesc_COUNT = 9, } #[repr(i32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSCounterDesc { eCSSCounterDesc_UNKNOWN = -1, eCSSCounterDesc_System = 0, eCSSCounterDesc_Symbols = 1, eCSSCounterDesc_AdditiveSymbols = 2, eCSSCounterDesc_Negative = 3, eCSSCounterDesc_Prefix = 4, eCSSCounterDesc_Suffix = 5, eCSSCounterDesc_Range = 6, eCSSCounterDesc_Pad = 7, eCSSCounterDesc_Fallback = 8, eCSSCounterDesc_SpeakAs = 9, eCSSCounterDesc_COUNT = 10, } #[repr(i32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSPropertyLogicalGroup { eCSSPropertyLogicalGroup_UNKNOWN = -1, eCSSPropertyLogicalGroup_BorderColor = 0, eCSSPropertyLogicalGroup_BorderStyle = 1, eCSSPropertyLogicalGroup_BorderWidth = 2, eCSSPropertyLogicalGroup_Margin = 3, eCSSPropertyLogicalGroup_MaxSize = 4, eCSSPropertyLogicalGroup_Offset = 5, eCSSPropertyLogicalGroup_Padding = 6, eCSSPropertyLogicalGroup_MinSize = 7, eCSSPropertyLogicalGroup_Size = 8, eCSSPropertyLogicalGroup_WebkitBoxOrient = 9, eCSSPropertyLogicalGroup_COUNT = 10, } pub type nscolor = u32; /** * This structure precedes the string buffers "we" allocate. It may be the * 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)] pub struct nsStringBuffer { pub mRefCount: u32, pub mStorageSize: u32, } #[test] fn bindgen_test_layout_nsStringBuffer() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 4usize); } pub enum CSSStyleSheet { } #[repr(C)] pub struct URLValue { pub _bindgen_opaque_blob: [u64; 7usize], } #[test] fn bindgen_test_layout_URLValue() { assert_eq!(::std::mem::size_of::() , 56usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct ImageValue { pub _bindgen_opaque_blob: [u64; 13usize], } #[test] fn bindgen_test_layout_ImageValue() { assert_eq!(::std::mem::size_of::() , 104usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct GridNamedArea { pub mName: nsString, pub mColumnStart: u32, pub mColumnEnd: u32, pub mRowStart: u32, pub mRowEnd: u32, } #[test] fn bindgen_test_layout_GridNamedArea() { assert_eq!(::std::mem::size_of::() , 32usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct GridTemplateAreasValue { pub mNamedAreas: u64, pub mTemplates: u64, pub mNColumns: u32, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_GridTemplateAreasValue() { assert_eq!(::std::mem::size_of::() , 40usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct FontFamilyListRefCnt { pub _base: FontFamilyList, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_FontFamilyListRefCnt() { assert_eq!(::std::mem::size_of::() , 32usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSUnit { eCSSUnit_Null = 0, eCSSUnit_Auto = 1, eCSSUnit_Inherit = 2, eCSSUnit_Initial = 3, eCSSUnit_Unset = 4, eCSSUnit_None = 5, eCSSUnit_Normal = 6, eCSSUnit_System_Font = 7, eCSSUnit_All = 8, eCSSUnit_Dummy = 9, eCSSUnit_DummyInherit = 10, eCSSUnit_String = 11, eCSSUnit_Ident = 12, eCSSUnit_Attr = 14, eCSSUnit_Local_Font = 15, eCSSUnit_Font_Format = 16, eCSSUnit_Element = 17, eCSSUnit_Array = 20, eCSSUnit_Counter = 21, eCSSUnit_Counters = 22, eCSSUnit_Cubic_Bezier = 23, eCSSUnit_Steps = 24, eCSSUnit_Symbols = 25, eCSSUnit_Function = 26, eCSSUnit_Calc = 30, eCSSUnit_Calc_Plus = 31, eCSSUnit_Calc_Minus = 32, eCSSUnit_Calc_Times_L = 33, eCSSUnit_Calc_Times_R = 34, eCSSUnit_Calc_Divided = 35, eCSSUnit_URL = 40, eCSSUnit_Image = 41, eCSSUnit_Gradient = 42, eCSSUnit_TokenStream = 43, eCSSUnit_GridTemplateAreas = 44, eCSSUnit_Pair = 50, eCSSUnit_Triplet = 51, eCSSUnit_Rect = 52, eCSSUnit_List = 53, eCSSUnit_ListDep = 54, eCSSUnit_SharedList = 55, eCSSUnit_PairList = 56, eCSSUnit_PairListDep = 57, eCSSUnit_FontFamilyList = 58, eCSSUnit_Integer = 70, eCSSUnit_Enumerated = 71, eCSSUnit_EnumColor = 80, eCSSUnit_RGBColor = 81, eCSSUnit_RGBAColor = 82, eCSSUnit_HexColor = 83, eCSSUnit_ShortHexColor = 84, eCSSUnit_PercentageRGBColor = 85, eCSSUnit_PercentageRGBAColor = 86, eCSSUnit_HSLColor = 87, eCSSUnit_HSLAColor = 88, eCSSUnit_Percent = 90, eCSSUnit_Number = 91, eCSSUnit_PhysicalMillimeter = 200, eCSSUnit_ViewportWidth = 700, eCSSUnit_ViewportHeight = 701, eCSSUnit_ViewportMin = 702, eCSSUnit_ViewportMax = 703, eCSSUnit_EM = 800, eCSSUnit_XHeight = 801, eCSSUnit_Char = 802, eCSSUnit_RootEM = 803, eCSSUnit_Point = 900, eCSSUnit_Inch = 901, eCSSUnit_Millimeter = 902, eCSSUnit_Centimeter = 903, eCSSUnit_Pica = 904, eCSSUnit_Pixel = 905, eCSSUnit_Degree = 1000, eCSSUnit_Grad = 1001, eCSSUnit_Radian = 1002, eCSSUnit_Turn = 1003, eCSSUnit_Hertz = 2000, eCSSUnit_Kilohertz = 2001, eCSSUnit_Seconds = 3000, eCSSUnit_Milliseconds = 3001, eCSSUnit_FlexFraction = 4000, } #[repr(C)] pub struct nsCSSValue { pub mUnit: nsCSSUnit, pub mValue: nsCSSValue_nsCSSValue_h_unnamed_7, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsCSSValue_Serialization { eNormalized = 0, eAuthorSpecified = 1, } #[repr(C)] #[derive(Copy, Debug)] pub struct nsCSSValue_nsCSSValue_h_unnamed_7 { pub mInt: __BindgenUnionField, pub mFloat: __BindgenUnionField, pub mString: __BindgenUnionField<*mut nsStringBuffer>, pub mColor: __BindgenUnionField, pub mArray: __BindgenUnionField<*mut Array>, pub mURL: __BindgenUnionField<*mut URLValue>, pub mImage: __BindgenUnionField<*mut ImageValue>, pub mGridTemplateAreas: __BindgenUnionField<*mut GridTemplateAreasValue>, pub mGradient: __BindgenUnionField<*mut nsCSSValueGradient>, pub mTokenStream: __BindgenUnionField<*mut nsCSSValueTokenStream>, pub mPair: __BindgenUnionField<*mut nsCSSValuePair_heap>, pub mRect: __BindgenUnionField<*mut nsCSSRect_heap>, pub mTriplet: __BindgenUnionField<*mut nsCSSValueTriplet_heap>, pub mList: __BindgenUnionField<*mut nsCSSValueList_heap>, pub mListDependent: __BindgenUnionField<*mut nsCSSValueList>, pub mSharedList: __BindgenUnionField<*mut nsCSSValueSharedList>, pub mPairList: __BindgenUnionField<*mut nsCSSValuePairList_heap>, pub mPairListDependent: __BindgenUnionField<*mut nsCSSValuePairList>, pub mFloatColor: __BindgenUnionField<*mut nsCSSValueFloatColor>, pub mFontFamilyList: __BindgenUnionField<*mut FontFamilyListRefCnt>, pub _bindgen_data_: u64, } impl nsCSSValue_nsCSSValue_h_unnamed_7 { } impl ::std::clone::Clone for nsCSSValue_nsCSSValue_h_unnamed_7 { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsCSSValue_nsCSSValue_h_unnamed_7() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[test] fn bindgen_test_layout_nsCSSValue() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct Array { pub mRefCnt: usize, pub mCount: usize, pub mArray: [nsCSSValue; 1usize], } #[test] fn bindgen_test_layout_Array() { assert_eq!(::std::mem::size_of::() , 32usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValueList { pub mValue: nsCSSValue, pub mNext: *mut nsCSSValueList, } #[test] fn bindgen_test_layout_nsCSSValueList() { assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValueList_heap { pub _base: nsCSSValueList, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_nsCSSValueList_heap() { assert_eq!(::std::mem::size_of::() , 40usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValueSharedList { pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, pub mHead: *mut nsCSSValueList, } #[test] fn bindgen_test_layout_nsCSSValueSharedList() { assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSRect { pub mTop: nsCSSValue, pub mRight: nsCSSValue, pub mBottom: nsCSSValue, pub mLeft: nsCSSValue, } #[test] fn bindgen_test_layout_nsCSSRect() { assert_eq!(::std::mem::size_of::() , 64usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSRect_heap { pub _base: nsCSSRect, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_nsCSSRect_heap() { assert_eq!(::std::mem::size_of::() , 80usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValuePair { pub mXValue: nsCSSValue, pub mYValue: nsCSSValue, } #[test] fn bindgen_test_layout_nsCSSValuePair() { assert_eq!(::std::mem::size_of::() , 32usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValuePair_heap { pub _base: nsCSSValuePair, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_nsCSSValuePair_heap() { assert_eq!(::std::mem::size_of::() , 48usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValueTriplet { pub mXValue: nsCSSValue, pub mYValue: nsCSSValue, pub mZValue: nsCSSValue, } #[test] fn bindgen_test_layout_nsCSSValueTriplet() { assert_eq!(::std::mem::size_of::() , 48usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValueTriplet_heap { pub _base: nsCSSValueTriplet, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_nsCSSValueTriplet_heap() { assert_eq!(::std::mem::size_of::() , 64usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValuePairList { pub mXValue: nsCSSValue, pub mYValue: nsCSSValue, pub mNext: *mut nsCSSValuePairList, } #[test] fn bindgen_test_layout_nsCSSValuePairList() { assert_eq!(::std::mem::size_of::() , 40usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValuePairList_heap { pub _base: nsCSSValuePairList, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_nsCSSValuePairList_heap() { assert_eq!(::std::mem::size_of::() , 56usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValueGradientStop { pub mLocation: nsCSSValue, pub mColor: nsCSSValue, pub mIsInterpolationHint: bool, } #[test] fn bindgen_test_layout_nsCSSValueGradientStop() { assert_eq!(::std::mem::size_of::() , 40usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValueGradient { pub mIsRadial: bool, pub mIsRepeating: bool, pub mIsLegacySyntax: bool, pub mIsExplicitSize: bool, pub mBgPos: nsCSSValuePair, pub mAngle: nsCSSValue, pub mRadialValues: [nsCSSValue; 2usize], pub mStops: u64, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_nsCSSValueGradient() { assert_eq!(::std::mem::size_of::() , 112usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValueTokenStream { pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, pub mPropertyID: nsCSSProperty, pub mShorthandPropertyID: nsCSSProperty, pub mTokenStream: nsString, pub mBaseURI: nsCOMPtr, pub mSheetURI: nsCOMPtr, pub mSheetPrincipal: nsCOMPtr, pub mLineNumber: u32, pub mLineOffset: u32, pub mLevel: SheetType, } #[test] fn bindgen_test_layout_nsCSSValueTokenStream() { assert_eq!(::std::mem::size_of::() , 80usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSValueFloatColor { pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, pub mComponent1: f32, pub mComponent2: f32, pub mComponent3: f32, pub mAlpha: f32, } #[test] fn bindgen_test_layout_nsCSSValueFloatColor() { assert_eq!(::std::mem::size_of::() , 32usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsCSSCornerSizes { pub mTopLeft: nsCSSValue, pub mTopRight: nsCSSValue, pub mBottomRight: nsCSSValue, pub mBottomLeft: nsCSSValue, } #[test] fn bindgen_test_layout_nsCSSCornerSizes() { assert_eq!(::std::mem::size_of::() , 64usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub enum WritingMode { } pub type CounterValue = i32; pub enum NegativeType { } pub enum PadType { } #[repr(C)] #[derive(Debug, Copy)] pub struct CounterStyle { pub _vftable: *const _vftable_CounterStyle, pub mStyle: i32, } #[repr(C)] pub struct _vftable_CounterStyle { pub _bindgen_empty_ctype_warning_fix: u64, } impl ::std::clone::Clone for CounterStyle { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_CounterStyle() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct AnonymousCounterStyle { pub _base: CounterStyle, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, pub mSingleString: bool, pub mSystem: u8, pub mSymbols: u64, } #[repr(C)] pub struct _vftable_AnonymousCounterStyle { pub _base: _vftable_CounterStyle, } #[test] fn bindgen_test_layout_AnonymousCounterStyle() { assert_eq!(::std::mem::size_of::() , 48usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct CounterStyleManager { pub _bindgen_opaque_blob: [u64; 9usize], } #[test] fn bindgen_test_layout_CounterStyleManager() { assert_eq!(::std::mem::size_of::() , 72usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub type nsLoadFlags = u32; #[repr(C)] #[derive(Debug, Copy)] pub struct nsIRequest { pub _base: nsISupports, } #[repr(C)] pub struct _vftable_nsIRequest { pub _base: _vftable_nsISupports, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsIRequest_nsIRequest_h_unnamed_8 { LOAD_REQUESTMASK = 65535, LOAD_NORMAL = 0, LOAD_BACKGROUND = 1, INHIBIT_PIPELINE = 64, INHIBIT_CACHING = 128, INHIBIT_PERSISTENT_CACHING = 256, LOAD_BYPASS_CACHE = 512, LOAD_FROM_CACHE = 1024, VALIDATE_ALWAYS = 2048, VALIDATE_NEVER = 4096, VALIDATE_ONCE_PER_SESSION = 8192, LOAD_ANONYMOUS = 16384, LOAD_FRESH_CONNECTION = 32768, } impl ::std::clone::Clone for nsIRequest { fn clone(&self) -> Self { *self } } #[repr(C)] #[derive(Debug, Copy)] pub struct nsIAtom { pub _base: nsISupports, pub _bitfield_1: u32, pub mHash: u32, /** * WARNING! There is an invisible constraint on |mString|: the chars it * points to must belong to an nsStringBuffer. This is so that the * nsStringBuffer::FromData() calls above are valid. */ pub mString: *mut ::std::os::raw::c_ushort, } #[repr(C)] pub struct _vftable_nsIAtom { pub _base: _vftable_nsISupports, } impl ::std::clone::Clone for nsIAtom { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsIAtom() { assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsAtomString { pub _base: nsString, } #[test] fn bindgen_test_layout_nsAtomString() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsAtomCString { pub _base: nsCString, } #[test] fn bindgen_test_layout_nsAtomCString() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] #[derive(Debug, Copy)] pub struct nsDependentAtomString { pub _base: [u64; 2usize], } impl ::std::clone::Clone for nsDependentAtomString { fn clone(&self) -> Self { *self } } /** * A class for holding strong references to handle-managed objects. * * This is intended for use with objects like StyleSheetHandle, where * the handle type is not a pointer but which can still have ->AddRef() * and ->Release() called on it. */ #[repr(C)] pub struct HandleRefPtr { pub mHandle: T, } /** * A class for holding strong references to nsPresArena-allocated * objects. * * Since the arena's lifetime is not related to the refcounts * of the objects allocated within it, it is possible to have a strong * reference to an arena-allocated object that lives until the * destruction of the arena. An ArenaRefPtr acts like a weak reference * in that it will clear its referent if the arena is about to go away. * * T must be a class that has these two methods: * * static mozilla::ArenaObjectID ArenaObjectID(); * U* Arena(); * * where U is a class that has these two methods: * * void RegisterArenaRefPtr(ArenaRefPtr*); * void DeregisterArenaRefPtr(ArenaRefPtr*); * * Currently, both nsPresArena and nsIPresShell can be used as U. * * The ArenaObjectID method must return the mozilla::ArenaObjectID that * uniquely identifies T, and the Arena method must return the nsPresArena * (or a proxy for it) in which the object was allocated. */ #[repr(C)] pub struct ArenaRefPtr { pub mPtr: RefPtr, pub _phantom0: ::std::marker::PhantomData, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum LogicalAxis { eLogicalAxisBlock = 0, eLogicalAxisInline = 1, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum LogicalEdge { eLogicalEdgeStart = 0, eLogicalEdgeEnd = 1, } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum LogicalSide { eLogicalSideBStart = 0, eLogicalSideBEnd = 1, eLogicalSideIStart = 2, eLogicalSideIEnd = 3, } pub const eStyleUnit_MAX: nsStyleUnit = nsStyleUnit::eStyleUnit_Calc; #[repr(i8)] #[derive(Debug, Copy, Clone)] pub enum nsStyleUnit { eStyleUnit_Null = 0, eStyleUnit_Normal = 1, eStyleUnit_Auto = 2, eStyleUnit_None = 3, eStyleUnit_Percent = 10, eStyleUnit_Factor = 11, eStyleUnit_Degree = 12, eStyleUnit_Grad = 13, eStyleUnit_Radian = 14, eStyleUnit_Turn = 15, eStyleUnit_FlexFraction = 16, eStyleUnit_Coord = 20, eStyleUnit_Integer = 30, eStyleUnit_Enumerated = 32, eStyleUnit_Calc = 40, } #[repr(C)] #[derive(Copy, Debug)] pub struct nsStyleCoord_h_unnamed_9 { pub mInt: __BindgenUnionField, pub mFloat: __BindgenUnionField, pub mPointer: __BindgenUnionField<*mut ::std::os::raw::c_void>, pub _bindgen_data_: u64, } impl nsStyleCoord_h_unnamed_9 { } impl ::std::clone::Clone for nsStyleCoord_h_unnamed_9 { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsStyleCoord_h_unnamed_9() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub type nsStyleUnion = nsStyleCoord_h_unnamed_9; /** * Class that hold a single size specification used by the style * system. The size specification consists of two parts -- a number * and a unit. The number is an integer, a floating point value, an * nscoord, or undefined, and the unit is an nsStyleUnit. Checking * the unit is a must before asking for the value in any particular * form. */ #[repr(C)] pub struct nsStyleCoord { pub mUnit: nsStyleUnit, pub mValue: nsStyleUnion, } #[repr(C)] #[derive(Debug, Copy)] pub struct nsStyleCoord_CalcValue { pub mLength: nscoord, pub mPercent: f32, pub mHasPercent: bool, } impl ::std::clone::Clone for nsStyleCoord_CalcValue { fn clone(&self) -> Self { *self } } #[test] fn bindgen_test_layout_nsStyleCoord_CalcValue() { assert_eq!(::std::mem::size_of::() , 12usize); assert_eq!(::std::mem::align_of::() , 4usize); } #[repr(C)] pub struct nsStyleCoord_Calc { pub _base: nsStyleCoord_CalcValue, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_nsStyleCoord_Calc() { assert_eq!(::std::mem::size_of::() , 32usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsStyleCoord_CoordConstructorType { CoordConstructor = 0, } #[test] fn bindgen_test_layout_nsStyleCoord() { assert_eq!(::std::mem::size_of::() , 16usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * Class that represents a set of top/right/bottom/left nsStyleCoords. * This is commonly used to hold the widths of the borders, margins, * or paddings of a box. */ #[repr(C)] pub struct nsStyleSides { pub mUnits: [nsStyleUnit; 4usize], pub mValues: [nsStyleUnion; 4usize], } #[test] fn bindgen_test_layout_nsStyleSides() { assert_eq!(::std::mem::size_of::() , 40usize); assert_eq!(::std::mem::align_of::() , 8usize); } /** * Class that represents a set of top-left/top-right/bottom-left/bottom-right * nsStyleCoord pairs. This is used to hold the dimensions of the * corners of a box (for, e.g., border-radius and outline-radius). */ #[repr(C)] pub struct nsStyleCorners { pub mUnits: [nsStyleUnit; 8usize], pub mValues: [nsStyleUnion; 8usize], } #[test] fn bindgen_test_layout_nsStyleCorners() { assert_eq!(::std::mem::size_of::() , 72usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub enum imgIContainer { } #[repr(C)] pub struct imgIRequest { pub _bindgen_opaque_blob: u64, } #[test] fn bindgen_test_layout_imgIRequest() { assert_eq!(::std::mem::size_of::() , 8usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub enum imgStatusNotifyRunnable { } pub enum ProxyBehaviour { } pub enum Image { } pub enum ImageURL { } pub enum ProgressTracker { } #[repr(C)] pub struct imgRequestProxy { pub _bindgen_opaque_blob: [u64; 15usize], } #[test] fn bindgen_test_layout_imgRequestProxy() { assert_eq!(::std::mem::size_of::() , 120usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct imgRequestProxyStatic { pub _bindgen_opaque_blob: [u64; 16usize], } #[test] fn bindgen_test_layout_imgRequestProxyStatic() { assert_eq!(::std::mem::size_of::() , 128usize); assert_eq!(::std::mem::align_of::() , 8usize); } pub enum nsIFrame { } pub enum nsStyleContext { } pub enum nsTextFrame { } #[repr(C)] pub struct nsStyleFont { pub mFont: nsFont, pub mSize: nscoord, pub mGenericID: u8, pub mScriptLevel: i8, pub mMathVariant: u8, pub mMathDisplay: u8, pub mMinFontSizeRatio: u8, pub mExplicitLanguage: bool, pub mAllowZoom: bool, pub mScriptUnconstrainedSize: nscoord, pub mScriptMinSize: nscoord, pub mScriptSizeMultiplier: f32, pub mLanguage: nsCOMPtr, } #[test] fn bindgen_test_layout_nsStyleFont() { assert_eq!(::std::mem::size_of::() , 120usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsStyleGradientStop { pub mLocation: nsStyleCoord, pub mColor: nscolor, pub mIsInterpolationHint: bool, } #[test] fn bindgen_test_layout_nsStyleGradientStop() { assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] pub struct nsStyleGradient { pub mShape: u8, pub mSize: u8, pub mRepeating: bool, pub mLegacySyntax: bool, pub mBgPosX: nsStyleCoord, pub mBgPosY: nsStyleCoord, pub mAngle: nsStyleCoord, pub mRadiusX: nsStyleCoord, pub mRadiusY: nsStyleCoord, pub mStops: u64, pub mRefCnt: nsAutoRefCnt, pub _mOwningThread: nsAutoOwningThread, } #[test] fn bindgen_test_layout_nsStyleGradient() { assert_eq!(::std::mem::size_of::() , 112usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(u32)] #[derive(Debug, Copy, Clone)] pub enum nsStyleImageType { eStyleImageType_Null = 0, eStyleImageType_Image = 1, eStyleImageType_Gradient = 2, eStyleImageType_Element = 3, } /** * Represents a paintable image of one of the following types. * (1) A real image loaded from an external source. * (2) A CSS linear or radial gradient. * (3) An element within a document, or an ,