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,"Parser","","An HTML parser, ready to receive Unicode input through the `tendril::TendrilSink` trait’s methods.",null,null],[12,"tokenizer","","",1,null],[12,"input_buffer","","",1,null],[3,"QualName","","A name with a namespace. Fully qualified name. Used to depict names of tags and attributes.",null,null],[12,"prefix","","",2,null],[12,"ns","","",2,null],[12,"local","","",2,null],[3,"Node","","A DOM node.",null,null],[12,"parent","","Parent node.",3,null],[12,"children","","Child nodes of this node.",3,null],[12,"data","","Represents this node's data.",3,null],[4,"NodeData","","The different kinds of nodes in the DOM.",null,null],[13,"Document","","The `Document` itself.",4,null],[13,"Doctype","","A `DOCTYPE` with name, public id, and system id.",4,null],[12,"name","html5ever_ext::NodeData","",4,null],[12,"public_id","","",4,null],[12,"system_id","","",4,null],[13,"Text","html5ever_ext","A text node.",4,null],[12,"contents","html5ever_ext::NodeData","",4,null],[13,"Comment","html5ever_ext","A comment.",4,null],[12,"contents","html5ever_ext::NodeData","",4,null],[13,"Element","html5ever_ext","An element with attributes.",4,null],[12,"name","html5ever_ext::NodeData","",4,null],[12,"attrs","","",4,null],[12,"template_contents","","For HTML elements, the template contents https://html.spec.whatwg.org/multipage/#template-contents",4,null],[12,"mathml_annotation_xml_integration_point","","https://html.spec.whatwg.org/multipage/#html-integration-point",4,null],[13,"ProcessingInstruction","html5ever_ext","A Processing instruction.",4,null],[12,"target","html5ever_ext::NodeData","",4,null],[12,"contents","","",4,null],[3,"RcDom","html5ever_ext","The DOM itself; the result of parsing.",null,null],[12,"document","","The `Document` itself.",5,null],[12,"errors","","Errors that occurred during parsing.",5,null],[12,"quirks_mode","","The document's quirks mode.",5,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.",6,null],[16,"Output","","The overall result of parsing.",6,null],[10,"finish","","Consume this sink and return the overall result of parsing.",6,null],[10,"parse_error","","Signal a parse error.",6,null],[10,"get_document","","Get a handle to the `Document` node.",6,null],[10,"elem_name","","What is the name of this element?",6,null],[10,"create_element","","Create an element.",6,null],[10,"create_comment","","Create a comment node.",6,null],[10,"create_pi","","Create a Processing Instruction node.",6,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.",6,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.",6,null],[10,"append_doctype_to_document","","Append a `DOCTYPE` element to the `Document` node.",6,null],[11,"mark_script_already_started","","Mark a HTML `` as this will cause a parse error.",11,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[10,"can_collapse_whitespace","","Can this element's descendant text nodes have leading, trailing and interstitial whitespace collapsed?",11,{"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.",12,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[10,"from_file_path","","Creates an instance of an HTML DOM from a file path",12,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[10,"from_bytes_verified_and_stripped_of_comments_and_processing_instructions_and_with_a_sane_doc_type","","Creates an instance of an HTML DOM from bytes which is verified, stripped and with a sane DocType.",12,null],[10,"from_bytes","","Creates an instance of an HTML DOM from bytes",12,null],[10,"verify","","Verify that this HTML DOM is valid.",12,{"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).",12,{"inputs":[{"name":"self"},{"name":"path"}],"output":{"name":"result"}}],[10,"move_node_children_to_parent_node","","Moves a node's children to another parent node",12,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[10,"move_node_to_parent_node","","Moves an existing element node to a parent node",12,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[10,"move_node_before_sibling_node","","Moves an existing element before a sibling node",12,{"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",12,{"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",12,{"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",12,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[10,"append_new_comment_before_sibling_node","","Appends a new comment before a sibling node",12,{"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",12,{"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",12,{"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",12,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[10,"append_text_before_sibling_node","","Appends a text node before a sibling node",12,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"find_all_matching_child_nodes_depth_first_including_this_one","","",5,{"inputs":[{"name":"self"},{"name":"ourselector"},{"name":"matchuser"}],"output":{"name":"bool"}}],[11,"matches","","",5,{"inputs":[{"name":"self"},{"name":"ourselector"}],"output":{"name":"bool"}}],[11,"fmt","","",7,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"fmt","","",7,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"description","","",7,{"inputs":[{"name":"self"}],"output":{"name":"str"}}],[11,"cause","","",7,{"inputs":[{"name":"self"}],"output":{"name":"option"}}],[11,"from","","",7,{"inputs":[{"name":"context"}],"output":{"name":"htmlerror"}}],[11,"debug_fmt","","",5,{"inputs":[{"name":"self"},{"name":"w"}],"output":{"name":"result"}}],[11,"minify_to_writer","","",5,{"inputs":[{"name":"self"},{"name":"bool"},{"name":"w"}],"output":{"name":"result"}}],[11,"is_unprefixed_and_html_namespace_or_none","","",2,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"is_only_local","","",2,{"inputs":[{"name":"self"},{"name":"localname"}],"output":{"name":"bool"}}],[11,"is_only_local_of","","",2,null],[11,"can_have_children","","",2,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"text_content_should_be_escaped","","",2,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"can_collapse_whitespace","","",2,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"is_unprefixed_and_html_namespace_or_none","","",5,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"is_only_local","","",5,{"inputs":[{"name":"self"},{"name":"localname"}],"output":{"name":"bool"}}],[11,"is_only_local_of","","",5,null],[11,"can_have_children","","",5,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"text_content_should_be_escaped","","",5,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"can_collapse_whitespace","","",5,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"from_file_path_verified_and_stripped_of_comments_and_processing_instructions_and_with_a_sane_doc_type","","",5,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"from_file_path","","",5,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"from_bytes_verified_and_stripped_of_comments_and_processing_instructions_and_with_a_sane_doc_type","","",5,null],[11,"from_bytes","","",5,null],[11,"verify","","",5,{"inputs":[{"name":"self"},{"name":"path"}],"output":{"name":"result"}}],[11,"recursively_strip_nodes_of_comments_and_processing_instructions_and_create_sane_doc_type","","",5,{"inputs":[{"name":"self"},{"name":"path"}],"output":{"name":"result"}}],[11,"move_node_children_to_parent_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[11,"move_node_to_parent_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[11,"move_node_before_sibling_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":null}],[11,"append_new_element_to_parent_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"qualname"},{"name":"vec"}],"output":null}],[11,"append_new_element_before_sibling_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"qualname"},{"name":"vec"}],"output":null}],[11,"append_new_comment_to_parent_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"append_new_comment_before_sibling_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"append_new_processing_instruction_to_parent_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"},{"name":"str"}],"output":null}],[11,"append_new_processing_instruction_before_sibling_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"},{"name":"str"}],"output":null}],[11,"append_text_to_parent_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"append_text_before_sibling_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"str"}],"output":null}],[11,"fmt","","",13,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"clone","","",13,{"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.",13,{"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.",13,{"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.",13,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"bool"},{"name":"bool"}],"output":{"name":"result"}}],[11,"cmp","","",2,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"ordering"}}],[11,"cmp","","",0,{"inputs":[{"name":"self"},{"name":"attribute"}],"output":{"name":"ordering"}}],[11,"hash","","",2,null],[11,"clone","","",0,{"inputs":[{"name":"self"}],"output":{"name":"attribute"}}],[11,"clone","","",2,{"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","","",2,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"ne","","",2,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"finish","","",5,{"inputs":[{"name":"self"}],"output":{"name":"rcdom"}}],[11,"parse_error","","",5,null],[11,"get_document","","",5,{"inputs":[{"name":"self"}],"output":{"name":"rc"}}],[11,"get_template_contents","","",5,{"inputs":[{"name":"self"},{"name":"rc"}],"output":{"name":"rc"}}],[11,"set_quirks_mode","","",5,null],[11,"same_node","","",5,{"inputs":[{"name":"self"},{"name":"rc"},{"name":"rc"}],"output":{"name":"bool"}}],[11,"elem_name","","",5,{"inputs":[{"name":"self"},{"name":"rc"}],"output":{"name":"expandedname"}}],[11,"create_element","","",5,{"inputs":[{"name":"self"},{"name":"qualname"},{"name":"vec"},{"name":"elementflags"}],"output":{"name":"rc"}}],[11,"create_comment","","",5,{"inputs":[{"name":"self"},{"name":"tendril"}],"output":{"name":"rc"}}],[11,"create_pi","","",5,{"inputs":[{"name":"self"},{"name":"tendril"},{"name":"tendril"}],"output":{"name":"rc"}}],[11,"append","","",5,null],[11,"append_before_sibling","","",5,null],[11,"append_based_on_parent_node","","",5,null],[11,"append_doctype_to_document","","",5,null],[11,"add_attrs_if_missing","","",5,null],[11,"remove_from_parent","","",5,null],[11,"reparent_children","","",5,null],[11,"is_mathml_annotation_xml_integration_point","","",5,{"inputs":[{"name":"self"},{"name":"rc"}],"output":{"name":"bool"}}],[11,"fmt","","",0,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"fmt","","",2,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"default","","",5,{"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","","",2,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"option"}}],[11,"lt","","",2,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"le","","",2,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"gt","","",2,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"ge","","",2,{"inputs":[{"name":"self"},{"name":"qualname"}],"output":{"name":"bool"}}],[11,"process","","",1,null],[11,"error","","",1,null],[11,"finish","","",1,null],[11,"from_utf8","","Wrap this parser into a `TendrilSink` that accepts UTF-8 bytes.",1,{"inputs":[{"name":"self"}],"output":{"name":"utf8lossydecoder"}}],[11,"new","","",2,{"inputs":[{"name":"option"},{"name":"atom"},{"name":"atom"}],"output":{"name":"qualname"}}],[11,"expanded","","",2,{"inputs":[{"name":"self"}],"output":{"name":"expandedname"}}]],"paths":[[3,"Attribute"],[3,"Parser"],[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);