Struct nativeshell::shell::WindowMethodChannel [−][src]
pub struct WindowMethodChannel { /* fields omitted */ }
Implementations
pub fn register_method_handler<F>(&mut self, channel: &str, callback: F) where
F: Fn(WindowMethodCall, WindowMethodCallReply, EngineHandle) + 'static,
[src]pub fn get_method_invoker(
&self,
window_manager: &WindowManager,
window: WindowHandle,
channel_name: &str
) -> Option<WindowMethodInvoker>
[src]pub fn get_message_broadcaster(
&self,
source_window: WindowHandle,
channel_name: &str
) -> WindowMessageBroadcaster
[src]Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for WindowMethodChannel
impl !Send for WindowMethodChannel
impl !Sync for WindowMethodChannel
impl Unpin for WindowMethodChannel
impl !UnwindSafe for WindowMethodChannel