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

Method with_style

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

Source from the content-addressed store, hash-verified

33 }
34
35 pub fn with_style(mut self, style: Style) -> Self {
36 self.style = style;
37 self
38 }
39
40 pub fn style(&self) -> &Style {
41 &self.style

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected