pub struct TextMethod(pub u8);Expand description
How text is entered.
Tuple Fields§
§0: u8Implementations§
Source§impl TextMethod
impl TextMethod
Sourcepub const AUTO: TextMethod
pub const AUTO: TextMethod
Let the agent choose (requests only).
Sourcepub const DIRECT: TextMethod
pub const DIRECT: TextMethod
Set the field’s text directly.
Sourcepub const KEYS: TextMethod
pub const KEYS: TextMethod
Type it as key events.
Trait Implementations§
Source§impl Clone for TextMethod
impl Clone for TextMethod
impl Copy for TextMethod
Source§impl Debug for TextMethod
impl Debug for TextMethod
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for TextMethod
impl<'bytes, Ctx> Decode<'bytes, Ctx> for TextMethod
Source§impl Default for TextMethod
impl Default for TextMethod
Source§impl Display for TextMethod
impl Display for TextMethod
Source§impl<Ctx> Encode<Ctx> for TextMethod
impl<Ctx> Encode<Ctx> for TextMethod
impl Eq for TextMethod
Source§impl Hash for TextMethod
impl Hash for TextMethod
Source§impl Ord for TextMethod
impl Ord for TextMethod
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TextMethod
impl PartialEq for TextMethod
Source§impl PartialOrd for TextMethod
impl PartialOrd for TextMethod
impl StructuralPartialEq for TextMethod
Auto Trait Implementations§
impl Freeze for TextMethod
impl RefUnwindSafe for TextMethod
impl Send for TextMethod
impl Sync for TextMethod
impl Unpin for TextMethod
impl UnsafeUnpin for TextMethod
impl UnwindSafe for TextMethod
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