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

Method apply_style

src/components/button.rs:62–64  ·  view source on GitHub ↗
(&mut self, style: Style)

Source from the content-addressed store, hash-verified

60 }
61
62 fn apply_style(&mut self, style: Style) {
63 self.style = style;
64 }
65
66 fn style_name(&self) -> &str {
67 "button"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected