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

Method is_insertion

crates/css_parse/src/cursor_overlay_sink.rs:29–31  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

27 }
28
29 pub fn is_insertion(&self) -> bool {
30 matches!(self.kind, OverlayKind::InsertBefore | OverlayKind::InsertAfter)
31 }
32
33 pub fn kind(&self) -> OverlayKind {
34 self.kind

Callers 2

has_overlayMethod · 0.80
flush_segments_up_toMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected