Queries every feature from hardware individually. This will update the internal state of the features with the current hardware values.
(&self)
| 101 | /// Queries every feature from hardware individually. |
| 102 | /// This will update the internal state of the features with the current hardware values. |
| 103 | pub fn read_state_from_device(&self) { |
| 104 | for feature in &self.features { |
| 105 | feature.read_from_device(); |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | /// Lookup a feature by ID. |
| 110 | pub fn feature(&self, id: FeatureId) -> &Feature { |
no test coverage detected