Macro kas_macros::align

source ·
align!() { /* proc-macro */ }
Expand description

Make an align widget

This is a small wrapper which adjusts the alignment of its contents.

The alignment specifier may be one or two keywords (space-separated, horizontal component first): default, center, stretch, left, right, top, bottom.

Example

let a = kas::align!(right, "132");
let b = kas::align!(left top, "abc");