[][src]Struct nsf_imgui::ImGui

pub struct ImGui { /* fields omitted */ }

Methods

impl ImGui
[src]

pub fn align_text_to_frame_padding<'a>(&'a self)
[src]

pub fn arrow_button<'a, 'b>(&'a self, str_id: &'b CStr, dir: ImGuiDir) -> bool
[src]

pub fn begin<'a, 'b, 'c>(
    &'a self,
    name: &'b CStr,
    p_open: impl Into<Option<&'c mut bool>>,
    flags: impl Into<Option<ImGuiWindowFlags>>
) -> bool
[src]

pub fn begin_child<'a, 'b>(
    &'a self,
    str_id: &'b CStr,
    size: impl Into<Option<ImVec2>>,
    border: impl Into<Option<bool>>,
    flags: impl Into<Option<ImGuiWindowFlags>>
) -> bool
[src]

pub fn begin_child_id<'a>(
    &'a self,
    id: ImGuiID,
    size: impl Into<Option<ImVec2>>,
    border: impl Into<Option<bool>>,
    flags: impl Into<Option<ImGuiWindowFlags>>
) -> bool
[src]

pub fn begin_child_frame<'a>(
    &'a self,
    id: ImGuiID,
    size: ImVec2,
    flags: impl Into<Option<ImGuiWindowFlags>>
) -> bool
[src]

pub fn begin_combo<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    preview_value: &'c CStr,
    flags: impl Into<Option<ImGuiComboFlags>>
) -> bool
[src]

pub fn begin_drag_drop_source<'a>(
    &'a self,
    flags: impl Into<Option<ImGuiDragDropFlags>>
) -> bool
[src]

pub fn begin_drag_drop_target<'a>(&'a self) -> bool
[src]

pub fn begin_group<'a>(&'a self)
[src]

pub fn begin_main_menu_bar<'a>(&'a self) -> bool
[src]

pub fn begin_menu<'a, 'b>(
    &'a self,
    label: &'b CStr,
    enabled: impl Into<Option<bool>>
) -> bool
[src]

pub fn begin_menu_bar<'a>(&'a self) -> bool
[src]

pub fn begin_popup<'a, 'b>(
    &'a self,
    str_id: &'b CStr,
    flags: impl Into<Option<ImGuiWindowFlags>>
) -> bool
[src]

pub fn begin_popup_context_item<'a, 'b>(
    &'a self,
    str_id: impl Into<Option<&'b CStr>>,
    mouse_button: impl Into<Option<i32>>
) -> bool
[src]

pub fn begin_popup_context_void<'a, 'b>(
    &'a self,
    str_id: impl Into<Option<&'b CStr>>,
    mouse_button: impl Into<Option<i32>>
) -> bool
[src]

pub fn begin_popup_context_window<'a, 'b>(
    &'a self,
    str_id: impl Into<Option<&'b CStr>>,
    mouse_button: impl Into<Option<i32>>,
    also_over_items: impl Into<Option<bool>>
) -> bool
[src]

pub fn begin_popup_modal<'a, 'b, 'c>(
    &'a self,
    name: &'b CStr,
    p_open: impl Into<Option<&'c mut bool>>,
    flags: impl Into<Option<ImGuiWindowFlags>>
) -> bool
[src]

pub fn begin_tooltip<'a>(&'a self)
[src]

pub fn bullet<'a>(&'a self)
[src]

pub fn bullet_text<'a, 'b>(&'a self, fmt: &'b CStr)
[src]

pub fn button<'a, 'b>(
    &'a self,
    label: &'b CStr,
    size: impl Into<Option<ImVec2>>
) -> bool
[src]

pub fn calc_item_width<'a>(&'a self) -> f32
[src]

pub fn calc_list_clipping<'a, 'b, 'c>(
    &'a self,
    items_count: i32,
    items_height: f32,
    out_items_display_start: &'b mut i32,
    out_items_display_end: &'c mut i32
)
[src]

pub fn calc_text_size<'a, 'b, 'c>(
    &'a self,
    text: &'b CStr,
    text_end: impl Into<Option<&'c CStr>>,
    hide_text_after_double_hash: impl Into<Option<bool>>,
    wrap_width: impl Into<Option<f32>>
) -> ImVec2
[src]

pub fn capture_keyboard_from_app<'a>(
    &'a self,
    capture: impl Into<Option<bool>>
)
[src]

pub fn capture_mouse_from_app<'a>(
    &'a self,
    capture: impl Into<Option<bool>>
)
[src]

pub fn checkbox<'a, 'b, 'c>(&'a self, label: &'b CStr, v: &'c mut bool) -> bool
[src]

pub fn checkbox_flags<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    flags: &'c mut u32,
    flags_value: u32
) -> bool
[src]

pub fn close_current_popup<'a>(&'a self)
[src]

pub fn collapsing_header<'a, 'b>(
    &'a self,
    label: &'b CStr,
    flags: impl Into<Option<ImGuiTreeNodeFlags>>
) -> bool
[src]

pub fn collapsing_header_bool_ptr<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    p_open: &'c mut bool,
    flags: impl Into<Option<ImGuiTreeNodeFlags>>
) -> bool
[src]

pub fn color_button<'a, 'b>(
    &'a self,
    desc_id: &'b CStr,
    col: ImVec4,
    flags: impl Into<Option<ImGuiColorEditFlags>>,
    size: impl Into<Option<ImVec2>>
) -> bool
[src]

pub fn color_convert_float4_to_u32<'a>(&'a self, _in: ImVec4) -> u32
[src]

pub fn color_convert_hsv_to_rgb<'a, 'b, 'c, 'd>(
    &'a self,
    h: f32,
    s: f32,
    v: f32,
    out_r: &'b mut f32,
    out_g: &'c mut f32,
    out_b: &'d mut f32
)
[src]

pub fn color_convert_rgb_to_hsv<'a, 'b, 'c, 'd>(
    &'a self,
    r: f32,
    g: f32,
    b: f32,
    out_h: &'b mut f32,
    out_s: &'c mut f32,
    out_v: &'d mut f32
)
[src]

pub fn color_convert_u32_to_float4<'a>(&'a self, _in: u32) -> ImVec4
[src]

pub fn color_edit3<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    col: &'c mut [f32; 3],
    flags: impl Into<Option<ImGuiColorEditFlags>>
) -> bool
[src]

pub fn color_edit4<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    col: &'c mut [f32; 4],
    flags: impl Into<Option<ImGuiColorEditFlags>>
) -> bool
[src]

pub fn color_picker3<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    col: &'c mut [f32; 3],
    flags: impl Into<Option<ImGuiColorEditFlags>>
) -> bool
[src]

pub fn color_picker4<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    col: &'c mut [f32; 4],
    flags: impl Into<Option<ImGuiColorEditFlags>>,
    ref_col: impl Into<Option<&'d f32>>
) -> bool
[src]

pub fn columns<'a, 'b>(
    &'a self,
    count: impl Into<Option<i32>>,
    id: impl Into<Option<&'b CStr>>,
    border: impl Into<Option<bool>>
)
[src]

pub fn combo_str<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    current_item: &'c mut i32,
    items_separated_by_zeros: &'d CStr,
    popup_max_height_in_items: impl Into<Option<i32>>
) -> bool
[src]

pub fn debug_check_version_and_data_layout<'a, 'b>(
    &'a self,
    version_str: &'b CStr,
    sz_io: usize,
    sz_style: usize,
    sz_vec2: usize,
    sz_vec4: usize,
    sz_drawvert: usize
) -> bool
[src]

pub fn drag_float<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut f32,
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<f32>>,
    v_max: impl Into<Option<f32>>,
    format: impl Into<Option<&'d CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn drag_float2<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [f32; 2],
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<f32>>,
    v_max: impl Into<Option<f32>>,
    format: impl Into<Option<&'d CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn drag_float3<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [f32; 3],
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<f32>>,
    v_max: impl Into<Option<f32>>,
    format: impl Into<Option<&'d CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn drag_float4<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [f32; 4],
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<f32>>,
    v_max: impl Into<Option<f32>>,
    format: impl Into<Option<&'d CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn drag_float_range2<'a, 'b, 'c, 'd, 'e, 'f>(
    &'a self,
    label: &'b CStr,
    v_current_min: &'c mut f32,
    v_current_max: &'d mut f32,
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<f32>>,
    v_max: impl Into<Option<f32>>,
    format: impl Into<Option<&'e CStr>>,
    format_max: impl Into<Option<&'f CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn drag_int<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut i32,
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<i32>>,
    v_max: impl Into<Option<i32>>,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn drag_int2<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [i32; 2],
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<i32>>,
    v_max: impl Into<Option<i32>>,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn drag_int3<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [i32; 3],
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<i32>>,
    v_max: impl Into<Option<i32>>,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn drag_int4<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [i32; 4],
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<i32>>,
    v_max: impl Into<Option<i32>>,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn drag_int_range2<'a, 'b, 'c, 'd, 'e, 'f>(
    &'a self,
    label: &'b CStr,
    v_current_min: &'c mut i32,
    v_current_max: &'d mut i32,
    v_speed: impl Into<Option<f32>>,
    v_min: impl Into<Option<i32>>,
    v_max: impl Into<Option<i32>>,
    format: impl Into<Option<&'e CStr>>,
    format_max: impl Into<Option<&'f CStr>>
) -> bool
[src]

pub fn dummy<'a>(&'a self, size: ImVec2)
[src]

pub fn end<'a>(&'a self)
[src]

pub fn end_child<'a>(&'a self)
[src]

pub fn end_child_frame<'a>(&'a self)
[src]

pub fn end_combo<'a>(&'a self)
[src]

pub fn end_drag_drop_source<'a>(&'a self)
[src]

pub fn end_drag_drop_target<'a>(&'a self)
[src]

pub fn end_frame<'a>(&'a self)
[src]

pub fn end_group<'a>(&'a self)
[src]

pub fn end_main_menu_bar<'a>(&'a self)
[src]

pub fn end_menu<'a>(&'a self)
[src]

pub fn end_menu_bar<'a>(&'a self)
[src]

pub fn end_popup<'a>(&'a self)
[src]

pub fn end_tooltip<'a>(&'a self)
[src]

pub fn get_clipboard_text<'a>(&'a self) -> String
[src]

pub fn get_color_u32<'a>(
    &'a self,
    idx: ImGuiCol,
    alpha_mul: impl Into<Option<f32>>
) -> u32
[src]

pub fn get_color_u32_vec4<'a>(&'a self, col: ImVec4) -> u32
[src]

pub fn get_color_u32_u32<'a>(&'a self, col: u32) -> u32
[src]

pub fn get_column_index<'a>(&'a self) -> i32
[src]

pub fn get_column_offset<'a>(
    &'a self,
    column_index: impl Into<Option<i32>>
) -> f32
[src]

pub fn get_column_width<'a>(
    &'a self,
    column_index: impl Into<Option<i32>>
) -> f32
[src]

pub fn get_columns_count<'a>(&'a self) -> i32
[src]

pub fn get_content_region_avail<'a>(&'a self) -> ImVec2
[src]

pub fn get_content_region_avail_width<'a>(&'a self) -> f32
[src]

pub fn get_content_region_max<'a>(&'a self) -> ImVec2
[src]

pub fn get_cursor_pos<'a>(&'a self) -> ImVec2
[src]

pub fn get_cursor_pos_x<'a>(&'a self) -> f32
[src]

pub fn get_cursor_pos_y<'a>(&'a self) -> f32
[src]

pub fn get_cursor_screen_pos<'a>(&'a self) -> ImVec2
[src]

pub fn get_cursor_start_pos<'a>(&'a self) -> ImVec2
[src]

pub fn get_font_size<'a>(&'a self) -> f32
[src]

pub fn get_font_tex_uv_white_pixel<'a>(&'a self) -> ImVec2
[src]

pub fn get_frame_count<'a>(&'a self) -> i32
[src]

pub fn get_frame_height<'a>(&'a self) -> f32
[src]

pub fn get_frame_height_with_spacing<'a>(&'a self) -> f32
[src]

pub fn get_id_str<'a, 'b>(&'a self, str_id: &'b CStr) -> ImGuiID
[src]

pub fn get_id_range<'a, 'b, 'c>(
    &'a self,
    str_id_begin: &'b CStr,
    str_id_end: &'c CStr
) -> ImGuiID
[src]

pub fn get_item_rect_max<'a>(&'a self) -> ImVec2
[src]

pub fn get_item_rect_min<'a>(&'a self) -> ImVec2
[src]

pub fn get_item_rect_size<'a>(&'a self) -> ImVec2
[src]

pub fn get_key_index<'a>(&'a self, imgui_key: ImGuiKey) -> i32
[src]

pub fn get_key_pressed_amount<'a>(
    &'a self,
    key_index: i32,
    repeat_delay: f32,
    rate: f32
) -> i32
[src]

pub fn get_mouse_cursor<'a>(&'a self) -> ImGuiMouseCursor
[src]

pub fn get_mouse_drag_delta<'a>(
    &'a self,
    button: impl Into<Option<i32>>,
    lock_threshold: impl Into<Option<f32>>
) -> ImVec2
[src]

pub fn get_mouse_pos<'a>(&'a self) -> ImVec2
[src]

pub fn get_mouse_pos_on_opening_current_popup<'a>(&'a self) -> ImVec2
[src]

pub fn get_scroll_max_x<'a>(&'a self) -> f32
[src]

pub fn get_scroll_max_y<'a>(&'a self) -> f32
[src]

pub fn get_scroll_x<'a>(&'a self) -> f32
[src]

pub fn get_scroll_y<'a>(&'a self) -> f32
[src]

pub fn get_style_color_name<'a>(&'a self, idx: ImGuiCol) -> String
[src]

pub fn get_text_line_height<'a>(&'a self) -> f32
[src]

pub fn get_text_line_height_with_spacing<'a>(&'a self) -> f32
[src]

pub fn get_time<'a>(&'a self) -> f64
[src]

pub fn get_tree_node_to_label_spacing<'a>(&'a self) -> f32
[src]

pub fn get_version<'a>(&'a self) -> String
[src]

pub fn get_window_content_region_max<'a>(&'a self) -> ImVec2
[src]

pub fn get_window_content_region_min<'a>(&'a self) -> ImVec2
[src]

pub fn get_window_content_region_width<'a>(&'a self) -> f32
[src]

pub fn get_window_height<'a>(&'a self) -> f32
[src]

pub fn get_window_pos<'a>(&'a self) -> ImVec2
[src]

pub fn get_window_size<'a>(&'a self) -> ImVec2
[src]

pub fn get_window_width<'a>(&'a self) -> f32
[src]

pub fn image<'a>(
    &'a self,
    user_texture_id: ImTextureID,
    size: ImVec2,
    uv0: impl Into<Option<ImVec2>>,
    uv1: impl Into<Option<ImVec2>>,
    tint_col: impl Into<Option<ImVec4>>,
    border_col: impl Into<Option<ImVec4>>
)
[src]

pub fn image_button<'a>(
    &'a self,
    user_texture_id: ImTextureID,
    size: ImVec2,
    uv0: impl Into<Option<ImVec2>>,
    uv1: impl Into<Option<ImVec2>>,
    frame_padding: impl Into<Option<i32>>,
    bg_col: impl Into<Option<ImVec4>>,
    tint_col: impl Into<Option<ImVec4>>
) -> bool
[src]

pub fn indent<'a>(
    &'a self,
    indent_w: impl Into<Option<f32>>
)
[src]

pub fn input_double<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut f64,
    step: impl Into<Option<f64>>,
    step_fast: impl Into<Option<f64>>,
    format: impl Into<Option<&'d CStr>>,
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
) -> bool
[src]

pub fn input_float<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut f32,
    step: impl Into<Option<f32>>,
    step_fast: impl Into<Option<f32>>,
    format: impl Into<Option<&'d CStr>>,
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
) -> bool
[src]

pub fn input_float2<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [f32; 2],
    format: impl Into<Option<&'d CStr>>,
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
) -> bool
[src]

pub fn input_float3<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [f32; 3],
    format: impl Into<Option<&'d CStr>>,
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
) -> bool
[src]

pub fn input_float4<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [f32; 4],
    format: impl Into<Option<&'d CStr>>,
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
) -> bool
[src]

pub fn input_int<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    v: &'c mut i32,
    step: impl Into<Option<i32>>,
    step_fast: impl Into<Option<i32>>,
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
) -> bool
[src]

pub fn input_int2<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [i32; 2],
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
) -> bool
[src]

pub fn input_int3<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [i32; 3],
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
) -> bool
[src]

pub fn input_int4<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [i32; 4],
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
) -> bool
[src]

pub fn invisible_button<'a, 'b>(
    &'a self,
    str_id: &'b CStr,
    size: ImVec2
) -> bool
[src]

pub fn is_any_item_active<'a>(&'a self) -> bool
[src]

pub fn is_any_item_focused<'a>(&'a self) -> bool
[src]

pub fn is_any_item_hovered<'a>(&'a self) -> bool
[src]

pub fn is_any_mouse_down<'a>(&'a self) -> bool
[src]

pub fn is_item_active<'a>(&'a self) -> bool
[src]

pub fn is_item_clicked<'a>(
    &'a self,
    mouse_button: impl Into<Option<i32>>
) -> bool
[src]

pub fn is_item_deactivated<'a>(&'a self) -> bool
[src]

pub fn is_item_deactivated_after_edit<'a>(&'a self) -> bool
[src]

pub fn is_item_edited<'a>(&'a self) -> bool
[src]

pub fn is_item_focused<'a>(&'a self) -> bool
[src]

pub fn is_item_hovered<'a>(
    &'a self,
    flags: impl Into<Option<ImGuiHoveredFlags>>
) -> bool
[src]

pub fn is_item_visible<'a>(&'a self) -> bool
[src]

pub fn is_key_down<'a>(&'a self, user_key_index: i32) -> bool
[src]

pub fn is_key_pressed<'a>(
    &'a self,
    user_key_index: i32,
    repeat: impl Into<Option<bool>>
) -> bool
[src]

pub fn is_key_released<'a>(&'a self, user_key_index: i32) -> bool
[src]

pub fn is_mouse_clicked<'a>(
    &'a self,
    button: i32,
    repeat: impl Into<Option<bool>>
) -> bool
[src]

pub fn is_mouse_double_clicked<'a>(&'a self, button: i32) -> bool
[src]

pub fn is_mouse_down<'a>(&'a self, button: i32) -> bool
[src]

pub fn is_mouse_dragging<'a>(
    &'a self,
    button: impl Into<Option<i32>>,
    lock_threshold: impl Into<Option<f32>>
) -> bool
[src]

pub fn is_mouse_hovering_rect<'a>(
    &'a self,
    r_min: ImVec2,
    r_max: ImVec2,
    clip: impl Into<Option<bool>>
) -> bool
[src]

pub fn is_mouse_pos_valid<'a, 'b>(
    &'a self,
    mouse_pos: impl Into<Option<&'b ImVec2>>
) -> bool
[src]

pub fn is_mouse_released<'a>(&'a self, button: i32) -> bool
[src]

pub fn is_popup_open<'a, 'b>(&'a self, str_id: &'b CStr) -> bool
[src]

pub fn is_rect_visible<'a>(&'a self, size: ImVec2) -> bool
[src]

pub fn is_rect_visible_vec2<'a>(
    &'a self,
    rect_min: ImVec2,
    rect_max: ImVec2
) -> bool
[src]

pub fn is_window_appearing<'a>(&'a self) -> bool
[src]

pub fn is_window_collapsed<'a>(&'a self) -> bool
[src]

pub fn is_window_focused<'a>(
    &'a self,
    flags: impl Into<Option<ImGuiFocusedFlags>>
) -> bool
[src]

pub fn is_window_hovered<'a>(
    &'a self,
    flags: impl Into<Option<ImGuiHoveredFlags>>
) -> bool
[src]

pub fn label_text<'a, 'b, 'c>(&'a self, label: &'b CStr, fmt: &'c CStr)
[src]

pub fn list_box_header_vec2<'a, 'b>(
    &'a self,
    label: &'b CStr,
    size: impl Into<Option<ImVec2>>
) -> bool
[src]

pub fn list_box_header_int<'a, 'b>(
    &'a self,
    label: &'b CStr,
    items_count: i32,
    height_in_items: impl Into<Option<i32>>
) -> bool
[src]

pub fn load_ini_settings_from_disk<'a, 'b>(&'a self, ini_filename: &'b CStr)
[src]

pub fn load_ini_settings_from_memory<'a, 'b>(
    &'a self,
    ini_data: &'b CStr,
    ini_size: impl Into<Option<usize>>
)
[src]

pub fn log_buttons<'a>(&'a self)
[src]

pub fn log_finish<'a>(&'a self)
[src]

pub fn log_text<'a, 'b>(&'a self, fmt: &'b CStr)
[src]

pub fn log_to_clipboard<'a>(
    &'a self,
    max_depth: impl Into<Option<i32>>
)
[src]

pub fn log_to_file<'a, 'b>(
    &'a self,
    max_depth: impl Into<Option<i32>>,
    filename: impl Into<Option<&'b CStr>>
)
[src]

pub fn log_to_tty<'a>(
    &'a self,
    max_depth: impl Into<Option<i32>>
)
[src]

pub fn new_frame<'a>(&'a self)
[src]

pub fn new_line<'a>(&'a self)
[src]

pub fn next_column<'a>(&'a self)
[src]

pub fn open_popup<'a, 'b>(&'a self, str_id: &'b CStr)
[src]

pub fn open_popup_on_item_click<'a, 'b>(
    &'a self,
    str_id: impl Into<Option<&'b CStr>>,
    mouse_button: impl Into<Option<i32>>
) -> bool
[src]

pub fn plot_histogram_float_ptr<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    values: &'c f32,
    values_count: i32,
    values_offset: impl Into<Option<i32>>,
    overlay_text: impl Into<Option<&'d CStr>>,
    scale_min: impl Into<Option<f32>>,
    scale_max: impl Into<Option<f32>>,
    graph_size: impl Into<Option<ImVec2>>,
    stride: impl Into<Option<i32>>
)
[src]

pub fn plot_lines<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    values: &'c f32,
    values_count: i32,
    values_offset: impl Into<Option<i32>>,
    overlay_text: impl Into<Option<&'d CStr>>,
    scale_min: impl Into<Option<f32>>,
    scale_max: impl Into<Option<f32>>,
    graph_size: impl Into<Option<ImVec2>>,
    stride: impl Into<Option<i32>>
)
[src]

pub fn pop_allow_keyboard_focus<'a>(&'a self)
[src]

pub fn pop_button_repeat<'a>(&'a self)
[src]

pub fn pop_clip_rect<'a>(&'a self)
[src]

pub fn pop_font<'a>(&'a self)
[src]

pub fn pop_id<'a>(&'a self)
[src]

pub fn pop_item_width<'a>(&'a self)
[src]

pub fn pop_style_color<'a>(
    &'a self,
    count: impl Into<Option<i32>>
)
[src]

pub fn pop_style_var<'a>(
    &'a self,
    count: impl Into<Option<i32>>
)
[src]

pub fn pop_text_wrap_pos<'a>(&'a self)
[src]

pub fn progress_bar<'a, 'b>(
    &'a self,
    fraction: f32,
    size_arg: impl Into<Option<ImVec2>>,
    overlay: impl Into<Option<&'b CStr>>
)
[src]

pub fn push_allow_keyboard_focus<'a>(&'a self, allow_keyboard_focus: bool)
[src]

pub fn push_button_repeat<'a>(&'a self, repeat: bool)
[src]

pub fn push_clip_rect<'a>(
    &'a self,
    clip_rect_min: ImVec2,
    clip_rect_max: ImVec2,
    intersect_with_current_clip_rect: bool
)
[src]

pub fn push_id_str<'a, 'b>(&'a self, str_id: &'b CStr)
[src]

pub fn push_id_range<'a, 'b, 'c>(
    &'a self,
    str_id_begin: &'b CStr,
    str_id_end: &'c CStr
)
[src]

pub fn push_id_int<'a>(&'a self, int_id: i32)
[src]

pub fn push_item_width<'a>(&'a self, item_width: f32)
[src]

pub fn push_style_color_u32<'a>(&'a self, idx: ImGuiCol, col: u32)
[src]

pub fn push_style_color<'a>(&'a self, idx: ImGuiCol, col: ImVec4)
[src]

pub fn push_style_var_float<'a>(&'a self, idx: ImGuiStyleVar, val: f32)
[src]

pub fn push_style_var_vec2<'a>(&'a self, idx: ImGuiStyleVar, val: ImVec2)
[src]

pub fn push_text_wrap_pos<'a>(
    &'a self,
    wrap_pos_x: impl Into<Option<f32>>
)
[src]

pub fn radio_button_bool<'a, 'b>(
    &'a self,
    label: &'b CStr,
    active: bool
) -> bool
[src]

pub fn radio_button_int_ptr<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    v: &'c mut i32,
    v_button: i32
) -> bool
[src]

pub fn render<'a>(&'a self)
[src]

pub fn reset_mouse_drag_delta<'a>(
    &'a self,
    button: impl Into<Option<i32>>
)
[src]

pub fn same_line<'a>(
    &'a self,
    pos_x: impl Into<Option<f32>>,
    spacing_w: impl Into<Option<f32>>
)
[src]

pub fn save_ini_settings_to_disk<'a, 'b>(&'a self, ini_filename: &'b CStr)
[src]

pub fn save_ini_settings_to_memory<'a, 'b>(
    &'a self,
    out_ini_size: impl Into<Option<&'b mut usize>>
) -> String
[src]

pub fn selectable<'a, 'b>(
    &'a self,
    label: &'b CStr,
    selected: impl Into<Option<bool>>,
    flags: impl Into<Option<ImGuiSelectableFlags>>,
    size: impl Into<Option<ImVec2>>
) -> bool
[src]

pub fn selectable_bool_ptr<'a, 'b, 'c>(
    &'a self,
    label: &'b CStr,
    p_selected: &'c mut bool,
    flags: impl Into<Option<ImGuiSelectableFlags>>,
    size: impl Into<Option<ImVec2>>
) -> bool
[src]

pub fn separator<'a>(&'a self)
[src]

pub fn set_clipboard_text<'a, 'b>(&'a self, text: &'b CStr)
[src]

pub fn set_color_edit_options<'a>(&'a self, flags: ImGuiColorEditFlags)
[src]

pub fn set_column_offset<'a>(&'a self, column_index: i32, offset_x: f32)
[src]

pub fn set_column_width<'a>(&'a self, column_index: i32, width: f32)
[src]

pub fn set_cursor_pos<'a>(&'a self, local_pos: ImVec2)
[src]

pub fn set_cursor_pos_x<'a>(&'a self, x: f32)
[src]

pub fn set_cursor_pos_y<'a>(&'a self, y: f32)
[src]

pub fn set_cursor_screen_pos<'a>(&'a self, screen_pos: ImVec2)
[src]

pub fn set_item_allow_overlap<'a>(&'a self)
[src]

pub fn set_item_default_focus<'a>(&'a self)
[src]

pub fn set_keyboard_focus_here<'a>(
    &'a self,
    offset: impl Into<Option<i32>>
)
[src]

pub fn set_mouse_cursor<'a>(&'a self, _type: ImGuiMouseCursor)
[src]

pub fn set_next_tree_node_open<'a>(
    &'a self,
    is_open: bool,
    cond: impl Into<Option<ImGuiCond>>
)
[src]

pub fn set_next_window_bg_alpha<'a>(&'a self, alpha: f32)
[src]

pub fn set_next_window_collapsed<'a>(
    &'a self,
    collapsed: bool,
    cond: impl Into<Option<ImGuiCond>>
)
[src]

pub fn set_next_window_content_size<'a>(&'a self, size: ImVec2)
[src]

pub fn set_next_window_focus<'a>(&'a self)
[src]

pub fn set_next_window_pos<'a>(
    &'a self,
    pos: ImVec2,
    cond: impl Into<Option<ImGuiCond>>,
    pivot: impl Into<Option<ImVec2>>
)
[src]

pub fn set_next_window_size<'a>(
    &'a self,
    size: ImVec2,
    cond: impl Into<Option<ImGuiCond>>
)
[src]

pub fn set_scroll_from_pos_y<'a>(
    &'a self,
    pos_y: f32,
    center_y_ratio: impl Into<Option<f32>>
)
[src]

pub fn set_scroll_here_y<'a>(
    &'a self,
    center_y_ratio: impl Into<Option<f32>>
)
[src]

pub fn set_scroll_x<'a>(&'a self, scroll_x: f32)
[src]

pub fn set_scroll_y<'a>(&'a self, scroll_y: f32)
[src]

pub fn set_tooltip<'a, 'b>(&'a self, fmt: &'b CStr)
[src]

pub fn set_window_collapsed_bool<'a>(
    &'a self,
    collapsed: bool,
    cond: impl Into<Option<ImGuiCond>>
)
[src]

pub fn set_window_collapsed_str<'a, 'b>(
    &'a self,
    name: &'b CStr,
    collapsed: bool,
    cond: impl Into<Option<ImGuiCond>>
)
[src]

pub fn set_window_focus<'a>(&'a self)
[src]

pub fn set_window_focus_str<'a, 'b>(&'a self, name: &'b CStr)
[src]

pub fn set_window_font_scale<'a>(&'a self, scale: f32)
[src]

pub fn set_window_pos_vec2<'a>(
    &'a self,
    pos: ImVec2,
    cond: impl Into<Option<ImGuiCond>>
)
[src]

pub fn set_window_pos_str<'a, 'b>(
    &'a self,
    name: &'b CStr,
    pos: ImVec2,
    cond: impl Into<Option<ImGuiCond>>
)
[src]

pub fn set_window_size_vec2<'a>(
    &'a self,
    size: ImVec2,
    cond: impl Into<Option<ImGuiCond>>
)
[src]

pub fn set_window_size_str<'a, 'b>(
    &'a self,
    name: &'b CStr,
    size: ImVec2,
    cond: impl Into<Option<ImGuiCond>>
)
[src]

pub fn show_about_window<'a, 'b>(
    &'a self,
    p_open: impl Into<Option<&'b mut bool>>
)
[src]

pub fn show_demo_window<'a, 'b>(
    &'a self,
    p_open: impl Into<Option<&'b mut bool>>
)
[src]

pub fn show_font_selector<'a, 'b>(&'a self, label: &'b CStr)
[src]

pub fn show_metrics_window<'a, 'b>(
    &'a self,
    p_open: impl Into<Option<&'b mut bool>>
)
[src]

pub fn show_style_selector<'a, 'b>(&'a self, label: &'b CStr) -> bool
[src]

pub fn show_user_guide<'a>(&'a self)
[src]

pub fn slider_angle<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v_rad: &'c mut f32,
    v_degrees_min: impl Into<Option<f32>>,
    v_degrees_max: impl Into<Option<f32>>,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn slider_float<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut f32,
    v_min: f32,
    v_max: f32,
    format: impl Into<Option<&'d CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn slider_float2<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [f32; 2],
    v_min: f32,
    v_max: f32,
    format: impl Into<Option<&'d CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn slider_float3<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [f32; 3],
    v_min: f32,
    v_max: f32,
    format: impl Into<Option<&'d CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn slider_float4<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [f32; 4],
    v_min: f32,
    v_max: f32,
    format: impl Into<Option<&'d CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn slider_int<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut i32,
    v_min: i32,
    v_max: i32,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn slider_int2<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [i32; 2],
    v_min: i32,
    v_max: i32,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn slider_int3<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [i32; 3],
    v_min: i32,
    v_max: i32,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn slider_int4<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    v: &'c mut [i32; 4],
    v_min: i32,
    v_max: i32,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn small_button<'a, 'b>(&'a self, label: &'b CStr) -> bool
[src]

pub fn spacing<'a>(&'a self)
[src]

pub fn text<'a, 'b>(&'a self, fmt: &'b CStr)
[src]

pub fn text_colored<'a, 'b>(&'a self, col: ImVec4, fmt: &'b CStr)
[src]

pub fn text_disabled<'a, 'b>(&'a self, fmt: &'b CStr)
[src]

pub fn text_wrapped<'a, 'b>(&'a self, fmt: &'b CStr)
[src]

pub fn tree_advance_to_label_pos<'a>(&'a self)
[src]

pub fn tree_node_str<'a, 'b>(&'a self, label: &'b CStr) -> bool
[src]

pub fn tree_node_str_str<'a, 'b, 'c>(
    &'a self,
    str_id: &'b CStr,
    fmt: &'c CStr
) -> bool
[src]

pub fn tree_node_ex_str<'a, 'b>(
    &'a self,
    label: &'b CStr,
    flags: impl Into<Option<ImGuiTreeNodeFlags>>
) -> bool
[src]

pub fn tree_node_ex_str_str<'a, 'b, 'c>(
    &'a self,
    str_id: &'b CStr,
    flags: ImGuiTreeNodeFlags,
    fmt: &'c CStr
) -> bool
[src]

pub fn tree_pop<'a>(&'a self)
[src]

pub fn tree_push_str<'a, 'b>(&'a self, str_id: &'b CStr)
[src]

pub fn unindent<'a>(
    &'a self,
    indent_w: impl Into<Option<f32>>
)
[src]

pub fn v_slider_float<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    size: ImVec2,
    v: &'c mut f32,
    v_min: f32,
    v_max: f32,
    format: impl Into<Option<&'d CStr>>,
    power: impl Into<Option<f32>>
) -> bool
[src]

pub fn v_slider_int<'a, 'b, 'c, 'd>(
    &'a self,
    label: &'b CStr,
    size: ImVec2,
    v: &'c mut i32,
    v_min: i32,
    v_max: i32,
    format: impl Into<Option<&'d CStr>>
) -> bool
[src]

pub fn value_bool<'a, 'b>(&'a self, prefix: &'b CStr, b: bool)
[src]

pub fn value_int<'a, 'b>(&'a self, prefix: &'b CStr, v: i32)
[src]

pub fn value_uint<'a, 'b>(&'a self, prefix: &'b CStr, v: u32)
[src]

pub fn value_float<'a, 'b, 'c>(
    &'a self,
    prefix: &'b CStr,
    v: f32,
    float_format: impl Into<Option<&'c CStr>>
)
[src]

impl ImGui
[src]

pub fn new() -> Result<ImGui, String>
[src]

pub fn input_text(
    &self,
    label: &CStr,
    s: &mut String,
    extra_flags: impl Into<Option<ImGuiInputTextFlags>>
)
[src]

Trait Implementations

impl Clone for ImGui
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for ImGui

impl !Sync for ImGui

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]