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

Method for_node

css-inline/src/html/serializer.rs:221–233  ·  view source on GitHub ↗
(&self, node: NodeId)

Source from the content-addressed store, hash-verified

219 }
220 #[inline]
221 fn for_node(&self, node: NodeId) -> Sink<'a> {
222 Sink::new(
223 self.document,
224 node,
225 self.keep_style_tags,
226 self.keep_link_tags,
227 self.minify_css,
228 self.at_rules,
229 self.inlining_mode,
230 self.apply_width_attributes,
231 self.apply_height_attributes,
232 )
233 }
234 #[inline]
235 fn data(&self) -> &NodeData {
236 &self.document[self.node].data

Callers 1

serialize_childrenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected