MCPcopy Create free account
hub / github.com/csskit/csskit / to_cursors

Method to_cursors

crates/css_parse/src/syntax/declaration.rs:146–152  ·  view source on GitHub ↗
(&self, s: &mut impl CursorSink)

Source from the content-addressed store, hash-verified

144 M: NodeMetadata,
145{
146 fn to_cursors(&self, s: &mut impl CursorSink) {
147 ToCursors::to_cursors(&self.name, s);
148 ToCursors::to_cursors(&self.colon, s);
149 ToCursors::to_cursors(&self.value, s);
150 ToCursors::to_cursors(&self.important, s);
151 ToCursors::to_cursors(&self.semicolon, s);
152 }
153}
154
155impl<'a, V, M> ToSpan for Declaration<'a, V, M>

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected