Trait windows::Win32::UI::Controls::RichEdit::ITextStrings_Impl

pub trait ITextStrings_Impl: Sized + IDispatch_Impl {
Show 17 methods // Required methods fn Item(&self, index: i32) -> Result<ITextRange2>; fn GetCount(&self) -> Result<i32>; fn Add(&self, bstr: &BSTR) -> Result<()>; fn Append(&self, prange: Option<&ITextRange2>, istring: i32) -> Result<()>; fn Cat2(&self, istring: i32) -> Result<()>; fn CatTop2(&self, bstr: &BSTR) -> Result<()>; fn DeleteRange(&self, prange: Option<&ITextRange2>) -> Result<()>; fn EncodeFunction( &self, type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32, prange: Option<&ITextRange2> ) -> Result<()>; fn GetCch(&self, istring: i32) -> Result<i32>; fn InsertNullStr(&self, istring: i32) -> Result<()>; fn MoveBoundary(&self, istring: i32, cch: i32) -> Result<()>; fn PrefixTop(&self, bstr: &BSTR) -> Result<()>; fn Remove(&self, istring: i32, cstring: i32) -> Result<()>; fn SetFormattedText( &self, pranged: Option<&ITextRange2>, pranges: Option<&ITextRange2> ) -> Result<()>; fn SetOpCp(&self, istring: i32, cp: i32) -> Result<()>; fn SuffixTop(&self, bstr: &BSTR, prange: Option<&ITextRange2>) -> Result<()>; fn Swap(&self) -> Result<()>;
}

Required Methods§

fn Item(&self, index: i32) -> Result<ITextRange2>

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

fn Add(&self, bstr: &BSTR) -> Result<()>

fn Append(&self, prange: Option<&ITextRange2>, istring: i32) -> Result<()>

fn Cat2(&self, istring: i32) -> Result<()>

fn CatTop2(&self, bstr: &BSTR) -> Result<()>

fn DeleteRange(&self, prange: Option<&ITextRange2>) -> Result<()>

fn EncodeFunction( &self, type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32, prange: Option<&ITextRange2> ) -> Result<()>

fn GetCch(&self, istring: i32) -> Result<i32>

fn InsertNullStr(&self, istring: i32) -> Result<()>

fn MoveBoundary(&self, istring: i32, cch: i32) -> Result<()>

fn PrefixTop(&self, bstr: &BSTR) -> Result<()>

fn Remove(&self, istring: i32, cstring: i32) -> Result<()>

fn SetFormattedText( &self, pranged: Option<&ITextRange2>, pranges: Option<&ITextRange2> ) -> Result<()>

fn SetOpCp(&self, istring: i32, cp: i32) -> Result<()>

fn SuffixTop(&self, bstr: &BSTR, prange: Option<&ITextRange2>) -> Result<()>

fn Swap(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§