Skip to main content

Crate console_display_macros

Crate console_display_macros 

Source

Derive Macrosยง

DynamicWidget
Derives DynamicWidget for a struct. Sets the width and height in characters to the dimensions of the child element.
SingleWidget
Derives SingleWidget for a struct. Implements getter (+ mut) for the child element assuming the child is of type T.
StaticWidget
Derives StaticWidget for a struct. Sets the width and height in characters to the dimensions of the child element.
TwoWidget
Derives TwoWidget for a struct. Implements getter (+ mut) for the child elements assuming the children are of type S and T respectively.