windows::UI::Core

Trait ICoreAcceleratorKeys_Impl

pub trait ICoreAcceleratorKeys_Impl: IUnknownImpl {
    // Required methods
    fn AcceleratorKeyActivated(
        &self,
        handler: Ref<'_, TypedEventHandler<CoreDispatcher, AcceleratorKeyEventArgs>>,
    ) -> Result<i64>;
    fn RemoveAcceleratorKeyActivated(&self, cookie: i64) -> Result<()>;
}

Required Methods§

fn AcceleratorKeyActivated( &self, handler: Ref<'_, TypedEventHandler<CoreDispatcher, AcceleratorKeyEventArgs>>, ) -> Result<i64>

fn RemoveAcceleratorKeyActivated(&self, cookie: i64) -> Result<()>

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§