Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustAudio/baseview
/ WindowHandler
Interface
WindowHandler
src/handler.rs:3–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
use crate::{Event, EventStatus, WindowSize};
2
3
pub trait WindowHandler: 'static {
4
fn on_frame(&self);
5
fn resized(&self, new_size: WindowSize);
6
fn on_event(&self, event: Event) -> EventStatus;
7
}
Callers
nothing calls this directly
Implementers
4
main.rs
examples/render_femtovg/src/main.rs
main.rs
examples/open_parented/src/main.rs
main.rs
examples/open_window/src/main.rs
main.rs
examples/render_wgpu/src/main.rs
Calls
no outgoing calls
Tested by
no test coverage detected