Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csskit/csskit
/ visit_self
Method
visit_self
crates/csskit_derives/src/visitable.rs:23–25 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
21
22
impl VisitStyle {
23
pub fn visit_self(&self) -> bool {
24
matches!(self, Self::All | Self::OnlySelf)
25
}
26
pub fn visit_children(&self) -> bool {
27
matches!(self, Self::All | Self::OnlyChildren)
28
}
Callers
1
derive
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected