wip: 1 more pass, 82e, near there
Some checks are pending
/ build (push) Waiting to run

gotta replace that Measure thing with RwLock<[u16;2]>
This commit is contained in:
okay stopped screaming 2026-03-22 00:00:21 +02:00
parent 60dbd89fc9
commit 9ef63324af
6 changed files with 26 additions and 21 deletions

View file

@ -1,4 +1,5 @@
use crate::*;
use crate::{*, config::*};
impl Config {
pub fn get_mode (&self, mode: impl AsRef<str>) -> Option<Arc<Mode<Arc<str>>>> {
self.modes.clone().read().unwrap().get(mode.as_ref()).cloned()