Enum ctru::applets::swkbd::ButtonConfig
source · #[repr(i32)]pub enum ButtonConfig {
Right = 1,
LeftRight = 2,
LeftMiddleRight = 3,
}
Expand description
Configuration to setup the on-screen buttons to exit the SoftwareKeyboard
prompt.
Variants§
Right = 1
1 Button: considered the right button.
LeftRight = 2
2 Buttons: left and right buttons.
LeftMiddleRight = 3
3 Buttons: left, middle and right buttons.
Trait Implementations§
source§impl Clone for ButtonConfig
impl Clone for ButtonConfig
source§fn clone(&self) -> ButtonConfig
fn clone(&self) -> ButtonConfig
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ButtonConfig
impl Debug for ButtonConfig
source§impl From<ButtonConfig> for i32
impl From<ButtonConfig> for i32
source§fn from(v: ButtonConfig) -> Self
fn from(v: ButtonConfig) -> Self
Converts to this type from the input type.
source§impl PartialEq for ButtonConfig
impl PartialEq for ButtonConfig
impl Copy for ButtonConfig
impl Eq for ButtonConfig
impl StructuralPartialEq for ButtonConfig
Auto Trait Implementations§
impl RefUnwindSafe for ButtonConfig
impl Send for ButtonConfig
impl Sync for ButtonConfig
impl Unpin for ButtonConfig
impl UnwindSafe for ButtonConfig
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