#[repr(u8)]pub enum Button {
Left = 0,
Middle = 1,
Right = 2,
}
Expand description
Represents which button the user pressed to close the SoftwareKeyboard
.
Button text and behaviour can be customized with SoftwareKeyboard::configure_button()
.
Variants§
Left = 0
Left button. Usually corresponds to “Cancel”.
Middle = 1
Middle button. Usually corresponds to “I Forgot”.
Right = 2
Right button. Usually corresponds to “OK”.
Trait Implementations§
source§impl From<Button> for SwkbdButton
impl From<Button> for SwkbdButton
impl Copy for Button
impl Eq for Button
impl StructuralPartialEq for Button
Auto Trait Implementations§
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more