Struct ctru_sys::SwkbdState
source · #[repr(C)]pub struct SwkbdState {Show 39 fields
pub type_: c_int,
pub num_buttons_m1: c_int,
pub valid_input: c_int,
pub password_mode: c_int,
pub is_parental_screen: c_int,
pub darken_top_screen: c_int,
pub filter_flags: u32_,
pub save_state_flags: u32_,
pub max_text_len: u16_,
pub dict_word_count: u16_,
pub max_digits: u16_,
pub button_text: [[u16_; 17]; 3],
pub numpad_keys: [u16_; 2],
pub hint_text: [u16_; 65],
pub predictive_input: bool,
pub multiline: bool,
pub fixed_width: bool,
pub allow_home: bool,
pub allow_reset: bool,
pub allow_power: bool,
pub unknown: bool,
pub default_qwerty: bool,
pub button_submits_text: [bool; 4],
pub language: u16_,
pub initial_text_offset: c_int,
pub dict_offset: c_int,
pub initial_status_offset: c_int,
pub initial_learning_offset: c_int,
pub shared_memory_size: usize,
pub version: u32_,
pub result: SwkbdResult,
pub status_offset: c_int,
pub learning_offset: c_int,
pub text_offset: c_int,
pub text_length: u16_,
pub callback_result: c_int,
pub callback_msg: [u16_; 257],
pub skip_at_check: bool,
pub __bindgen_anon_1: SwkbdState__bindgen_ty_1,
}
Expand description
Software keyboard parameter structure, it shouldn’t be modified directly.
Fields§
§type_: c_int
§valid_input: c_int
§password_mode: c_int
§is_parental_screen: c_int
§darken_top_screen: c_int
§filter_flags: u32_
§save_state_flags: u32_
§max_text_len: u16_
§dict_word_count: u16_
§max_digits: u16_
§numpad_keys: [u16_; 2]
§hint_text: [u16_; 65]
§predictive_input: bool
§multiline: bool
§fixed_width: bool
§allow_home: bool
§allow_reset: bool
§allow_power: bool
§unknown: bool
§default_qwerty: bool
§language: u16_
§initial_text_offset: c_int
§dict_offset: c_int
§initial_status_offset: c_int
§initial_learning_offset: c_int
§version: u32_
§result: SwkbdResult
§status_offset: c_int
§learning_offset: c_int
§text_offset: c_int
§text_length: u16_
§callback_result: c_int
§callback_msg: [u16_; 257]
§skip_at_check: bool
§__bindgen_anon_1: SwkbdState__bindgen_ty_1
Trait Implementations§
source§impl Clone for SwkbdState
impl Clone for SwkbdState
source§fn clone(&self) -> SwkbdState
fn clone(&self) -> SwkbdState
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 more