Trait tether::Handler [] [src]

pub trait Handler: 'static {
    fn message(&mut self, win: Window, msg: &str) { ... }
fn suspend(&mut self, win: Window) { ... } }

An event handler.

Provided Methods

Called when a message has been sent from the webpage.

A warning that the system may be about to unceremoniously kill your app. Saving things is probably a good idea.

Implementations on Foreign Types

impl Handler for ()
[src]

[src]

[src]

Implementors