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

Method append

crates/css_parse/src/cursor_compact_write_sink.rs:110–112  ·  view source on GitHub ↗
(&mut self, c: Cursor)

Source from the content-addressed store, hash-verified

108
109impl<'a, T: SourceCursorSink<'a>> CursorSink for CursorCompactWriteSink<'a, T> {
110 fn append(&mut self, c: Cursor) {
111 self.write(SourceCursor::from(c, c.str_slice(self.source_text)))
112 }
113}
114
115impl<'a, T: SourceCursorSink<'a>> SourceCursorSink<'a> for CursorCompactWriteSink<'a, T> {

Callers 2

emitMethod · 0.45
writeMethod · 0.45

Calls 2

str_sliceMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected