Skip to main content

ICommandProvider_Impl

Trait ICommandProvider_Impl 

Source
pub trait ICommandProvider_Impl: IClosable_Impl + INotifyItemsChanged_Impl {
    // Required methods
    fn Id(&self) -> Result<HSTRING>;
    fn DisplayName(&self) -> Result<HSTRING>;
    fn Icon(&self) -> Result<IIconInfo>;
    fn Settings(&self) -> Result<ICommandSettings>;
    fn Frozen(&self) -> Result<bool>;
    fn TopLevelCommands(&self) -> Result<Array<ICommandItem>>;
    fn FallbackCommands(&self) -> Result<Array<IFallbackCommandItem>>;
    fn GetCommand(&self, id: &HSTRING) -> Result<ICommand>;
    fn InitializeWithHost(&self, host: Ref<'_, IExtensionHost>) -> Result<()>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§