MCPcopy 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

1use crate::{Event, EventStatus, WindowSize};
2
3pub 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.rsexamples/render_femtovg/src/main.rs
main.rsexamples/open_parented/src/main.rs
main.rsexamples/open_window/src/main.rs
main.rsexamples/render_wgpu/src/main.rs

Calls

no outgoing calls

Tested by

no test coverage detected