Expand description
Exposes the list of all known DataMarkers.
This is modeled as a macro that accepts a callback macro of the shape:
macro_rules! cb {
($($marker_ty:ty:$marker:ident,)+ #[experimental] $($emarker_ty:ty:$emarker:ident,)+) => {
// Do something for each marker, or each experimental marker
};
}Calling this as registry!(cb); evaluates cb with the list of markers.
Macrosยง
- registry
- See the crate docs.