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

Method with_style

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

Source from the content-addressed store, hash-verified

27 }
28
29 pub fn with_style(mut self, style: Style) -> Self {
30 self.style = style;
31 self
32 }
33
34 pub fn on_click<F>(mut self, callback: F) -> Self
35 where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected