Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csskit/csskit
/ deref
Method
deref
crates/css_lexer/src/cow.rs:21–23 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
19
impl<
'a, A: Allocator> core::ops::Deref for CowStr<'
a, A> {
20
type Target = str;
21
fn deref(&self) -> &Self::Target {
22
self.as_str()
23
}
24
}
25
26
impl<
'a, A: Allocator> AsRef<str> for CowStr<'
a, A> {
Callers
6
to_variant_name
Method · 0.45
to_types
Method · 0.45
is_all_keywords
Method · 0.45
generate_additional_types
Method · 0.45
generate_definition
Method · 0.45
optimize
Method · 0.45
Calls
1
as_str
Method · 0.45
Tested by
no test coverage detected