Constant SDL_EVENT_WINDOW_DESTROYED

pub const SDL_EVENT_WINDOW_DESTROYED: SDL_EventType;
Available on crate feature dep_sdl3 only.
Expand description

The window with the associated ID is being or has been destroyed. If this message is being handled in an event watcher, the window handle is still valid and can still be used to retrieve any properties associated with the window. Otherwise, the handle has already been destroyed and all resources associated with it are invalid