Macro dbn::rtype_dispatch
source · macro_rules! rtype_dispatch { ($rec_ref:expr, $generic_fn:expr $(,$arg:expr)*) => { ... }; }
Expand description
Specializes a generic function to all record types and dispatches based rtype
.
§Errors
This macro returns an error if the rtype is not recognized.