Struct winit::platform_impl::platform::wayland::seat::text_input::TextInputHandler
source · pub struct TextInputHandler {
text_input: ZwpTextInputV3,
}
Expand description
A handler for text input that we’re advertising for WindowHandle
.
Fields§
§text_input: ZwpTextInputV3
Implementations§
source§impl TextInputHandler
impl TextInputHandler
pub fn set_ime_position(&self, x: i32, y: i32)
pub fn set_content_type_by_purpose(&self, purpose: ImePurpose)
pub fn set_input_allowed(&self, allowed: Option<ImePurpose>)
Trait Implementations§
source§impl PartialEq<TextInputHandler> for TextInputHandler
impl PartialEq<TextInputHandler> for TextInputHandler
source§fn eq(&self, other: &TextInputHandler) -> bool
fn eq(&self, other: &TextInputHandler) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TextInputHandler
impl StructuralEq for TextInputHandler
impl StructuralPartialEq for TextInputHandler
Auto Trait Implementations§
impl !RefUnwindSafe for TextInputHandler
impl Send for TextInputHandler
impl Sync for TextInputHandler
impl Unpin for TextInputHandler
impl !UnwindSafe for TextInputHandler
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