MCPcopy Index your code
hub / github.com/RizeCrime/linuxblaster_control / feature

Method feature

src/lib.rs:110–115  ·  view source on GitHub ↗

Lookup a feature by ID.

(&self, id: FeatureId)

Source from the content-addressed store, hash-verified

108
109 /// Lookup a feature by ID.
110 pub fn feature(&self, id: FeatureId) -> &Feature {
111 self.features
112 .iter()
113 .find(|feature| feature.id == id)
114 .unwrap_or_else(|| panic!("Feature {:?} not registered", id))
115 }
116
117 /// Managed Write:
118 /// enable dependencies, write, confirm, re-query dependents.

Callers 5

set_featureMethod · 0.80
apply_profileMethod · 0.80
nav_paneFunction · 0.80
eq_featuresFunction · 0.80
sbx_featuresFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected