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

Class Style

src/style.rs:2–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#[derive(Clone, Debug, Default)]
2pub struct Style {
3 pub background: Color,
4 pub color: Color,
5 pub padding: f32,
6 pub margin: f32,
7 pub gap: f32,
8 pub font_size: f32,
9 pub border_radius: f32,
10 pub text_align: TextAlign,
11}
12
13#[derive(Clone, Copy, Debug, Default)]
14pub struct Color {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected