Enum InputMethodAction
#[repr(i32)]pub enum InputMethodAction {
Default = 0,
Go = 1,
Next = 2,
Search = 3,
Send = 4,
Done = 5,
}Expand description
Specifies the available input method actions.
Variants§
Default = 0
The label of the user action button is the default for the input method of the Operating System.
Go = 1
The label of the user action button is Go.
Next = 2
The label of the user action button is Next.
Search = 3
The label of the user action button is Search.
Send = 4
The label of the user action button is Send.
Done = 5
The label of the user action button is Done.
Implementations§
§impl InputMethodAction
impl InputMethodAction
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> InputMethodAction
Trait Implementations§
§impl Clone for InputMethodAction
impl Clone for InputMethodAction
§fn clone(&self) -> InputMethodAction
fn clone(&self) -> InputMethodAction
Returns a duplicate 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 more§impl Debug for InputMethodAction
impl Debug for InputMethodAction
§impl Display for InputMethodAction
impl Display for InputMethodAction
§impl PartialEq for InputMethodAction
impl PartialEq for InputMethodAction
§impl VariantConstraint for InputMethodAction
impl VariantConstraint for InputMethodAction
§type DataArg<'a> = InputMethodAction
type DataArg<'a> = InputMethodAction
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = InputMethodAction
type RetArg = InputMethodAction
§fn as_arg(&self) -> <InputMethodAction as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <InputMethodAction as VariantConstraint>::DataArg<'_>
impl Copy for InputMethodAction
impl Eq for InputMethodAction
impl PropertyTypeConstraint for InputMethodAction
impl StructuralPartialEq for InputMethodAction
Auto Trait Implementations§
impl Freeze for InputMethodAction
impl RefUnwindSafe for InputMethodAction
impl Send for InputMethodAction
impl Sync for InputMethodAction
impl Unpin for InputMethodAction
impl UnwindSafe for InputMethodAction
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