Module edge_insets

Source
Expand description

Four-sided padding and margin values.

§Examples

use ailloli_ui_core::geometry::edge_insets::EdgeInsets;
assert_eq!(EdgeInsets::all(2.0).horizontal(), 4.0);

Four-sided logical-pixel padding or margin values.

Structs§

EdgeInsets
Padding or margin insets on all four sides (logical pixels).