logo
pub struct Ui {
Show 53 fields pub is_scrolling: bool, pub is_typing: bool, pub enabled: bool, pub is_started: bool, pub is_pushed: bool, pub is_hovered: bool, pub is_released: bool, pub changed: bool, pub image_invert_y: bool, pub scroll_enabled: bool, pub always_redraw: bool, pub highlight_on_select: bool, pub tab_switch_enabled: bool, pub window_border_top: u32, pub window_border_bottom: u32, pub window_border_left: u32, pub window_border_right: u32, pub touch_controls: bool, pub input_registered: bool, pub input_enabled: bool, pub input_x: f32, pub input_y: f32, pub input_started_x: f32, pub input_started_y: f32, pub input_dx: f32, pub input_dy: f32, pub input_wheel_delta: i32, pub input_started: bool, pub input_started_r: bool, pub input_released: bool, pub input_released_r: bool, pub input_down: bool, pub input_down_r: bool, pub is_key_pressed: bool, pub is_key_down: bool, pub is_shift_down: bool, pub is_ctrl_down: bool, pub is_alt_down: bool, pub is_adown: bool, pub is_backspace_down: bool, pub is_delete_down: bool, pub is_escape_down: bool, pub is_return_down: bool, pub is_tab_down: bool, pub key: Option<VirtualKeyCode>, pub char: char, pub painter: Painter, pub theme: Theme, pub ops: UiOptions, pub x: f32, pub y: f32, pub w: f32, pub h: f32, /* private fields */
}

Fields

is_scrolling: boolis_typing: boolenabled: boolis_started: boolis_pushed: boolis_hovered: boolis_released: boolchanged: boolimage_invert_y: boolscroll_enabled: boolalways_redraw: boolhighlight_on_select: booltab_switch_enabled: boolwindow_border_top: u32window_border_bottom: u32window_border_left: u32window_border_right: u32touch_controls: boolinput_registered: boolinput_enabled: boolinput_x: f32input_y: f32input_started_x: f32input_started_y: f32input_dx: f32input_dy: f32input_wheel_delta: i32input_started: boolinput_started_r: boolinput_released: boolinput_released_r: boolinput_down: boolinput_down_r: boolis_key_pressed: boolis_key_down: boolis_shift_down: boolis_ctrl_down: boolis_alt_down: boolis_adown: boolis_backspace_down: boolis_delete_down: boolis_escape_down: boolis_return_down: boolis_tab_down: boolkey: Option<VirtualKeyCode>char: charpainter: Paintertheme: Themeops: UiOptionsx: f32y: f32w: f32h: f32

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Typed getter

Inspect the context.

Inspect the context.

Inspect the context.

Calls U::from(self).

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

Convert into color

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Sets value as a parameter of self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.