Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csskit/csskit
/ unpack_option
Method
unpack_option
crates/csskit_derives/src/parse.rs:28–30 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
26
}
27
28
fn unpack_option(&self) -> Self {
29
option_inner(self).cloned().unwrap_or_else(|| self.clone())
30
}
31
}
32
33
#[derive(Debug, Default, FromAttributes)]
Callers
7
parse_keyword_tokens
Method · 0.80
parse_normal_tokens
Method · 0.80
atom_match_arm
Method · 0.80
atom_parse_if_peek
Method · 0.80
peek_tokens
Method · 0.80
render
Method · 0.80
discriminator
Method · 0.80
Calls
2
option_inner
Function · 0.85
clone
Method · 0.80
Tested by
no test coverage detected