Crate kas_macros

Source
Expand description

KAS macros

This crate extends impl-tools.

Macros§

aligned_column
Make an aligned column widget
aligned_row
Make an aligned row widget
cell_collection
Generate an anonymous struct which implements kas::CellCollection
collection
Generate an anonymous struct which implements kas::Collection
column
Make a column widget
float
Make a float widget
grid
Make a grid widget
impl_anon
Construct a single-instance struct
impl_scope
Scope supporting impl Self and advanced attribute macros
list
Make a list widget
row
Make a row widget
widget_index
Index of a child widget

Attribute Macros§

autoimpl
A variant of the standard derive macro
extends
A trait implementation is an extension over some base
impl_default
Implement Default
widget
Attribute to implement the kas::Widget family of traits