Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brave/kuchikiki
/ functions
Functions
145 in github.com/brave/kuchikiki
⨍
Functions
145
◇
Types & classes
32
↓ 21 callers
Method
clone
(&self)
src/node_data_ref.rs:96
↓ 11 callers
Method
as_node
(&self)
src/node_data_ref.rs:72
↓ 11 callers
Method
parent
(&self)
src/tree.rs:350
↓ 9 callers
Function
parse_html
Parse an HTML document with html5ever and the default configuration.
src/parser.rs:23
↓ 8 callers
Method
upgrade
(&self)
src/cell_extras.rs:82
↓ 7 callers
Method
first_child
(&self)
src/tree.rs:356
↓ 5 callers
Method
as_ref
(&self)
src/select.rs:43
↓ 5 callers
Method
detach
Detach a node from its parent and siblings. Children are not affected. To remove a node and its descendants, detach it and drop any strong reference
src/tree.rs:381
↓ 5 callers
Method
last_child
(&self)
src/tree.rs:362
↓ 5 callers
Method
select
(&self, selectors: &str)
src/iter.rs:159
↓ 4 callers
Method
children
(&self)
src/iter.rs:102
↓ 4 callers
Method
clone_inner
(&self)
src/cell_extras.rs:87
↓ 4 callers
Method
elements
(self)
src/iter.rs:428
↓ 4 callers
Method
get
Like IndexMap::get
src/attributes.rs:46
↓ 4 callers
Method
next
(&mut self)
src/iter.rs:222
↓ 4 callers
Method
take_if_unique_strong
(&self)
src/cell_extras.rs:101
↓ 3 callers
Method
append
(&mut self, parent: &NodeRef, child: NodeOrText<NodeRef>)
src/parser.rs:154
↓ 3 callers
Method
as_element
(&self)
src/tree.rs:305
↓ 3 callers
Method
as_text
(&self)
src/tree.rs:314
↓ 3 callers
Method
to_css
(&self, dest: &mut W)
src/select.rs:28
↓ 2 callers
Method
data
(&self)
src/tree.rs:299
↓ 2 callers
Method
descendants
(&self)
src/iter.rs:129
↓ 2 callers
Method
eq
(&self, other: &NodeRef)
src/tree.rs:117
↓ 2 callers
Method
inclusive_descendants
(&self)
src/iter.rs:119
↓ 2 callers
Method
insert_before
Insert a new sibling before this node. The new sibling is detached from its previous position.
src/tree.rs:477
↓ 2 callers
Method
matches
(&self, element: &NodeDataRef<ElementData>)
src/select.rs:374
↓ 2 callers
Function
parse_fragment
Parse an HTML fragment with html5ever and the default configuration.
src/parser.rs:41
↓ 2 callers
Method
previous_sibling
(&self)
src/tree.rs:368
↓ 2 callers
Method
serialize
( &self, serializer: &mut S, traversal_scope: TraversalScope, )
src/serializer.rs:13
↓ 2 callers
Method
text_nodes
(self)
src/iter.rs:434
↓ 1 callers
Method
append
Append a new child to this node, after existing children. The new child is detached from its previous position.
src/tree.rs:416
↓ 1 callers
Method
append_before_sibling
(&mut self, sibling: &NodeRef, child: NodeOrText<NodeRef>)
src/parser.rs:170
↓ 1 callers
Method
as_document
(&self)
src/tree.rs:341
↓ 1 callers
Method
contains
Like IndexMap::contains
src/attributes.rs:41
↓ 1 callers
Method
entry
Like IndexMap::entry
src/attributes.rs:60
↓ 1 callers
Method
filter
(&self, iter: I)
src/select.rs:380
↓ 1 callers
Method
following_siblings
(&self)
src/iter.rs:87
↓ 1 callers
Method
is_empty
(&self)
src/select.rs:205
↓ 1 callers
Method
next_sibling
(&self)
src/tree.rs:374
↓ 1 callers
Function
parse_fragment_with_options
Parse an HTML fragment with html5ever with custom configuration.
src/parser.rs:46
↓ 1 callers
Function
parse_html_with_options
Parse an HTML document with html5ever with custom configuration.
src/parser.rs:28
↓ 1 callers
Method
preceding_siblings
(&self)
src/iter.rs:49
↓ 1 callers
Method
select_first
(&self, selectors: &str)
src/iter.rs:165
↓ 1 callers
Method
serialize_to_file
(&self, path: P)
src/serializer.rs:102
↓ 1 callers
Method
specificity
Return the specificity of this selector.
src/select.rs:405
↓ 1 callers
Method
traverse
(&self)
src/iter.rs:146
↓ 1 callers
Method
traverse_inclusive
(&self)
src/iter.rs:136
Method
add_attrs_if_missing
(&mut self, target: &NodeRef, attrs: Vec<Attribute>)
src/parser.rs:197
Method
ancestors
(&self)
src/iter.rs:20
Method
append_based_on_parent_node
( &mut self, element: &NodeRef, prev_element: &NodeRef, child: NodeOrText<Node
src/parser.rs:245
Method
append_doctype_to_document
( &mut self, name: StrTendril, public_id: StrTendril, system_id: StrTendril,
src/parser.rs:186
Method
as_comment
(&self)
src/tree.rs:323
Method
as_doctype
(&self)
src/tree.rs:332
Method
attr_matches
( &self, ns: &NamespaceConstraint<&Namespace>, local_name: &CssLocalName, oper
src/select.rs:293
Method
comments
(self)
src/iter.rs:440
Method
compile
(s: &str)
src/select.rs:364
Method
containing_shadow_host
(&self)
src/select.rs:188
Method
create_comment
(&mut self, text: StrTendril)
src/parser.rs:144
Method
create_element
( &mut self, name: QualName, attrs: Vec<Attribute>, _flags: ElementFlags,
src/parser.rs:121
Method
create_pi
(&mut self, target: StrTendril, data: StrTendril)
src/parser.rs:149
Method
default
()
src/parser.rs:72
Method
deref
(&self)
src/tree.rs:109
Method
deref
(&self)
src/node_data_ref.rs:80
Method
drop
(&mut self)
src/tree.rs:156
Method
elem_name
(&self, target: &'a NodeRef)
src/parser.rs:116
Method
eq
(&self, other: &Self)
src/node_data_ref.rs:88
Method
finish
(self)
src/parser.rs:83
Method
fmt
(&self, f: &mut fmt::Formatter)
src/select.rs:419
Method
fmt
(&self, f: &mut fmt::Formatter)
src/serializer.rs:77
Method
fmt
(&self, f: &mut fmt::Formatter)
src/tree.rs:136
Method
fmt
(&self, f: &mut fmt::Formatter)
src/node_data_ref.rs:106
Method
from
(value: &'a str)
src/select.rs:37
Method
from_str
(s: &str)
src/select.rs:413
Method
get_document
(&mut self)
src/parser.rs:97
Method
get_mut
Like IndexMap::get_mut
src/attributes.rs:53
Method
get_template_contents
(&mut self, target: &NodeRef)
src/parser.rs:236
Method
has_class
(&self, name: &CssLocalName, case_sensitivity: CaseSensitivity)
src/select.rs:280
Method
has_id
(&self, id: &CssLocalName, case_sensitivity: CaseSensitivity)
src/select.rs:270
Method
has_local_name
(&self, name: &CssLocalName)
src/select.rs:227
Method
has_namespace
(&self, namespace: &Namespace)
src/select.rs:231
Method
imported_part
(&self, _: &CssLocalName)
src/select.rs:241
Method
inclusive_ancestors
(&self)
src/iter.rs:14
Method
inclusive_following_siblings
(&self)
src/iter.rs:65
Method
inclusive_preceding_siblings
(&self)
src/iter.rs:26
Method
insert
Like IndexMap::insert
src/attributes.rs:65
Method
insert_after
Insert a new sibling after this node. The new sibling is detached from its previous position.
src/tree.rs:453
Method
into_comment_ref
(self)
src/node_data_ref.rs:21
Method
into_doctype_ref
(self)
src/node_data_ref.rs:27
Method
into_document_ref
(self)
src/node_data_ref.rs:33
Method
into_element_ref
(self)
src/node_data_ref.rs:9
Method
into_text_ref
(self)
src/node_data_ref.rs:15
Method
is_active_or_hover
(&self)
src/select.rs:122
Method
is_html_element_in_html_document
(&self)
src/select.rs:221
Method
is_html_slot_element
(&self)
src/select.rs:180
Method
is_link
(&self)
src/select.rs:256
Method
is_none
(&self)
src/cell_extras.rs:70
Method
is_part
(&self, _name: &CssLocalName)
src/select.rs:236
Method
is_pseudo_element
(&self)
src/select.rs:246
Method
is_root
(&self)
src/select.rs:213
Method
is_same_type
(&self, other: &Self)
src/select.rs:251
next →
1–100 of 145, ranked by callers