/* automatically generated by rust-bindgen */ use heapsize::HeapSizeOf; pub enum nsINode {} pub enum nsIDocument {} pub enum nsIPrincipal {} pub enum nsIURI {} pub type ServoComputedValuesStrong = ::sugar::refptr::Strong; pub type ServoComputedValuesBorrowed<'a> = ::sugar::refptr::Borrowed<'a, ServoComputedValues>; pub type RawServoStyleSheetStrong = ::sugar::refptr::Strong; pub type RawServoStyleSheetBorrowed<'a> = ::sugar::refptr::Borrowed<'a, RawServoStyleSheet>; use structs::nsStyleFont; unsafe impl Send for nsStyleFont {} unsafe impl Sync for nsStyleFont {} impl HeapSizeOf for nsStyleFont { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleColor; unsafe impl Send for nsStyleColor {} unsafe impl Sync for nsStyleColor {} impl HeapSizeOf for nsStyleColor { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleList; unsafe impl Send for nsStyleList {} unsafe impl Sync for nsStyleList {} impl HeapSizeOf for nsStyleList { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleText; unsafe impl Send for nsStyleText {} unsafe impl Sync for nsStyleText {} impl HeapSizeOf for nsStyleText { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleVisibility; unsafe impl Send for nsStyleVisibility {} unsafe impl Sync for nsStyleVisibility {} impl HeapSizeOf for nsStyleVisibility { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleUserInterface; unsafe impl Send for nsStyleUserInterface {} unsafe impl Sync for nsStyleUserInterface {} impl HeapSizeOf for nsStyleUserInterface { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleTableBorder; unsafe impl Send for nsStyleTableBorder {} unsafe impl Sync for nsStyleTableBorder {} impl HeapSizeOf for nsStyleTableBorder { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleSVG; unsafe impl Send for nsStyleSVG {} unsafe impl Sync for nsStyleSVG {} impl HeapSizeOf for nsStyleSVG { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleVariables; unsafe impl Send for nsStyleVariables {} unsafe impl Sync for nsStyleVariables {} impl HeapSizeOf for nsStyleVariables { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleBackground; unsafe impl Send for nsStyleBackground {} unsafe impl Sync for nsStyleBackground {} impl HeapSizeOf for nsStyleBackground { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStylePosition; unsafe impl Send for nsStylePosition {} unsafe impl Sync for nsStylePosition {} impl HeapSizeOf for nsStylePosition { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleTextReset; unsafe impl Send for nsStyleTextReset {} unsafe impl Sync for nsStyleTextReset {} impl HeapSizeOf for nsStyleTextReset { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleDisplay; unsafe impl Send for nsStyleDisplay {} unsafe impl Sync for nsStyleDisplay {} impl HeapSizeOf for nsStyleDisplay { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleContent; unsafe impl Send for nsStyleContent {} unsafe impl Sync for nsStyleContent {} impl HeapSizeOf for nsStyleContent { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleUIReset; unsafe impl Send for nsStyleUIReset {} unsafe impl Sync for nsStyleUIReset {} impl HeapSizeOf for nsStyleUIReset { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleTable; unsafe impl Send for nsStyleTable {} unsafe impl Sync for nsStyleTable {} impl HeapSizeOf for nsStyleTable { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleMargin; unsafe impl Send for nsStyleMargin {} unsafe impl Sync for nsStyleMargin {} impl HeapSizeOf for nsStyleMargin { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStylePadding; unsafe impl Send for nsStylePadding {} unsafe impl Sync for nsStylePadding {} impl HeapSizeOf for nsStylePadding { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleBorder; unsafe impl Send for nsStyleBorder {} unsafe impl Sync for nsStyleBorder {} impl HeapSizeOf for nsStyleBorder { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleOutline; unsafe impl Send for nsStyleOutline {} unsafe impl Sync for nsStyleOutline {} impl HeapSizeOf for nsStyleOutline { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleXUL; unsafe impl Send for nsStyleXUL {} unsafe impl Sync for nsStyleXUL {} impl HeapSizeOf for nsStyleXUL { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleSVGReset; unsafe impl Send for nsStyleSVGReset {} unsafe impl Sync for nsStyleSVGReset {} impl HeapSizeOf for nsStyleSVGReset { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleColumn; unsafe impl Send for nsStyleColumn {} unsafe impl Sync for nsStyleColumn {} impl HeapSizeOf for nsStyleColumn { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleEffects; unsafe impl Send for nsStyleEffects {} unsafe impl Sync for nsStyleEffects {} impl HeapSizeOf for nsStyleEffects { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleImage; unsafe impl Send for nsStyleImage {} unsafe impl Sync for nsStyleImage {} impl HeapSizeOf for nsStyleImage { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleGradient; unsafe impl Send for nsStyleGradient {} unsafe impl Sync for nsStyleGradient {} impl HeapSizeOf for nsStyleGradient { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleCoord; unsafe impl Send for nsStyleCoord {} unsafe impl Sync for nsStyleCoord {} impl HeapSizeOf for nsStyleCoord { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleGradientStop; unsafe impl Send for nsStyleGradientStop {} unsafe impl Sync for nsStyleGradientStop {} impl HeapSizeOf for nsStyleGradientStop { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleImageLayers; unsafe impl Send for nsStyleImageLayers {} unsafe impl Sync for nsStyleImageLayers {} impl HeapSizeOf for nsStyleImageLayers { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleImageLayers_Layer as Layer; use structs::nsStyleImageLayers_LayerType as LayerType; use structs::nsStyleUnit; unsafe impl Send for nsStyleUnit {} unsafe impl Sync for nsStyleUnit {} impl HeapSizeOf for nsStyleUnit { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleUnion; unsafe impl Send for nsStyleUnion {} unsafe impl Sync for nsStyleUnion {} impl HeapSizeOf for nsStyleUnion { fn heap_size_of_children(&self) -> usize { 0 } } use structs::nsStyleCoord_CalcValue as CalcValue; use structs::nsStyleCoord_Calc as Calc; use structs::nsRestyleHint; use structs::ServoElementSnapshot; use structs::nsChangeHint; use structs::SheetParsingMode; use structs::nsMainThreadPtrHandle; use structs::nsMainThreadPtrHolder; use structs::nscolor; use structs::nsFont; use structs::FontFamilyList; use structs::FontFamilyType; use structs::nsIAtom; use structs::nsStyleContext; unsafe impl Send for nsStyleContext {} unsafe impl Sync for nsStyleContext {} impl HeapSizeOf for nsStyleContext { fn heap_size_of_children(&self) -> usize { 0 } } pub type RawGeckoNode = nsINode; pub enum Element { } pub type RawGeckoElement = Element; pub type RawGeckoDocument = nsIDocument; pub enum ServoNodeData { } pub enum ServoComputedValues { } pub enum RawServoStyleSheet { } pub enum RawServoStyleSet { } pub enum nsHTMLCSSStyleSheet { } pub enum ServoDeclarationBlock { } pub type ThreadSafePrincipalHolder = nsMainThreadPtrHolder; pub type ThreadSafeURIHolder = nsMainThreadPtrHolder; extern "C" { pub fn Gecko_ChildrenCount(node: *mut RawGeckoNode) -> u32; pub fn Gecko_NodeIsElement(node: *mut RawGeckoNode) -> bool; pub fn Gecko_GetParentNode(node: *mut RawGeckoNode) -> *mut RawGeckoNode; pub fn Gecko_GetFirstChild(node: *mut RawGeckoNode) -> *mut RawGeckoNode; pub fn Gecko_GetLastChild(node: *mut RawGeckoNode) -> *mut RawGeckoNode; pub fn Gecko_GetPrevSibling(node: *mut RawGeckoNode) -> *mut RawGeckoNode; pub fn Gecko_GetNextSibling(node: *mut RawGeckoNode) -> *mut RawGeckoNode; pub fn Gecko_GetParentElement(element: *mut RawGeckoElement) -> *mut RawGeckoElement; pub fn Gecko_GetFirstChildElement(element: *mut RawGeckoElement) -> *mut RawGeckoElement; pub fn Gecko_GetLastChildElement(element: *mut RawGeckoElement) -> *mut RawGeckoElement; pub fn Gecko_GetPrevSiblingElement(element: *mut RawGeckoElement) -> *mut RawGeckoElement; pub fn Gecko_GetNextSiblingElement(element: *mut RawGeckoElement) -> *mut RawGeckoElement; pub fn Gecko_GetDocumentElement(document: *mut RawGeckoDocument) -> *mut RawGeckoElement; pub fn Gecko_ElementState(element: *mut RawGeckoElement) -> u8; pub fn Gecko_IsHTMLElementInHTMLDocument(element: *mut RawGeckoElement) -> bool; pub fn Gecko_IsLink(element: *mut RawGeckoElement) -> bool; pub fn Gecko_IsTextNode(node: *mut RawGeckoNode) -> bool; pub fn Gecko_IsVisitedLink(element: *mut RawGeckoElement) -> bool; pub fn Gecko_IsUnvisitedLink(element: *mut RawGeckoElement) -> bool; pub fn Gecko_IsRootElement(element: *mut RawGeckoElement) -> bool; pub fn Gecko_LocalName(element: *mut RawGeckoElement) -> *mut nsIAtom; pub fn Gecko_Namespace(element: *mut RawGeckoElement) -> *mut nsIAtom; pub fn Gecko_GetElementId(element: *mut RawGeckoElement) -> *mut nsIAtom; pub fn Gecko_AtomAttrValue(element: *mut RawGeckoElement, attribute: *mut nsIAtom) -> *mut nsIAtom; pub fn Gecko_HasAttr(element: *mut RawGeckoElement, ns: *mut nsIAtom, name: *mut nsIAtom) -> bool; pub fn Gecko_AttrEquals(element: *mut RawGeckoElement, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom, ignoreCase: bool) -> bool; pub fn Gecko_AttrDashEquals(element: *mut RawGeckoElement, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_AttrIncludes(element: *mut RawGeckoElement, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_AttrHasSubstring(element: *mut RawGeckoElement, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_AttrHasPrefix(element: *mut RawGeckoElement, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_AttrHasSuffix(element: *mut RawGeckoElement, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_ClassOrClassList(element: *mut RawGeckoElement, class_: *mut *mut nsIAtom, classList: *mut *mut *mut nsIAtom) -> u32; pub fn Gecko_SnapshotAtomAttrValue(element: *mut ServoElementSnapshot, attribute: *mut nsIAtom) -> *mut nsIAtom; pub fn Gecko_SnapshotHasAttr(element: *mut ServoElementSnapshot, ns: *mut nsIAtom, name: *mut nsIAtom) -> bool; pub fn Gecko_SnapshotAttrEquals(element: *mut ServoElementSnapshot, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom, ignoreCase: bool) -> bool; pub fn Gecko_SnapshotAttrDashEquals(element: *mut ServoElementSnapshot, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_SnapshotAttrIncludes(element: *mut ServoElementSnapshot, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_SnapshotAttrHasSubstring(element: *mut ServoElementSnapshot, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_SnapshotAttrHasPrefix(element: *mut ServoElementSnapshot, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_SnapshotAttrHasSuffix(element: *mut ServoElementSnapshot, ns: *mut nsIAtom, name: *mut nsIAtom, str: *mut nsIAtom) -> bool; pub fn Gecko_SnapshotClassOrClassList(element: *mut ServoElementSnapshot, class_: *mut *mut nsIAtom, classList: *mut *mut *mut nsIAtom) -> u32; pub fn Gecko_GetServoDeclarationBlock(element: *mut RawGeckoElement) -> *mut ServoDeclarationBlock; pub fn Gecko_GetNodeData(node: *mut RawGeckoNode) -> *mut ServoNodeData; pub fn Gecko_SetNodeData(node: *mut RawGeckoNode, data: *mut ServoNodeData); pub fn Servo_DropNodeData(data: *mut ServoNodeData); pub fn Gecko_Atomize(aString: *const ::std::os::raw::c_char, aLength: u32) -> *mut nsIAtom; pub fn Gecko_AddRefAtom(aAtom: *mut nsIAtom); pub fn Gecko_ReleaseAtom(aAtom: *mut nsIAtom); pub fn Gecko_GetAtomAsUTF16(aAtom: *mut nsIAtom, aLength: *mut u32) -> *const u16; pub fn Gecko_AtomEqualsUTF8(aAtom: *mut nsIAtom, aString: *const ::std::os::raw::c_char, aLength: u32) -> bool; pub fn Gecko_AtomEqualsUTF8IgnoreCase(aAtom: *mut nsIAtom, aString: *const ::std::os::raw::c_char, aLength: u32) -> bool; pub fn Gecko_FontFamilyList_Clear(aList: *mut FontFamilyList); pub fn Gecko_FontFamilyList_AppendNamed(aList: *mut FontFamilyList, aName: *mut nsIAtom); pub fn Gecko_FontFamilyList_AppendGeneric(list: *mut FontFamilyList, familyType: FontFamilyType); pub fn Gecko_CopyFontFamilyFrom(dst: *mut nsFont, src: *const nsFont); pub fn Gecko_SetListStyleType(style_struct: *mut nsStyleList, type_: u32); pub fn Gecko_CopyListStyleTypeFrom(dst: *mut nsStyleList, src: *const nsStyleList); pub fn Gecko_SetNullImageValue(image: *mut nsStyleImage); pub fn Gecko_SetGradientImageValue(image: *mut nsStyleImage, gradient: *mut nsStyleGradient); pub fn Gecko_CopyImageValueFrom(image: *mut nsStyleImage, other: *const nsStyleImage); pub fn Gecko_CreateGradient(shape: u8, size: u8, repeating: bool, legacy_syntax: bool, stops: u32) -> *mut nsStyleGradient; pub fn Gecko_AddRefPrincipalArbitraryThread(aPtr: *mut ThreadSafePrincipalHolder); pub fn Gecko_ReleasePrincipalArbitraryThread(aPtr: *mut ThreadSafePrincipalHolder); pub fn Gecko_AddRefURIArbitraryThread(aPtr: *mut ThreadSafeURIHolder); pub fn Gecko_ReleaseURIArbitraryThread(aPtr: *mut ThreadSafeURIHolder); pub fn Gecko_SetMozBinding(style_struct: *mut nsStyleDisplay, string_bytes: *const u8, string_length: u32, base_uri: *mut ThreadSafeURIHolder, referrer: *mut ThreadSafeURIHolder, principal: *mut ThreadSafePrincipalHolder); pub fn Gecko_CopyMozBindingFrom(des: *mut nsStyleDisplay, src: *const nsStyleDisplay); pub fn Gecko_GetNodeFlags(node: *mut RawGeckoNode) -> u32; pub fn Gecko_SetNodeFlags(node: *mut RawGeckoNode, flags: u32); pub fn Gecko_UnsetNodeFlags(node: *mut RawGeckoNode, flags: u32); pub fn Gecko_GetStyleContext(node: *mut RawGeckoNode, aPseudoTagOrNull: *mut nsIAtom) -> *mut nsStyleContext; pub fn Gecko_CalcStyleDifference(oldstyle: *mut nsStyleContext, newstyle: ServoComputedValuesBorrowed) -> nsChangeHint; pub fn Gecko_StoreStyleDifference(node: *mut RawGeckoNode, change: nsChangeHint); pub fn Gecko_EnsureTArrayCapacity(array: *mut ::std::os::raw::c_void, capacity: usize, elem_size: usize); pub fn Gecko_ClearPODTArray(array: *mut ::std::os::raw::c_void, elem_size: usize, elem_align: usize); pub fn Gecko_EnsureImageLayersLength(layers: *mut nsStyleImageLayers, len: usize); pub fn Gecko_InitializeImageLayer(layer: *mut Layer, layer_type: LayerType); pub fn Gecko_ResetStyleCoord(unit: *mut nsStyleUnit, value: *mut nsStyleUnion); pub fn Gecko_SetStyleCoordCalcValue(unit: *mut nsStyleUnit, value: *mut nsStyleUnion, calc: CalcValue); pub fn Gecko_AddRefCalcArbitraryThread(aPtr: *mut Calc); pub fn Gecko_ReleaseCalcArbitraryThread(aPtr: *mut Calc); pub fn Servo_StylesheetFromUTF8Bytes(bytes: *const u8, length: u32, parsing_mode: SheetParsingMode, base_bytes: *const u8, base_length: u32, base: *mut ThreadSafeURIHolder, referrer: *mut ThreadSafeURIHolder, principal: *mut ThreadSafePrincipalHolder) -> RawServoStyleSheetStrong; pub fn Servo_AddRefStyleSheet(sheet: RawServoStyleSheetBorrowed); pub fn Servo_ReleaseStyleSheet(sheet: RawServoStyleSheetBorrowed); pub fn Servo_AppendStyleSheet(sheet: RawServoStyleSheetBorrowed, set: *mut RawServoStyleSet); pub fn Servo_PrependStyleSheet(sheet: RawServoStyleSheetBorrowed, set: *mut RawServoStyleSet); pub fn Servo_RemoveStyleSheet(sheet: RawServoStyleSheetBorrowed, set: *mut RawServoStyleSet); pub fn Servo_InsertStyleSheetBefore(sheet: RawServoStyleSheetBorrowed, reference: RawServoStyleSheetBorrowed, set: *mut RawServoStyleSet); pub fn Servo_StyleSheetHasRules(sheet: RawServoStyleSheetBorrowed) -> bool; pub fn Servo_InitStyleSet() -> *mut RawServoStyleSet; pub fn Servo_DropStyleSet(set: *mut RawServoStyleSet); pub fn Servo_ParseStyleAttribute(bytes: *const u8, length: u32, cache: *mut nsHTMLCSSStyleSheet) -> *mut ServoDeclarationBlock; pub fn Servo_DropDeclarationBlock(declarations: *mut ServoDeclarationBlock); pub fn Servo_GetDeclarationBlockCache(declarations: *mut ServoDeclarationBlock) -> *mut nsHTMLCSSStyleSheet; pub fn Servo_SetDeclarationBlockImmutable(declarations: *mut ServoDeclarationBlock); pub fn Servo_ClearDeclarationBlockCachePointer(declarations: *mut ServoDeclarationBlock); pub fn Servo_CSSSupports(name: *const u8, name_length: u32, value: *const u8, value_length: u32) -> bool; pub fn Servo_GetComputedValues(node: *mut RawGeckoNode) -> ServoComputedValuesStrong; pub fn Servo_GetComputedValuesForAnonymousBox(parentStyleOrNull: ServoComputedValuesBorrowed, pseudoTag: *mut nsIAtom, set: *mut RawServoStyleSet) -> ServoComputedValuesStrong; pub fn Servo_GetComputedValuesForPseudoElement(parent_style: ServoComputedValuesBorrowed, match_element: *mut RawGeckoElement, pseudo_tag: *mut nsIAtom, set: *mut RawServoStyleSet, is_probe: bool) -> ServoComputedValuesStrong; pub fn Servo_InheritComputedValues(parent_style: ServoComputedValuesBorrowed) -> ServoComputedValuesStrong; pub fn Servo_AddRefComputedValues(arg1: ServoComputedValuesBorrowed); pub fn Servo_ReleaseComputedValues(arg1: ServoComputedValuesBorrowed); pub fn Servo_Initialize(); pub fn Servo_Shutdown(); pub fn Servo_RestyleDocument(doc: *mut RawGeckoDocument, set: *mut RawServoStyleSet); pub fn Servo_RestyleSubtree(node: *mut RawGeckoNode, set: *mut RawServoStyleSet); pub fn Servo_ComputeRestyleHint(element: *mut RawGeckoElement, snapshot: *mut ServoElementSnapshot, set: *mut RawServoStyleSet) -> nsRestyleHint; pub fn Gecko_Construct_nsStyleFont(ptr: *mut nsStyleFont); pub fn Gecko_CopyConstruct_nsStyleFont(ptr: *mut nsStyleFont, other: *const nsStyleFont); pub fn Gecko_Destroy_nsStyleFont(ptr: *mut nsStyleFont); pub fn Servo_GetStyleFont(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleFont; pub fn Gecko_Construct_nsStyleColor(ptr: *mut nsStyleColor); pub fn Gecko_CopyConstruct_nsStyleColor(ptr: *mut nsStyleColor, other: *const nsStyleColor); pub fn Gecko_Destroy_nsStyleColor(ptr: *mut nsStyleColor); pub fn Servo_GetStyleColor(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleColor; pub fn Gecko_Construct_nsStyleList(ptr: *mut nsStyleList); pub fn Gecko_CopyConstruct_nsStyleList(ptr: *mut nsStyleList, other: *const nsStyleList); pub fn Gecko_Destroy_nsStyleList(ptr: *mut nsStyleList); pub fn Servo_GetStyleList(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleList; pub fn Gecko_Construct_nsStyleText(ptr: *mut nsStyleText); pub fn Gecko_CopyConstruct_nsStyleText(ptr: *mut nsStyleText, other: *const nsStyleText); pub fn Gecko_Destroy_nsStyleText(ptr: *mut nsStyleText); pub fn Servo_GetStyleText(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleText; pub fn Gecko_Construct_nsStyleVisibility(ptr: *mut nsStyleVisibility); pub fn Gecko_CopyConstruct_nsStyleVisibility(ptr: *mut nsStyleVisibility, other: *const nsStyleVisibility); pub fn Gecko_Destroy_nsStyleVisibility(ptr: *mut nsStyleVisibility); pub fn Servo_GetStyleVisibility(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleVisibility; pub fn Gecko_Construct_nsStyleUserInterface(ptr: *mut nsStyleUserInterface); pub fn Gecko_CopyConstruct_nsStyleUserInterface(ptr: *mut nsStyleUserInterface, other: *const nsStyleUserInterface); pub fn Gecko_Destroy_nsStyleUserInterface(ptr: *mut nsStyleUserInterface); pub fn Servo_GetStyleUserInterface(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleUserInterface; pub fn Gecko_Construct_nsStyleTableBorder(ptr: *mut nsStyleTableBorder); pub fn Gecko_CopyConstruct_nsStyleTableBorder(ptr: *mut nsStyleTableBorder, other: *const nsStyleTableBorder); pub fn Gecko_Destroy_nsStyleTableBorder(ptr: *mut nsStyleTableBorder); pub fn Servo_GetStyleTableBorder(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleTableBorder; pub fn Gecko_Construct_nsStyleSVG(ptr: *mut nsStyleSVG); pub fn Gecko_CopyConstruct_nsStyleSVG(ptr: *mut nsStyleSVG, other: *const nsStyleSVG); pub fn Gecko_Destroy_nsStyleSVG(ptr: *mut nsStyleSVG); pub fn Servo_GetStyleSVG(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleSVG; pub fn Gecko_Construct_nsStyleVariables(ptr: *mut nsStyleVariables); pub fn Gecko_CopyConstruct_nsStyleVariables(ptr: *mut nsStyleVariables, other: *const nsStyleVariables); pub fn Gecko_Destroy_nsStyleVariables(ptr: *mut nsStyleVariables); pub fn Servo_GetStyleVariables(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleVariables; pub fn Gecko_Construct_nsStyleBackground(ptr: *mut nsStyleBackground); pub fn Gecko_CopyConstruct_nsStyleBackground(ptr: *mut nsStyleBackground, other: *const nsStyleBackground); pub fn Gecko_Destroy_nsStyleBackground(ptr: *mut nsStyleBackground); pub fn Servo_GetStyleBackground(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleBackground; pub fn Gecko_Construct_nsStylePosition(ptr: *mut nsStylePosition); pub fn Gecko_CopyConstruct_nsStylePosition(ptr: *mut nsStylePosition, other: *const nsStylePosition); pub fn Gecko_Destroy_nsStylePosition(ptr: *mut nsStylePosition); pub fn Servo_GetStylePosition(computedValues: ServoComputedValuesBorrowed) -> *const nsStylePosition; pub fn Gecko_Construct_nsStyleTextReset(ptr: *mut nsStyleTextReset); pub fn Gecko_CopyConstruct_nsStyleTextReset(ptr: *mut nsStyleTextReset, other: *const nsStyleTextReset); pub fn Gecko_Destroy_nsStyleTextReset(ptr: *mut nsStyleTextReset); pub fn Servo_GetStyleTextReset(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleTextReset; pub fn Gecko_Construct_nsStyleDisplay(ptr: *mut nsStyleDisplay); pub fn Gecko_CopyConstruct_nsStyleDisplay(ptr: *mut nsStyleDisplay, other: *const nsStyleDisplay); pub fn Gecko_Destroy_nsStyleDisplay(ptr: *mut nsStyleDisplay); pub fn Servo_GetStyleDisplay(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleDisplay; pub fn Gecko_Construct_nsStyleContent(ptr: *mut nsStyleContent); pub fn Gecko_CopyConstruct_nsStyleContent(ptr: *mut nsStyleContent, other: *const nsStyleContent); pub fn Gecko_Destroy_nsStyleContent(ptr: *mut nsStyleContent); pub fn Servo_GetStyleContent(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleContent; pub fn Gecko_Construct_nsStyleUIReset(ptr: *mut nsStyleUIReset); pub fn Gecko_CopyConstruct_nsStyleUIReset(ptr: *mut nsStyleUIReset, other: *const nsStyleUIReset); pub fn Gecko_Destroy_nsStyleUIReset(ptr: *mut nsStyleUIReset); pub fn Servo_GetStyleUIReset(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleUIReset; pub fn Gecko_Construct_nsStyleTable(ptr: *mut nsStyleTable); pub fn Gecko_CopyConstruct_nsStyleTable(ptr: *mut nsStyleTable, other: *const nsStyleTable); pub fn Gecko_Destroy_nsStyleTable(ptr: *mut nsStyleTable); pub fn Servo_GetStyleTable(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleTable; pub fn Gecko_Construct_nsStyleMargin(ptr: *mut nsStyleMargin); pub fn Gecko_CopyConstruct_nsStyleMargin(ptr: *mut nsStyleMargin, other: *const nsStyleMargin); pub fn Gecko_Destroy_nsStyleMargin(ptr: *mut nsStyleMargin); pub fn Servo_GetStyleMargin(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleMargin; pub fn Gecko_Construct_nsStylePadding(ptr: *mut nsStylePadding); pub fn Gecko_CopyConstruct_nsStylePadding(ptr: *mut nsStylePadding, other: *const nsStylePadding); pub fn Gecko_Destroy_nsStylePadding(ptr: *mut nsStylePadding); pub fn Servo_GetStylePadding(computedValues: ServoComputedValuesBorrowed) -> *const nsStylePadding; pub fn Gecko_Construct_nsStyleBorder(ptr: *mut nsStyleBorder); pub fn Gecko_CopyConstruct_nsStyleBorder(ptr: *mut nsStyleBorder, other: *const nsStyleBorder); pub fn Gecko_Destroy_nsStyleBorder(ptr: *mut nsStyleBorder); pub fn Servo_GetStyleBorder(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleBorder; pub fn Gecko_Construct_nsStyleOutline(ptr: *mut nsStyleOutline); pub fn Gecko_CopyConstruct_nsStyleOutline(ptr: *mut nsStyleOutline, other: *const nsStyleOutline); pub fn Gecko_Destroy_nsStyleOutline(ptr: *mut nsStyleOutline); pub fn Servo_GetStyleOutline(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleOutline; pub fn Gecko_Construct_nsStyleXUL(ptr: *mut nsStyleXUL); pub fn Gecko_CopyConstruct_nsStyleXUL(ptr: *mut nsStyleXUL, other: *const nsStyleXUL); pub fn Gecko_Destroy_nsStyleXUL(ptr: *mut nsStyleXUL); pub fn Servo_GetStyleXUL(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleXUL; pub fn Gecko_Construct_nsStyleSVGReset(ptr: *mut nsStyleSVGReset); pub fn Gecko_CopyConstruct_nsStyleSVGReset(ptr: *mut nsStyleSVGReset, other: *const nsStyleSVGReset); pub fn Gecko_Destroy_nsStyleSVGReset(ptr: *mut nsStyleSVGReset); pub fn Servo_GetStyleSVGReset(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleSVGReset; pub fn Gecko_Construct_nsStyleColumn(ptr: *mut nsStyleColumn); pub fn Gecko_CopyConstruct_nsStyleColumn(ptr: *mut nsStyleColumn, other: *const nsStyleColumn); pub fn Gecko_Destroy_nsStyleColumn(ptr: *mut nsStyleColumn); pub fn Servo_GetStyleColumn(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleColumn; pub fn Gecko_Construct_nsStyleEffects(ptr: *mut nsStyleEffects); pub fn Gecko_CopyConstruct_nsStyleEffects(ptr: *mut nsStyleEffects, other: *const nsStyleEffects); pub fn Gecko_Destroy_nsStyleEffects(ptr: *mut nsStyleEffects); pub fn Servo_GetStyleEffects(computedValues: ServoComputedValuesBorrowed) -> *const nsStyleEffects; }