Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ horizontal
Method
horizontal
perro_source/core/perro_ui/src/units.rs:147–149 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
145
}
146
147
pub const fn horizontal(self) -> f32 {
148
self.left + self.right
149
}
150
151
pub const fn vertical(self) -> f32 {
152
self.top + self.bottom
Callers
10
ensure_caret_visible
Function · 0.45
auto_layout_content_size
Method · 0.45
absolute_children_content_size
Method · 0.45
h_fill_width
Method · 0.45
h_used_width
Method · 0.45
compute_ui_h_child_rect
Method · 0.45
compute_ui_h_children_rects
Method · 0.45
compute_ui_grid_child_rect
Method · 0.45
compute_ui_grid_children_rects
Method · 0.45
ui_fill_width
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected