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§
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<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".