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

Method set_text_align

src/style.rs:69–72  ·  view source on GitHub ↗
(mut self, align: TextAlign)

Source from the content-addressed store, hash-verified

67 }
68
69 pub fn set_text_align(mut self, align: TextAlign) -> Self {
70 self.text_align = align;
71 self
72 }
73
74 pub fn get_gap(&self) -> f32 {
75 self.gap

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected