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

Method value

src/features.rs:447–449  ·  view source on GitHub ↗

Returns the cached value. No hardware I/O.

(&self)

Source from the content-addressed store, hash-verified

445
446 /// Returns the cached value. No hardware I/O.
447 pub fn value(&self) -> f32 {
448 *self.value.lock().unwrap()
449 }
450
451 /// Returns the bool interpretation of a Toggle feature's cached value.
452 /// Panics if the value is not exactly 0.0 or 1.0 as a sanity check;

Callers 5

as_boolMethod · 0.80
set_featureMethod · 0.80
apply_profileMethod · 0.80
eq_featuresFunction · 0.80
sbx_featuresFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected