windows::Win32::System::Mmc

Trait IConsoleVerb_Impl

pub trait IConsoleVerb_Impl: IUnknownImpl {
    // Required methods
    fn GetVerbState(
        &self,
        ecmdid: MMC_CONSOLE_VERB,
        nstate: MMC_BUTTON_STATE,
    ) -> Result<BOOL>;
    fn SetVerbState(
        &self,
        ecmdid: MMC_CONSOLE_VERB,
        nstate: MMC_BUTTON_STATE,
        bstate: BOOL,
    ) -> Result<()>;
    fn SetDefaultVerb(&self, ecmdid: MMC_CONSOLE_VERB) -> Result<()>;
    fn GetDefaultVerb(&self) -> Result<MMC_CONSOLE_VERB>;
}

Required Methods§

fn GetVerbState( &self, ecmdid: MMC_CONSOLE_VERB, nstate: MMC_BUTTON_STATE, ) -> Result<BOOL>

fn SetVerbState( &self, ecmdid: MMC_CONSOLE_VERB, nstate: MMC_BUTTON_STATE, bstate: BOOL, ) -> Result<()>

fn SetDefaultVerb(&self, ecmdid: MMC_CONSOLE_VERB) -> Result<()>

fn GetDefaultVerb(&self) -> Result<MMC_CONSOLE_VERB>

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§