Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/audulus/rui
/ caption
Function
caption
examples/gallery.rs:14–16 ·
view source on GitHub ↗
(s: &'static str)
Source
from the content-addressed store, hash-verified
12
}
13
14
fn caption(s: &'static str) -> impl View {
15
s.font_size(12).padding(Auto)
16
}
17
18
fn knob_example() -> impl View {
19
hstack((
Callers
5
button_example
Function · 0.85
slider_example
Function · 0.85
knob_example
Function · 0.85
toggle_example
Function · 0.85
text_editor_example
Function · 0.85
Calls
2
padding
Method · 0.80
font_size
Method · 0.80
Tested by
no test coverage detected