Trait InputMethodHandler

Source
pub trait InputMethodHandler: Sized {
    // Required methods
    fn handle_done(
        &self,
        connection: &Connection,
        qh: &QueueHandle<Self>,
        input_method: &ZwpInputMethodV2,
        state: &InputMethodEventState,
    );
    fn handle_unavailable(
        &self,
        connection: &Connection,
        qh: &QueueHandle<Self>,
        input_method: &ZwpInputMethodV2,
    );
}

Required Methods§

Source

fn handle_done( &self, connection: &Connection, qh: &QueueHandle<Self>, input_method: &ZwpInputMethodV2, state: &InputMethodEventState, )

Source

fn handle_unavailable( &self, connection: &Connection, qh: &QueueHandle<Self>, input_method: &ZwpInputMethodV2, )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§