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

Method index_mut

css-inline/src/html/document.rs:440–442  ·  view source on GitHub ↗
(&mut self, id: NodeId)

Source from the content-addressed store, hash-verified

438impl std::ops::IndexMut<NodeId> for Document {
439 #[inline]
440 fn index_mut(&mut self, id: NodeId) -> &mut Node {
441 &mut self.nodes[id.get()]
442 }
443}
444
445/// Extract a CSS identifier (class/id/tag name) from a byte slice.

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected