Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/audulus/rui
/ functions
Functions
680 in github.com/audulus/rui
⨍
Functions
680
◇
Types & classes
159
Method
new
(children: VT)
src/views/stack.rs:292
Method
new
(child: V)
src/views/flex.rs:82
Method
new
(id: ViewId)
src/views/state.rs:22
Method
new
(child: impl View)
src/views/anyview.rs:17
Method
new
(child: V, background: BG)
src/views/background.rs:104
Method
new
()
src/views/text_editor.rs:239
Method
new
(child: V, func: F)
src/views/anim.rs:15
Method
new
(child: V, size: LocalSize)
src/views/size.rs:87
Method
new
(v: V, f: F)
src/views/tap.rs:75
Method
new
(child: V, env_val: E)
src/views/env.rs:106
Method
new
(v: V, f: F)
src/views/drag.rs:110
Method
new
(child: V, f: F)
src/views/geom.rs:98
Method
new
(child: V, offset: LocalOffset)
src/views/offset.rs:86
Method
new
()
src/views/toggle.rs:7
Method
new
()
examples/counter_redux_redux.rs:16
Method
new
()
examples/counter_redux.rs:14
Method
new
()
examples/counter_redux_nested.rs:17
Method
new
()
examples/calculator/src/calculator.rs:113
Method
new
Creates a new MIDI note with the specified note type and octave # Arguments `note` - The type of note (C, C#, D, etc.) `octave` - The octave number
examples/synth/src/midi_keyboard.rs:121
Method
new
(attack: f32, decay: f32, sustain: f32, release: f32)
examples/synth/src/synth/mod.rs:26
Method
new
Create a new configuration with custom parameters
examples/synth/src/synth/oscillator.rs:35
Method
new_pressed
(v: V, f: F)
src/views/key.rs:24
Method
new_released
(v: V, f: F)
src/views/key.rs:32
Method
offset
Applies an offset to the view in local space.
src/modifiers.rs:123
Method
process
Processes an event.
src/view.rs:73
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/command.rs:32
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/modview.rs:23
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/role.rs:25
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/window.rs:27
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/clip.rs:26
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/hover.rs:66
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/touch.rs:97
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/handle.rs:45
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/padding.rs:15
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/stack.rs:49
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/flex.rs:14
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/state.rs:57
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/anyview.rs:39
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/background.rs:16
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/anim.rs:25
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/size.rs:18
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/cond.rs:17
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/env.rs:17
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/focus.rs:15
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/geom.rs:16
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/list.rs:25
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/offset.rs:15
Method
process
( &self, event: &Event, path: &mut IdPath, cx: &mut Context, actions:
src/views/map.rs:18
Function
reduce
(state: &mut AppState, action: &Action)
examples/counter_redux_redux.rs:21
Function
reduce
(state: &mut AppState, action: &Action)
examples/counter_redux.rs:19
Function
reduce
(state: &mut AppState, action: &Action)
examples/counter_redux_nested.rs:22
Function
reduce_local
(state: &mut LocalState, action: &LocalAction)
examples/counter_redux_redux.rs:37
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
src/winit_event_loop.rs:181
Method
rounded_corners
Enable rounded corners for the calculator frame. Particularly useful when the calculator is displayed as a widget.
examples/calculator/src/calculator.rs:76
Method
sample_rate
Set sample rate
examples/synth/src/synth/oscillator.rs:40
Method
sawtooth
(freq: f32)
examples/synth/src/synth/oscillator.rs:203
Method
set_rect
Replaces this region with a single rectangle.
src/region.rs:27
Function
setter
(binding: impl Binding<S>)
src/binding.rs:17
Method
setter
Makes it convenient to get a function to set the value.
src/views/state.rs:30
Method
show
(self, on: impl Binding<bool>)
src/views/toggle.rs:65
Method
sine
Create oscillators for different wave types with default configuration
examples/synth/src/synth/oscillator.rs:195
Method
size
Constrains the size of a view.
src/modifiers.rs:138
Method
square
(freq: f32)
examples/synth/src/synth/oscillator.rs:199
Method
sub_assign
(&mut self, rhs: Vector2D<f32, Space>)
src/region.rs:83
Method
sum_counters
(&self)
examples/counter_list.rs:51
Method
tap
Calls a function in response to a tap.
src/modifiers.rs:143
Method
tap_p
Version of `tap` which passes the tap position and mouse button.
src/modifiers.rs:157
Function
test_align
()
src/align.rs:102
Function
test_align_h
()
src/align.rs:68
Function
test_align_v
()
src/align.rs:85
Function
test_arrow_keys
()
src/views/text_editor.rs:486
Function
test_bind
()
src/binding.rs:109
Function
test_button
()
src/lib.rs:76
Function
test_button
()
src/views/button.rs:64
Function
test_circle_hittest_inside
()
src/views/shapes.rs:163
Function
test_circle_hittest_outside
()
src/views/shapes.rs:181
Function
test_circle_layout_fills_available
()
src/views/shapes.rs:146
Function
test_cond_false_uses_second_view
()
src/views/cond.rs:156
Function
test_cond_switches
()
src/test_harness.rs:401
Function
test_cond_true_uses_first_view
()
src/views/cond.rs:135
Function
test_cursor_pos_at_end
()
src/views/text_editor.rs:307
Function
test_cursor_pos_empty
()
src/views/text_editor.rs:316
Function
test_cursor_pos_middle
()
src/views/text_editor.rs:299
Function
test_delete_empty_selection
()
src/views/text_editor.rs:388
Function
test_delete_selection
()
src/views/text_editor.rs:377
Function
test_down_at_last_line_stays
()
src/views/text_editor.rs:521
Function
test_drag
()
src/views/drag.rs:257
Function
test_drag_gesture_states
()
src/test_harness.rs:240
Function
test_emptyview_zero_size
()
src/views/emptyview.rs:20
Function
test_find_line
()
src/views/text_editor.rs:529
Function
test_fwd_and_back
()
src/views/text_editor.rs:324
Function
test_fwd_clamps_at_end
()
src/views/text_editor.rs:340
Function
test_horizontal_list_layout
()
src/views/list.rs:296
Function
test_key_backspace
()
src/views/text_editor.rs:414
Function
test_key_backspace_at_start
()
src/views/text_editor.rs:422
Function
test_key_backspace_with_selection
()
src/views/text_editor.rs:430
Function
test_key_character
()
src/views/text_editor.rs:398
Function
test_key_character_replaces_selection
()
src/views/text_editor.rs:476
Function
test_key_delete
()
src/views/text_editor.rs:440
Function
test_key_delete_at_end
()
src/views/text_editor.rs:448
← previous
next →
501–600 of 680, ranked by callers