Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ new
Method
new
src/style.rs:30–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
29
impl Style {
30
pub fn new() -> Self {
31
Self::default()
32
}
33
34
pub fn set_background(mut self, color: Color) -> Self {
35
self.background = color;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected