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

Method is_block

crates/css_lexer/src/comment_style.rs:67–69  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

65impl CommentStyle {
66 #[inline]
67 pub fn is_block(&self) -> bool {
68 matches!(self, Self::Block | Self::BlockStar | Self::BlockBang | Self::BlockPound | Self::BlockHeading)
69 }
70
71 #[inline]
72 pub fn is_non_standard(&self) -> bool {

Callers 1

trailing_lenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected