Expand description
KAS macros
This crate extends impl-tools
.
Macros§
- cell_
collection - Generate an anonymous struct which implements
kas::CellCollection
- collection
- Generate an anonymous struct which implements
kas::Collection
- impl_
anon - Construct a single-instance struct
- impl_
scope - Scope supporting
impl Self
and advanced attribute macros - widget_
index - Index of a child widget
- widget_
set_ rect - Macro to set the
rect
stored in the widget core
Attribute Macros§
- autoimpl
- A variant of the standard
derive
macro - derive_
widget - Derive the
Widget
family of traits - extends
- A trait implementation is an extension over some base
- impl_
default - Implement
Default
- impl_
self - Implement a type with
impl Self
syntax - layout
- Provide a default implementation of the
Layout
trait for a widget - widget
- Attribute to implement the
kas::Widget
family of traits