pub struct IFrnTextInputMethod { /* private fields */ }Implementations§
Source§impl IFrnTextInputMethod
impl IFrnTextInputMethod
Sourcepub fn from_impl<T: IFrnTextInputMethodImpl + 'static>(
value: T,
) -> ComPtr<IFrnTextInputMethod>
pub fn from_impl<T: IFrnTextInputMethodImpl + 'static>( value: T, ) -> ComPtr<IFrnTextInputMethod>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn set_client(
&self,
client: Option<&IFrnTextInputMethodClient>,
) -> Result<(), HResult>
pub fn set_client( &self, client: Option<&IFrnTextInputMethodClient>, ) -> Result<(), HResult>
IFrnTextInputMethod::SetClient
Sourcepub fn set_cursor_rect(&self, rect: FrnRect)
pub fn set_cursor_rect(&self, rect: FrnRect)
IFrnTextInputMethod::SetCursorRect
Sourcepub fn set_surrounding_text(&self, text: Option<&CStr>, start: i32, end: i32)
pub fn set_surrounding_text(&self, text: Option<&CStr>, start: i32, end: i32)
IFrnTextInputMethod::SetSurroundingText
Sourcepub fn set_selection_in_surrounding_text(&self, start: i32, end: i32)
pub fn set_selection_in_surrounding_text(&self, start: i32, end: i32)
IFrnTextInputMethod::SetSelectionInSurroundingText
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnTextInputMethod
impl Deref for IFrnTextInputMethod
Source§impl<T: IFrnTextInputMethodImpl> ImplementedBy<T> for IFrnTextInputMethod
impl<T: IFrnTextInputMethodImpl> ImplementedBy<T> for IFrnTextInputMethod
const VTBL: &'static IFrnTextInputMethodVtbl
Source§impl Interface for IFrnTextInputMethod
impl Interface for IFrnTextInputMethod
type Vtbl = IFrnTextInputMethodVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnTextInputMethod
impl !Sync for IFrnTextInputMethod
impl Freeze for IFrnTextInputMethod
impl RefUnwindSafe for IFrnTextInputMethod
impl Unpin for IFrnTextInputMethod
impl UnsafeUnpin for IFrnTextInputMethod
impl UnwindSafe for IFrnTextInputMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more