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§
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)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".