MCPcopy 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_visibleFunction · 0.45
h_fill_widthMethod · 0.45
h_used_widthMethod · 0.45
ui_fill_widthFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected