var searchIndex = {}; searchIndex["html5ever_ext"] = {"doc":"html5_ext","items":[[5,"parse_css_selector","html5ever_ext","Parses a CSS selector",null,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[3,"Attribute","","A tag attribute.",null,null],[12,"name","","",0,null],[12,"value","","",0,null],[6,"LocalName","","",null,null],[3,"QualName","","A name with a namespace. Fully qualified name. Used to depict names of tags and attributes.",null,null],[12,"prefix","","",1,null],[12,"ns","","",1,null],[12,"local","","",1,null],[3,"Node","","A DOM node.",null,null],[12,"parent","","Parent node.",2,null],[12,"children","","Child nodes of this node.",2,null],[12,"data","","Represents this node's data.",2,null],[4,"NodeData","","The different kinds of nodes in the DOM.",null,null],[13,"Document","","The `Document` itself.",3,null],[13,"Doctype","","A `DOCTYPE` with name, public id, and system id.",3,null],[12,"name","html5ever_ext::NodeData","",3,null],[12,"public_id","","",3,null],[12,"system_id","","",3,null],[13,"Text","html5ever_ext","A text node.",3,null],[12,"contents","html5ever_ext::NodeData","",3,null],[13,"Comment","html5ever_ext","A comment.",3,null],[12,"contents","html5ever_ext::NodeData","",3,null],[13,"Element","html5ever_ext","An element with attributes.",3,null],[12,"name","html5ever_ext::NodeData","",3,null],[12,"attrs","","",3,null],[12,"template_contents","","For HTML elements, the template contents https://html.spec.whatwg.org/multipage/#template-contents",3,null],[12,"mathml_annotation_xml_integration_point","","https://html.spec.whatwg.org/multipage/#html-integration-point",3,null],[13,"ProcessingInstruction","html5ever_ext","A Processing instruction.",3,null],[12,"target","html5ever_ext::NodeData","",3,null],[12,"contents","","",3,null],[3,"RcDom","html5ever_ext","The DOM itself; the result of parsing.",null,null],[12,"document","","The `Document` itself.",4,null],[12,"errors","","Errors that occurred during parsing.",4,null],[12,"quirks_mode","","The document's quirks mode.",4,null],[6,"StrTendril","","`Tendril` for storing native Rust strings.",null,null],[8,"TreeSink","","",null,null],[16,"Handle","","`Handle` is a reference to a DOM node. The tree builder requires that a `Handle` implements `Clone` to get another reference to the same node.",5,null],[16,"Output","","The overall result of parsing.",5,null],[10,"finish","","Consume this sink and return the overall result of parsing.",5,null],[10,"parse_error","","Signal a parse error.",5,null],[10,"get_document","","Get a handle to the `Document` node.",5,null],[10,"elem_name","","What is the name of this element?",5,null],[10,"create_element","","Create an element.",5,null],[10,"create_comment","","Create a comment node.",5,null],[10,"create_pi","","Create a Processing Instruction node.",5,null],[10,"append","","Append a node as the last child of the given node. If this would produce adjacent sibling text nodes, it should concatenate the text instead.",5,null],[10,"append_based_on_parent_node","","When the insertion point is decided by the existence of a parent node of the element, we consider both possibilities and send the element which will be used if a parent node exists, along with the element to be used if there isn't one.",5,null],[10,"append_doctype_to_document","","Append a `DOCTYPE` element to the `Document` node.",5,null],[11,"mark_script_already_started","","Mark a HTML `` as this will cause a parse error.",10,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[10,"can_collapse_whitespace","","Can this element's descendant text nodes have leading, trailing and interstitial whitespace collapsed?",10,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[8,"RcDomExt","","This trait adds additional methods to a HTML DOM.",null,null],[10,"from_file_path_verified_and_stripped_of_comments_and_processing_instructions_and_with_a_sane_doc_type","","Creates an instance of an HTML DOM from a file path which is verified, stripped and with a sane DocType.",11,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[10,"from_file_path","","Creates an instance of an HTML DOM from a file path",11,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[10,"verify","","Verify that this HTML DOM is valid.",11,{"inputs":[{"name":"self"},{"name":"path"}],"output":{"name":"result"}}],[10,"recursively_strip_nodes_of_comments_and_processing_instructions_and_create_sane_doc_type","","Remove all comments and processing instructions and make the DOCTYPE a simple 'html' (for HTML 5).",11,{"inputs":[{"name":"self"},{"name":"path"}],"output":{"name":"result"}}],[10,"move_node_children_to_parent_node","","Moves a node's children to another parent node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[10,"move_node_to_parent_node","","Moves an existing element node to a parent node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[10,"move_node_before_sibling_node","","Moves an existing element before a sibling node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[10,"append_new_element_to_parent_node","","Appends a new element node to a parent node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"qualname"},{"name":"vec"}],"output":null}],[10,"append_new_element_before_sibling_node","","Appends a new element before a sibling node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"qualname"},{"name":"vec"}],"output":null}],[10,"append_new_comment_to_parent_node","","Appends a new comment node to a parent node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[10,"append_new_comment_before_sibling_node","","Appends a new comment before a sibling node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[10,"append_new_processing_instruction_to_parent_node","","Appends a new processing instruction node to a parent node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"},{"name":"str"}],"output":null}],[10,"append_new_processing_instruction_before_sibling_node","","Appends a new processing instruction before a sibling node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"},{"name":"str"}],"output":null}],[10,"append_text_to_parent_node","","Appends a text node to a parent node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[10,"append_text_before_sibling_node","","Appends a text node before a sibling node",11,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"find_all_matching_child_nodes_depth_first_including_this_one","","",4,{"inputs":[{"name":"self"},{"name":"ourselector"},{"name":"matchuser"}],"output":{"name":"bool"}}],[11,"matches","","",4,{"inputs":[{"name":"self"},{"name":"ourselector"}],"output":{"name":"bool"}}],[11,"fmt","","",6,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"fmt","","",6,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"description","","",6,{"inputs":[{"name":"self"}],"output":{"name":"str"}}],[11,"cause","","",6,{"inputs":[{"name":"self"}],"output":{"name":"option"}}],[11,"from","","",6,{"inputs":[{"name":"context"}],"output":{"name":"htmlerror"}}],[11,"debug_fmt","","",4,{"inputs":[{"name":"self"},{"name":"w"}],"output":{"name":"result"}}],[11,"minify_to_writer","","",4,{"inputs":[{"name":"self"},{"name":"bool"},{"name":"w"}],"output":{"name":"result"}}],[11,"is_unprefixed_and_html_namespace_or_none","","",1,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"is_only_local","","",1,{"inputs":[{"name":"self"},{"name":"localname"}],"output":{"name":"bool"}}],[11,"is_only_local_of","","",1,null],[11,"can_have_children","","",1,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"text_content_should_be_escaped","","",1,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"can_collapse_whitespace","","",1,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"is_unprefixed_and_html_namespace_or_none","","",4,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"is_only_local","","",4,{"inputs":[{"name":"self"},{"name":"localname"}],"output":{"name":"bool"}}],[11,"is_only_local_of","","",4,null],[11,"can_have_children","","",4,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"text_content_should_be_escaped","","",4,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"can_collapse_whitespace","","",4,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"from_file_path_verified_and_stripped_of_comments_and_processing_instructions_and_with_a_sane_doc_type","","",4,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"from_file_path","","",4,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"verify","","",4,{"inputs":[{"name":"self"},{"name":"path"}],"output":{"name":"result"}}],[11,"recursively_strip_nodes_of_comments_and_processing_instructions_and_create_sane_doc_type","","",4,{"inputs":[{"name":"self"},{"name":"path"}],"output":{"name":"result"}}],[11,"move_node_children_to_parent_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[11,"move_node_to_parent_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[11,"move_node_before_sibling_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[11,"append_new_element_to_parent_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"qualname"},{"name":"vec"}],"output":null}],[11,"append_new_element_before_sibling_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"qualname"},{"name":"vec"}],"output":null}],[11,"append_new_comment_to_parent_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"append_new_comment_before_sibling_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"append_new_processing_instruction_to_parent_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"},{"name":"str"}],"output":null}],[11,"append_new_processing_instruction_before_sibling_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"},{"name":"str"}],"output":null}],[11,"append_text_to_parent_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"append_text_before_sibling_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"fmt","","",12,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"clone","","",12,{"inputs":[{"name":"self"}],"output":{"name":"ultraminifyinghtmlserializer"}}],[11,"new","","Creates a new writer. If creating AMP pages, set `html_head_and_body_tags_are_optional` to false. To preserve comments, set `preserve_comments` to true. To preserve processing instructions, set `preserve_processing_instructions` to true.",12,{"inputs":[{"name":"bool"},{"name":"bool"},{"name":"bool"},{"name":"w"}],"output":{"name":"self"}}],[11,"serialize_rc_dom","","Serializes a HTML document object model. `collapse_whitespace` should normally by `true`. If a `
`, ``, ``, or `` element is encountered, it is set to `false`. Output is flushed after serialization finishes.",12,{"inputs":[{"name":"self"},{"name":"rcdom"},{"name":"bool"}],"output":{"name":"result"}}],[11,"serialize_node","","Serializes a HTML document object model node. Can be called repeatedly. `collapse_whitespace` should normally by `true`. If a `
`, ``, ``, or `` element is encountered, it is set to `false`. If serializing HTML fragments, make `flush_when_serialized` true for each fragment serialized.",12,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"bool"},{"name":"bool"}],"output":{"name":"result"}}],[11,"cmp","","",1,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"ordering"}}],[11,"cmp","","",0,{"inputs":[{"name":"self"},{"name":"attribute"}],"output":{"name":"ordering"}}],[11,"hash","","",1,null],[11,"clone","","",0,{"inputs":[{"name":"self"}],"output":{"name":"attribute"}}],[11,"clone","","",1,{"inputs":[{"name":"self"}],"output":{"name":"qualname"}}],[11,"eq","","",0,{"inputs":[{"name":"self"},{"name":"attribute"}],"output":{"name":"bool"}}],[11,"ne","","",0,{"inputs":[{"name":"self"},{"name":"attribute"}],"output":{"name":"bool"}}],[11,"eq","","",1,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"ne","","",1,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"finish","","",4,{"inputs":[{"name":"self"}],"output":{"name":"rcdom"}}],[11,"parse_error","","",4,null],[11,"get_document","","",4,{"inputs":[{"name":"self"}],"output":{"name":"rc"}}],[11,"get_template_contents","","",4,{"inputs":[{"name":"self"},{"name":"rc"}],"output":{"name":"rc"}}],[11,"set_quirks_mode","","",4,null],[11,"same_node","","",4,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":{"name":"bool"}}],[11,"elem_name","","",4,{"inputs":[{"name":"self"},{"name":"rc"}],"output":{"name":"expandedname"}}],[11,"create_element","","",4,{"inputs":[{"name":"self"},{"name":"qualname"},{"name":"vec"},{"name":"elementflags"}],"output":{"name":"rc"}}],[11,"create_comment","","",4,{"inputs":[{"name":"self"},{"name":"tendril"}],"output":{"name":"rc"}}],[11,"create_pi","","",4,{"inputs":[{"name":"self"},{"name":"tendril"},{"name":"tendril"}],"output":{"name":"rc"}}],[11,"append","","",4,null],[11,"append_before_sibling","","",4,null],[11,"append_based_on_parent_node","","",4,null],[11,"append_doctype_to_document","","",4,null],[11,"add_attrs_if_missing","","",4,null],[11,"remove_from_parent","","",4,null],[11,"reparent_children","","",4,null],[11,"is_mathml_annotation_xml_integration_point","","",4,{"inputs":[{"name":"self"},{"name":"rc"}],"output":{"name":"bool"}}],[11,"fmt","","",0,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"fmt","","",1,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"default","","",4,{"inputs":[],"output":{"name":"rcdom"}}],[11,"partial_cmp","","",0,{"inputs":[{"name":"self"},{"name":"attribute"}],"output":{"name":"option"}}],[11,"lt","","",0,{"inputs":[{"name":"self"},{"name":"attribute"}],"output":{"name":"bool"}}],[11,"le","","",0,{"inputs":[{"name":"self"},{"name":"attribute"}],"output":{"name":"bool"}}],[11,"gt","","",0,{"inputs":[{"name":"self"},{"name":"attribute"}],"output":{"name":"bool"}}],[11,"ge","","",0,{"inputs":[{"name":"self"},{"name":"attribute"}],"output":{"name":"bool"}}],[11,"partial_cmp","","",1,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"option"}}],[11,"lt","","",1,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"le","","",1,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"gt","","",1,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"ge","","",1,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"new","","",1,{"inputs":[{"name":"option"},{"name":"atom"},{"name":"atom"}],"output":{"name":"qualname"}}],[11,"expanded","","",1,{"inputs":[{"name":"self"}],"output":{"name":"expandedname"}}]],"paths":[[3,"Attribute"],[3,"QualName"],[3,"Node"],[4,"NodeData"],[3,"RcDom"],[8,"TreeSink"],[4,"HtmlError"],[8,"Selectable"],[8,"Minify"],[8,"NodeExt"],[8,"QualNameExt"],[8,"RcDomExt"],[3,"UltraMinifyingHtmlSerializer"]]};
initSearch(searchIndex);