windows::Graphics::Printing::OptionDetails

Trait IPrintOptionDetails_Impl

pub trait IPrintOptionDetails_Impl: IUnknownImpl {
    // Required methods
    fn OptionId(&self) -> Result<HSTRING>;
    fn OptionType(&self) -> Result<PrintOptionType>;
    fn SetErrorText(&self, value: &HSTRING) -> Result<()>;
    fn ErrorText(&self) -> Result<HSTRING>;
    fn SetState(&self, value: PrintOptionStates) -> Result<()>;
    fn State(&self) -> Result<PrintOptionStates>;
    fn Value(&self) -> Result<IInspectable>;
    fn TrySetValue(&self, value: Ref<'_, IInspectable>) -> Result<bool>;
}

Required Methods§

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

fn OptionType(&self) -> Result<PrintOptionType>

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

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

fn SetState(&self, value: PrintOptionStates) -> Result<()>

fn State(&self) -> Result<PrintOptionStates>

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

fn TrySetValue(&self, value: Ref<'_, IInspectable>) -> Result<bool>

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§