windows::UI::Core

Trait ICoreInputSourceBase_Impl

pub trait ICoreInputSourceBase_Impl: IUnknownImpl {
    // Required methods
    fn Dispatcher(&self) -> Result<CoreDispatcher>;
    fn IsInputEnabled(&self) -> Result<bool>;
    fn SetIsInputEnabled(&self, value: bool) -> Result<()>;
    fn InputEnabled(
        &self,
        handler: Ref<'_, TypedEventHandler<IInspectable, InputEnabledEventArgs>>,
    ) -> Result<i64>;
    fn RemoveInputEnabled(&self, cookie: i64) -> Result<()>;
}

Required Methods§

fn Dispatcher(&self) -> Result<CoreDispatcher>

fn IsInputEnabled(&self) -> Result<bool>

fn SetIsInputEnabled(&self, value: bool) -> Result<()>

fn InputEnabled( &self, handler: Ref<'_, TypedEventHandler<IInspectable, InputEnabledEventArgs>>, ) -> Result<i64>

fn RemoveInputEnabled(&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§