MCPcopy Create free account
hub / github.com/d0iasm/saba / Element

Class Element

core/src/renderer/dom/node.rs:235–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233/// https://dom.spec.whatwg.org/#interface-element
234#[derive(Debug, Clone, PartialEq, Eq)]
235pub struct Element {
236 kind: ElementKind,
237 attributes: Vec<Attribute>,
238}
239
240impl Element {
241 pub fn new(element_name: &str, attributes: Vec<Attribute>) -> Self {

Callers 5

get_target_element_nodeFunction · 0.85
test_element_nodesFunction · 0.85
test_different_nodesFunction · 0.85
test_different_elementsFunction · 0.85
create_elementMethod · 0.85

Calls

no outgoing calls

Tested by 3

test_element_nodesFunction · 0.68
test_different_nodesFunction · 0.68
test_different_elementsFunction · 0.68