Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ with_style
Method
with_style
src/components/text.rs:22–25 ·
view source on GitHub ↗
(mut self, style: Style)
Source
from the content-addressed store, hash-verified
20
}
21
22
pub fn with_style(mut self, style: Style) -> Self {
23
self.style = style;
24
self
25
}
26
}
27
28
impl Component for Text {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected