MCPcopy 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_filesFunction · 0.80
popular_snapshotsFunction · 0.80
get_filesFunction · 0.80
get_filesFunction · 0.80
atom_to_strMethod · 0.80
bits_to_strMethod · 0.80
lenMethod · 0.80
bits_to_strMethod · 0.80
popular_snapshotsFunction · 0.80
get_css_filesFunction · 0.80
get_query_filesFunction · 0.80

Calls

no outgoing calls

Tested by 3

popular_snapshotsFunction · 0.64
popular_snapshotsFunction · 0.64