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

Method set_color

src/style.rs:39–42  ·  view source on GitHub ↗
(mut self, color: Color)

Source from the content-addressed store, hash-verified

37 }
38
39 pub fn set_color(mut self, color: Color) -> Self {
40 self.color = color;
41 self
42 }
43
44 pub fn set_padding(mut self, padding: f32) -> Self {
45 self.padding = padding;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected