(&self)
| 71 | } |
| 72 | |
| 73 | pub fn peripherals(&self) -> Vec<PeripheralType> { |
| 74 | self.peripherals |
| 75 | .iter() |
| 76 | .map(|val| val.value().clone()) |
| 77 | .collect() |
| 78 | } |
| 79 | |
| 80 | // Only used on windows and macOS/iOS, so turn off deadcode so we don't get warnings on android/linux. |
| 81 | #[allow(dead_code)] |