pub enum InputMethodEditorClientRequest {
DidUpdateState {
state: TextInputState,
event: Option<Box<InputEvent>>,
control_handle: InputMethodEditorClientControlHandle,
},
OnAction {
action: InputMethodAction,
control_handle: InputMethodEditorClientControlHandle,
},
}
Expand description
An interface to receive information from TextInputService
.
Variants§
DidUpdateState
Fields
§
state: TextInputState
§
event: Option<Box<InputEvent>>
§
control_handle: InputMethodEditorClientControlHandle
OnAction
Implementations§
Source§impl InputMethodEditorClientRequest
impl InputMethodEditorClientRequest
pub fn into_did_update_state( self, ) -> Option<(TextInputState, Option<Box<InputEvent>>, InputMethodEditorClientControlHandle)>
pub fn into_on_action( self, ) -> Option<(InputMethodAction, InputMethodEditorClientControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputMethodEditorClientRequest
impl !RefUnwindSafe for InputMethodEditorClientRequest
impl Send for InputMethodEditorClientRequest
impl Sync for InputMethodEditorClientRequest
impl Unpin for InputMethodEditorClientRequest
impl !UnwindSafe for InputMethodEditorClientRequest
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