Skip to main content

IFrnTextInputMethodImpl

Trait IFrnTextInputMethodImpl 

Source
pub trait IFrnTextInputMethodImpl: IUnknownImpl {
    // Required methods
    fn set_client(
        &self,
        client: Option<&IFrnTextInputMethodClient>,
    ) -> Result<(), HResult>;
    fn reset(&self);
    fn set_cursor_rect(&self, rect: FrnRect);
    fn set_surrounding_text(&self, text: Option<&CStr>, start: i32, end: i32);
    fn set_selection_in_surrounding_text(&self, start: i32, end: i32);
}
Expand description

Implement this to provide IFrnTextInputMethod to native code (see IFrnTextInputMethod::from_impl).

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: IFrnTextInputMethodImpl + ?Sized> IFrnTextInputMethodImpl for Box<T>

Source§

impl<T: IFrnTextInputMethodImpl + ?Sized> IFrnTextInputMethodImpl for Rc<T>

Implementors§