MCPcopy Create free account
hub / github.com/csskit/csskit / by_feature_name

Method by_feature_name

crates/css_feature_data/src/css_feature.rs:47–49  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

45
46impl CSSFeature {
47 pub fn by_feature_name(name: &str) -> Option<&'static CSSFeature> {
48 CSS_FEATURES.get(name)
49 }
50
51 pub fn by_property_name(name: &str) -> Option<&'static CSSFeature> {
52 CSS_FEATURES.get(&format!("css.properties.{name}"))

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected