MCPcopy Create free account
hub / github.com/audulus/rui / hstack

Function hstack

src/views/stack.rs:340–342  ·  view source on GitHub ↗

Horizontal stack of up to 128 Views in a tuple. Each item can be a different view type.

(children: VT)

Source from the content-addressed store, hash-verified

338
339/// Horizontal stack of up to 128 Views in a tuple. Each item can be a different view type.
340pub fn hstack<VT: ViewTuple + 'static>(children: VT) -> Stack<VT, HorizontalDirection> {
341 Stack::<VT, HorizontalDirection>::new(children)
342}
343
344/// Vertical stack of up to 128 Views in a tuple. Each item can be a different view type.
345pub fn vstack<VT: ViewTuple + 'static>(children: VT) -> Stack<VT, VerticalDirection> {

Callers 15

test_two_tappable_viewsFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
add_buttonFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_two_tappable_viewsFunction · 0.68