dbn

Macro 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.