MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / with_layout

Method with_layout

src/components/view.rs:30–33  ·  view source on GitHub ↗
(mut self, layout: Layout)

Source from the content-addressed store, hash-verified

28 }
29
30 pub fn with_layout(mut self, layout: Layout) -> Self {
31 self.layout = layout;
32 self
33 }
34
35 pub fn with_style(mut self, style: Style) -> Self {
36 self.style = style;

Callers 4

rebuild_uiMethod · 0.80
build_todo_listMethod · 0.80
rebuild_uiMethod · 0.80
build_todo_listMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected