Trait windows::Win32::UI::Controls::RichEdit::ITextStory_Impl

pub trait ITextStory_Impl: Sized {
    // Required methods
    fn GetActive(&self) -> Result<i32>;
    fn SetActive(&self, value: i32) -> Result<()>;
    fn GetDisplay(&self) -> Result<IUnknown>;
    fn GetIndex(&self) -> Result<i32>;
    fn GetType(&self) -> Result<i32>;
    fn SetType(&self, value: i32) -> Result<()>;
    fn GetProperty(&self, type: i32) -> Result<i32>;
    fn GetRange(&self, cpactive: i32, cpanchor: i32) -> Result<ITextRange2>;
    fn GetText(&self, flags: i32) -> Result<BSTR>;
    fn SetFormattedText(&self, punk: Option<&IUnknown>) -> Result<()>;
    fn SetProperty(&self, type: i32, value: i32) -> Result<()>;
    fn SetText(&self, flags: i32, bstr: &BSTR) -> Result<()>;
}

Required Methods§

fn GetActive(&self) -> Result<i32>

fn SetActive(&self, value: i32) -> Result<()>

fn GetDisplay(&self) -> Result<IUnknown>

fn GetIndex(&self) -> Result<i32>

fn GetType(&self) -> Result<i32>

fn SetType(&self, value: i32) -> Result<()>

fn GetProperty(&self, type: i32) -> Result<i32>

fn GetRange(&self, cpactive: i32, cpanchor: i32) -> Result<ITextRange2>

fn GetText(&self, flags: i32) -> Result<BSTR>

fn SetFormattedText(&self, punk: Option<&IUnknown>) -> Result<()>

fn SetProperty(&self, type: i32, value: i32) -> Result<()>

fn SetText(&self, flags: i32, bstr: &BSTR) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§