Expand description
Second-generation list item.
TODO(ab): provide some top-level documentation here.
Modules§
- Abstraction for buttons to be used in list items.
- Core list item functionality.
- scope 🔒
Structs§
- Simple
ListItemContent
to easily display a button in acrate::list_item::ListItem
-based UI. - Context provided to
ListItemContent
implementations ListItemContent
that delegates to a closure.ListItemContent
that displays the content rect.- An
super::ItemButton
that acts as an action button. - An
super::ItemButton
that acts as a popup menu. ListItemContent
that displays a simple label with optional icon and buttons.- Layout information prepared by
list_item_scope
to be used bysuper::ListItemContent
. - Content-generic list item.
ListItemContent
to display property-like, two-column content, with the left column containing a label (along with an optional icon) and the right column containing some custom value (which may be editable).- Responses returned by
ListItem::show_hierarchical_with_children
.
Enums§
Traits§
- A button that can be used by a list item.
Functions§
- Create a scope in which
[ListItem]
s can be created.