Remove unused callbacks (#11410)

This PR follows up #11314 (which removes some deprecated `callback`s)
removes the corresponding implements.

Release Notes:

- N/A
This commit is contained in:
张小白 2024-05-07 04:21:35 +08:00 committed by GitHub
parent 9a60c0a059
commit 68a0035264
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 5 additions and 103 deletions

View file

@ -147,7 +147,6 @@ pub struct Callbacks {
input: Option<Box<dyn FnMut(PlatformInput) -> crate::DispatchEventResult>>,
active_status_change: Option<Box<dyn FnMut(bool)>>,
resize: Option<Box<dyn FnMut(Size<Pixels>, f32)>>,
fullscreen: Option<Box<dyn FnMut(bool)>>,
moved: Option<Box<dyn FnMut()>>,
should_close: Option<Box<dyn FnMut() -> bool>>,
close: Option<Box<dyn FnOnce()>>,