use-spacing
Spacing scale and box-edge primitives for RustUse UI.
Purpose
use-spacing models named spacing steps, numeric scale values, insets, outsets, gaps, padding, and margin metadata. It does not generate CSS or perform renderer-specific layout.
Example
use ;
let scale = new;
let medium = from_step;
let gap = new;
assert_eq!;
assert_eq!;
Main types
SpacingScaleSpacingStepSpacingValueInsetOutsetGapPaddingMargin
Facade relationship
The use-ui facade exposes this crate as use_ui::spacing when the spacing or full feature is enabled.