Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csskit/csskit
/ new
Method
new
crates/css_value_definition_parser/src/lib.rs:88–90 ·
view source on GitHub ↗
(str: &str, range: DefRange)
Source
from the content-addressed store, hash-verified
86
87
impl DefType {
88
pub fn new(str: &str, range: DefRange) -> Self {
89
DefType { ident: DefIdent(str.to_string()), range }
90
}
91
92
pub fn ident_str(&self) -> &str {
93
self.ident.0.as_str()
Callers
nothing calls this directly
Calls
1
DefIdent
Class · 0.85
Tested by
no test coverage detected