var searchIndex = {}; searchIndex["scraper"] = {"doc":"HTML parsing and querying with CSS selectors.","items":[[0,"html","scraper","HTML documents and fragments.",null,null],[3,"Html","scraper::html","An HTML tree.",null,null],[12,"errors","","Parse errors.",0,null],[12,"quirks_mode","","The quirks mode.",0,null],[12,"tree","","The node tree.",0,null],[3,"Select","","Iterator over elements matching a selector.",null,null],[11,"finish","","",0,null],[11,"parse_error","","",0,null],[11,"set_quirks_mode","","",0,null],[11,"get_document","","",0,null],[11,"same_node","","",0,null],[11,"elem_name","","",0,null],[11,"create_element","","",0,null],[11,"create_comment","","",0,null],[11,"append_doctype_to_document","","",0,null],[11,"append","","",0,null],[11,"append_before_sibling","","",0,null],[11,"remove_from_parent","","",0,null],[11,"reparent_children","","",0,null],[11,"add_attrs_if_missing","","",0,null],[11,"get_template_contents","","",0,null],[11,"mark_script_already_started","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"new_document","","Creates an empty HTML document.",0,{"inputs":[],"output":{"name":"self"}}],[11,"new_fragment","","Creates an empty HTML fragment.",0,{"inputs":[],"output":{"name":"self"}}],[11,"parse_document","","Parses a string of HTML as a document.",0,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"parse_fragment","","Parses a string of HTML as a fragment.",0,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"select","","Returns an iterator over elements matching a selector.",0,null],[11,"fmt","","",1,null],[11,"next","","",1,null],[0,"node","scraper","HTML nodes.",null,null],[3,"Doctype","scraper::node","A doctype.",null,null],[12,"name","","The doctype name.",2,null],[12,"public_id","","The doctype public ID.",2,null],[12,"system_id","","The doctype system ID.",2,null],[3,"Comment","","An HTML comment.",null,null],[12,"comment","","The comment text.",3,null],[3,"Text","","HTML text.",null,null],[12,"text","","The text.",4,null],[3,"Element","","An HTML element.",null,null],[12,"name","","The element name.",5,null],[12,"id","","The element ID.",5,null],[12,"classes","","The element classes.",5,null],[12,"attrs","","The element attributes.",5,null],[3,"Classes","","Iterator over classes.",null,null],[3,"Attrs","","Iterator over attributes.",null,null],[4,"Node","","An HTML node.",null,null],[13,"Document","","The document root.",6,null],[13,"Fragment","","The fragment root.",6,null],[13,"Doctype","","A doctype.",6,null],[13,"Comment","","A comment.",6,null],[13,"Text","","Text.",6,null],[13,"Element","","An element.",6,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"clone","","",6,null],[11,"is_document","","Returns true if node is the document root.",6,null],[11,"is_fragment","","Returns true if node is the fragment root.",6,null],[11,"is_doctype","","Returns true if node is a doctype.",6,null],[11,"is_comment","","Returns true if node is a comment.",6,null],[11,"is_text","","Returns true if node is text.",6,null],[11,"is_element","","Returns true if node is an element.",6,null],[11,"as_doctype","","Returns self as a doctype.",6,null],[11,"as_comment","","Returns self as a comment.",6,null],[11,"as_text","","Returns self as text.",6,null],[11,"as_element","","Returns self as an element.",6,null],[11,"fmt","","",6,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"clone","","",2,null],[11,"name","","Returns the doctype name.",2,null],[11,"public_id","","Returns the doctype public ID.",2,null],[11,"system_id","","Returns the doctype system ID.",2,null],[11,"fmt","","",2,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"clone","","",3,null],[11,"deref","","",3,null],[11,"fmt","","",3,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"clone","","",4,null],[11,"deref","","",4,null],[11,"fmt","","",4,null],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"clone","","",5,null],[11,"name","","Returns the element name.",5,null],[11,"id","","Returns the element ID.",5,null],[11,"has_class","","Returns true if element has the class.",5,null],[11,"classes","","Returns an iterator over the element's classes.",5,null],[11,"attr","","Returns the value of an attribute.",5,null],[11,"attrs","","Returns an iterator over the element's attributes.",5,null],[11,"clone","","",7,null],[11,"next","","",7,null],[11,"clone","","",8,null],[11,"next","","",8,null],[11,"fmt","","",5,null],[0,"element_ref","scraper","Element references.",null,null],[3,"ElementRef","scraper::element_ref","Wrapper around a reference to an element node.",null,null],[3,"Select","","Iterator over descendent elements matching a selector.",null,null],[3,"Text","","Iterator over descendent text nodes.",null,null],[11,"parent_element","","",9,null],[11,"first_child_element","","",9,null],[11,"last_child_element","","",9,null],[11,"prev_sibling_element","","",9,null],[11,"next_sibling_element","","",9,null],[11,"is_html_element_in_html_document","","",9,null],[11,"get_local_name","","",9,null],[11,"get_namespace","","",9,null],[11,"match_non_ts_pseudo_class","","",9,null],[11,"get_id","","",9,null],[11,"has_class","","",9,null],[11,"match_attr","","",9,null],[11,"is_empty","","",9,null],[11,"is_root","","",9,null],[11,"each_class","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"clone","","",9,null],[11,"fmt","","",9,null],[11,"wrap","","Wraps a `NodeRef` only if it references a `Node::Element`.",9,{"inputs":[{"name":"noderef"}],"output":{"name":"option"}}],[11,"value","","Returns the `Element` referenced by `self`.",9,null],[11,"select","","Returns an iterator over descendent elements matching a selector.",9,null],[11,"text","","Returns an iterator over descendent text nodes.",9,null],[11,"deref","","",9,null],[11,"clone","","",10,null],[11,"fmt","","",10,null],[11,"next","","",10,null],[11,"clone","","",11,null],[11,"fmt","","",11,null],[11,"next","","",11,null],[0,"selector","scraper","CSS selectors.",null,null],[3,"Selector","scraper::selector","Wrapper around CSS selectors.",null,null],[12,"selectors","","The CSS selectors.",12,null],[3,"Simple","","A simple implementation of `SelectorImpl` with no pseudo-classes or pseudo-elements.",null,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"clone","","",12,null],[11,"fmt","","",12,null],[11,"parse","","Parses a CSS selector group.",12,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"matches","","Returns true if the element matches this selector.",12,null],[11,"eq","","",13,null],[11,"clone","","",13,null],[11,"fmt","","",13,null]],"paths":[[3,"Html"],[3,"Select"],[3,"Doctype"],[3,"Comment"],[3,"Text"],[3,"Element"],[4,"Node"],[3,"Classes"],[3,"Attrs"],[3,"ElementRef"],[3,"Select"],[3,"Text"],[3,"Selector"],[3,"Simple"]]}; initSearch(searchIndex);