more shuffling; fix initial state

This commit is contained in:
i do not exist 2026-10-05 10:55:29 +03:00
parent 47a6138215
commit 8c4419e6f5
11 changed files with 1965 additions and 1979 deletions

View file

@ -41,6 +41,16 @@ impl App {
}
}
/// Has a chain of devices.
pub trait HasDevices: AsRef<Vec<Device>> + AsMut<Vec<Device>> {
fn devices (&self) -> &Vec<Device> {
self.as_ref()
}
fn devices_mut (&mut self) -> &mut Vec<Device> {
self.as_mut()
}
}
#[tek_proc::command(Device)]
#[tek_proc::keyword(Device)]
#[derive(Debug)]