#[non_exhaustive]pub enum InputMethodRequest {
Enable(InputMethodProperties),
Update(InputMethodProperties),
Disable,
}
Expand description
This is the parameter from [WindowAdapterInternal::input_method_request()
] which lets the editable text input field
communicate with the platform about input methods.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Enable(InputMethodProperties)
Enables the input method with the specified properties.
Update(InputMethodProperties)
Updates the input method with new properties.
Disable
Disables the input method.
Trait Implementations§
Source§impl Clone for InputMethodRequest
impl Clone for InputMethodRequest
Source§fn clone(&self) -> InputMethodRequest
fn clone(&self) -> InputMethodRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for InputMethodRequest
impl RefUnwindSafe for InputMethodRequest
impl Send for InputMethodRequest
impl !Sync for InputMethodRequest
impl Unpin for InputMethodRequest
impl UnwindSafe for InputMethodRequest
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