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

Method new

src/views/stack.rs:292–297  ·  view source on GitHub ↗
(children: VT)

Source from the content-addressed store, hash-verified

290
291impl<VT: ViewTuple, D: StackDirection> Stack<VT, D> {
292 pub fn new(children: VT) -> Self {
293 Self {
294 children,
295 phantom_direction: std::marker::PhantomData,
296 }
297 }
298
299 pub fn layout_fixed_children(
300 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected