Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csskit/csskit
/ as_ref
Method
as_ref
crates/css_lexer/src/cow.rs:27–29 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
25
26
impl<
'a, A: Allocator> AsRef<str> for CowStr<'
a, A> {
27
fn as_ref(&self) -> &str {
28
self.as_str()
29
}
30
}
31
32
impl<
'a, A: Allocator> PartialEq<&str> for CowStr<'
a, A> {
Callers
15
language_server_command
Method · 0.80
rgb_relative_params_to_chromashift
Function · 0.80
hsl_relative_params_to_chromashift
Function · 0.80
to_chromashift
Method · 0.80
to_chromashift
Method · 0.80
visit_color_mix_function
Method · 0.80
should_skip_visit
Method · 0.80
type_attributes
Method · 0.80
is_all_keywords
Method · 0.80
generate_additional_types
Method · 0.80
generate_definition
Method · 0.80
to_span
Method · 0.80
Calls
1
as_str
Method · 0.45
Tested by
no test coverage detected