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

Class Text

src/components/text.rs:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5use super::Component;
6
7pub struct Text {
8 content: String,
9 style: Style,
10 bounds: Rect,
11}
12
13impl Text {
14 pub fn new<S: Into<String>>(content: S) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected