Trait windows::UI::Popups::IUICommand_Impl

pub trait IUICommand_Impl: Sized {
    // Required methods
    fn Label(&self) -> Result<HSTRING>;
    fn SetLabel(&self, value: &HSTRING) -> Result<()>;
    fn Invoked(&self) -> Result<UICommandInvokedHandler>;
    fn SetInvoked(&self, value: Option<&UICommandInvokedHandler>) -> Result<()>;
    fn Id(&self) -> Result<IInspectable>;
    fn SetId(&self, value: Option<&IInspectable>) -> Result<()>;
}

Required Methods§

fn Label(&self) -> Result<HSTRING>

fn SetLabel(&self, value: &HSTRING) -> Result<()>

fn Invoked(&self) -> Result<UICommandInvokedHandler>

fn SetInvoked(&self, value: Option<&UICommandInvokedHandler>) -> Result<()>

fn Id(&self) -> Result<IInspectable>

fn SetId(&self, value: Option<&IInspectable>) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§