windows::Win32::UI::Controls::RichEdit

Trait ITextStrings_Impl

pub trait ITextStrings_Impl: 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: Ref<'_, ITextRange2>, istring: i32) -> Result<()>; fn Cat2(&self, istring: i32) -> Result<()>; fn CatTop2(&self, bstr: &BSTR) -> Result<()>; fn DeleteRange(&self, prange: Ref<'_, ITextRange2>) -> Result<()>; fn EncodeFunction( &self, type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32, prange: Ref<'_, 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: Ref<'_, ITextRange2>, pranges: Ref<'_, ITextRange2>, ) -> Result<()>; fn SetOpCp(&self, istring: i32, cp: i32) -> Result<()>; fn SuffixTop(&self, bstr: &BSTR, prange: Ref<'_, 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: Ref<'_, ITextRange2>, istring: i32) -> Result<()>

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

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

fn DeleteRange(&self, prange: Ref<'_, ITextRange2>) -> Result<()>

fn EncodeFunction( &self, type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32, prange: Ref<'_, 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: Ref<'_, ITextRange2>, pranges: Ref<'_, ITextRange2>, ) -> Result<()>

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

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

fn Swap(&self) -> 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.

Implementors§