macro_rules! impl_selectable { ($struct:ident) => { ... }; }
Expand description
Implement the SelectableContent for struct $struc with content type $content_type.
This trait allows to navigate through a vector of element content_type.
It implements: is_empty, len, next, prev, selected.
selected returns an optional reference to the value.