MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / attributes

Method attributes

css-inline/src/html/element.rs:47–49  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

45 /// Attributes of the element.
46 #[inline]
47 pub(crate) fn attributes(&self) -> &Attributes {
48 &self.data.attributes
49 }
50 /// A reference to the element data.
51 #[inline]
52 pub(crate) fn data(&self) -> &'a ElementData {

Callers 5

attr_matchesMethod · 0.80
is_linkMethod · 0.80
has_idMethod · 0.80
has_classMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected