1
0
Fork 0
forked from wry/wry

metal: enable keyboard LEDs

This commit is contained in:
Julian Orth 2025-09-07 12:09:43 +02:00
parent 0e51b9469b
commit 11c10fde70
14 changed files with 188 additions and 22 deletions

View file

@ -78,4 +78,8 @@ impl<T: ?Sized> EventListener<T> {
pub fn detach(&self) {
self.link.detach();
}
pub fn get(&self) -> Option<Rc<T>> {
self.link.upgrade()
}
}