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

Method set_margin

src/style.rs:49–52  ·  view source on GitHub ↗
(mut self, margin: f32)

Source from the content-addressed store, hash-verified

47 }
48
49 pub fn set_margin(mut self, margin: f32) -> Self {
50 self.margin = margin;
51 self
52 }
53
54 pub fn set_gap(mut self, gap: f32) -> Self {
55 self.gap = gap;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected