Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ set_padding
Method
set_padding
src/style.rs:44–47 ·
view source on GitHub ↗
(mut self, padding: f32)
Source
from the content-addressed store, hash-verified
42
}
43
44
pub fn set_padding(mut self, padding: f32) -> Self {
45
self.padding = padding;
46
self
47
}
48
49
pub fn set_margin(mut self, margin: f32) -> Self {
50
self.margin = margin;
Callers
1
new
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected