ImGuiIO

Struct ImGuiIO 

Source
#[repr(C)]
pub struct ImGuiIO {
Show 73 fields pub config_flags: ImGuiConfigFlags, pub backend_flags: ImGuiBackendFlags, pub display_size: ImVec2, pub delta_time: c_float, pub ini_saving_rate: c_float, pub ini_filename: *const c_char, pub log_filename: *const c_char, pub mouse_double_click_time: c_float, pub mouse_double_click_max_dist: c_float, pub mouse_drag_threshold: c_float, pub key_map: [c_int; 21], pub key_repeat_delay: c_float, pub key_repeat_rate: c_float, pub user_data: *mut c_void, pub fonts: *mut ImFontAtlas, pub font_global_scale: c_float, pub font_allow_user_scaling: bool, pub font_default: *mut ImFont, pub display_framebuffer_scale: ImVec2, pub display_visible_min: ImVec2, pub display_visible_max: ImVec2, pub mouse_draw_cursor: bool, pub config_mac_osx_behaviors: bool, pub config_input_text_cursor_blink: bool, pub config_resize_windows_from_edges: bool, pub backend_platform_name: *const c_char, pub backend_renderer_name: *const c_char, pub get_clipboard_text_fn: Option<extern "C" fn(user_data: *mut c_void) -> *const c_char>, pub set_clipboard_text_fn: Option<extern "C" fn(user_data: *mut c_void, text: *const c_char)>, pub clipboard_user_data: *mut c_void, pub ime_set_input_screen_pos_fn: Option<extern "C" fn(x: c_int, y: c_int)>, pub ime_window_handle: *mut c_void, pub render_draw_lists_fn_unused: *mut c_void, pub mouse_pos: ImVec2, pub mouse_down: [bool; 5], pub mouse_wheel: c_float, pub mouse_wheel_h: c_float, pub key_ctrl: bool, pub key_shift: bool, pub key_alt: bool, pub key_super: bool, pub keys_down: [bool; 512], pub input_characters: [ImWchar; 17], pub nav_inputs: [c_float; 21], pub want_capture_mouse: bool, pub want_capture_keyboard: bool, pub want_text_input: bool, pub want_set_mouse_pos: bool, pub want_save_ini_settings: bool, pub nav_active: bool, pub nav_visible: bool, pub framerate: c_float, pub metrics_render_vertices: c_int, pub metrics_render_indices: c_int, pub metrics_render_windows: c_int, pub metrics_active_windows: c_int, pub metrics_active_allocations: c_int, pub mouse_delta: ImVec2, pub mouse_pos_prev: ImVec2, pub mouse_clicked_pos: [ImVec2; 5], pub mouse_clicked_time: [c_double; 5], pub mouse_clicked: [bool; 5], pub mouse_double_clicked: [bool; 5], pub mouse_released: [bool; 5], pub mouse_down_owned: [bool; 5], pub mouse_down_duration: [c_float; 5], pub mouse_down_duration_prev: [c_float; 5], pub mouse_drag_max_distance_abs: [ImVec2; 5], pub mouse_drag_max_distance_sqr: [c_float; 5], pub keys_down_duration: [c_float; 512], pub keys_down_duration_prev: [c_float; 512], pub nav_inputs_down_duration: [c_float; 21], pub nav_inputs_down_duration_prev: [c_float; 21],
}

Fields§

§config_flags: ImGuiConfigFlags§backend_flags: ImGuiBackendFlags§display_size: ImVec2§delta_time: c_float§ini_saving_rate: c_float§ini_filename: *const c_char§log_filename: *const c_char§mouse_double_click_time: c_float§mouse_double_click_max_dist: c_float§mouse_drag_threshold: c_float§key_map: [c_int; 21]§key_repeat_delay: c_float§key_repeat_rate: c_float§user_data: *mut c_void§fonts: *mut ImFontAtlas§font_global_scale: c_float§font_allow_user_scaling: bool§font_default: *mut ImFont§display_framebuffer_scale: ImVec2§display_visible_min: ImVec2§display_visible_max: ImVec2§mouse_draw_cursor: bool§config_mac_osx_behaviors: bool§config_input_text_cursor_blink: bool§config_resize_windows_from_edges: bool§backend_platform_name: *const c_char§backend_renderer_name: *const c_char§get_clipboard_text_fn: Option<extern "C" fn(user_data: *mut c_void) -> *const c_char>§set_clipboard_text_fn: Option<extern "C" fn(user_data: *mut c_void, text: *const c_char)>§clipboard_user_data: *mut c_void§ime_set_input_screen_pos_fn: Option<extern "C" fn(x: c_int, y: c_int)>§ime_window_handle: *mut c_void§render_draw_lists_fn_unused: *mut c_void§mouse_pos: ImVec2§mouse_down: [bool; 5]§mouse_wheel: c_float§mouse_wheel_h: c_float§key_ctrl: bool§key_shift: bool§key_alt: bool§key_super: bool§keys_down: [bool; 512]§input_characters: [ImWchar; 17]§nav_inputs: [c_float; 21]§want_capture_mouse: bool§want_capture_keyboard: bool§want_text_input: bool§want_set_mouse_pos: bool§want_save_ini_settings: bool§nav_active: bool§nav_visible: bool§framerate: c_float§metrics_render_vertices: c_int§metrics_render_indices: c_int§metrics_render_windows: c_int§metrics_active_windows: c_int§metrics_active_allocations: c_int§mouse_delta: ImVec2§mouse_pos_prev: ImVec2§mouse_clicked_pos: [ImVec2; 5]§mouse_clicked_time: [c_double; 5]§mouse_clicked: [bool; 5]§mouse_double_clicked: [bool; 5]§mouse_released: [bool; 5]§mouse_down_owned: [bool; 5]§mouse_down_duration: [c_float; 5]§mouse_down_duration_prev: [c_float; 5]§mouse_drag_max_distance_abs: [ImVec2; 5]§mouse_drag_max_distance_sqr: [c_float; 5]§keys_down_duration: [c_float; 512]§keys_down_duration_prev: [c_float; 512]§nav_inputs_down_duration: [c_float; 21]§nav_inputs_down_duration_prev: [c_float; 21]

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.