Expand description
Second-generation list item.
TODO(ab): provide some top-level documentation here.
Modulesยง
- button_content ๐
- item_button ๐Abstraction for buttons to be used in list items.
- label_content ๐
- list_item ๐Core list item functionality.
- other_contents ๐
- property_content ๐
- 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.