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

Method append

crates/css_parse/src/cursor_expanded_write_sink.rs:57–59  ·  view source on GitHub ↗
(&mut self, c: Cursor)

Source from the content-addressed store, hash-verified

55
56impl<'a, T: SourceCursorSink<'a>> CursorSink for CursorExpandedWriteSink<'a, T> {
57 fn append(&mut self, c: Cursor) {
58 self.write(SourceCursor::from(c, c.str_slice(self.source_text)))
59 }
60}
61
62impl<'a, T: SourceCursorSink<'a>> SourceCursorSink<'a> for CursorExpandedWriteSink<'a, T> {

Callers 1

writeMethod · 0.45

Calls 2

str_sliceMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected