Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csskit/csskit
/ to_str
Method
to_str
crates/css_lexer/src/dyn_atom_registry.rs:247–253 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
245
}
246
247
fn to_str(self) -> &'static str {
248
match self {
249
Self::None =>
""
,
250
Self::Px =>
"px"
,
251
Self::Rem =>
"rem"
,
252
}
253
}
254
255
fn len(&self) -> u32 {
256
self.to_str().len() as u32
Callers
15
get_files
Function · 0.80
test_all_vendor_atoms_have_correct_prefix
Function · 0.80
popular_snapshots
Function · 0.80
get_files
Function · 0.80
get_files
Function · 0.80
atom_to_str
Method · 0.80
bits_to_str
Method · 0.80
len
Method · 0.80
bits_to_str
Method · 0.80
popular_snapshots
Function · 0.80
get_css_files
Function · 0.80
get_query_files
Function · 0.80
Calls
no outgoing calls
Tested by
3
test_all_vendor_atoms_have_correct_prefix
Function · 0.64
popular_snapshots
Function · 0.64
popular_snapshots
Function · 0.64