cleanup
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 9m39s

This commit is contained in:
Florian RICHER 2025-05-30 21:54:58 +02:00
parent 2c169548b9
commit bc42892d39
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
5 changed files with 12 additions and 32 deletions

View file

@ -180,6 +180,7 @@ impl ApplicationContext {
f(&renderer)
}
/// Méthode utilitaire pour accéder au renderer de manière thread-safe
pub fn with_renderer_mut<T, F>(&mut self, f: F) -> T
where
F: FnOnce(&mut VulkanoWindowRenderer) -> T,
@ -194,6 +195,7 @@ impl ApplicationContext {
f(renderer)
}
/// Méthode utilitaire pour accéder au gui de manière thread-safe
pub fn with_gui<T, F>(&self, f: F) -> T
where
F: FnOnce(&Gui) -> T,
@ -202,6 +204,7 @@ impl ApplicationContext {
f(&gui)
}
/// Méthode utilitaire pour accéder au gui de manière thread-safe
pub fn with_gui_mut<T, F>(&mut self, f: F) -> T
where
F: FnOnce(&mut Gui) -> T,