Trait IUICommand_Impl
pub trait IUICommand_Impl: IUnknownImpl {
// Required methods
fn Label(&self) -> Result<HSTRING>;
fn SetLabel(&self, value: &HSTRING) -> Result<()>;
fn Invoked(&self) -> Result<UICommandInvokedHandler>;
fn SetInvoked(&self, value: Ref<'_, UICommandInvokedHandler>) -> Result<()>;
fn Id(&self) -> Result<IInspectable>;
fn SetId(&self, value: Ref<'_, IInspectable>) -> Result<()>;
}
Required Methods§
fn Label(&self) -> Result<HSTRING>
fn SetLabel(&self, value: &HSTRING) -> Result<()>
fn Invoked(&self) -> Result<UICommandInvokedHandler>
fn SetInvoked(&self, value: Ref<'_, UICommandInvokedHandler>) -> Result<()>
fn Id(&self) -> Result<IInspectable>
fn SetId(&self, value: Ref<'_, IInspectable>) -> 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.