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.
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.
Log a formated message to the default log.
Won’t write anything if the same message is sent multiple times.
It uses log::info! internally.
It accepts the same formatted messages as format.