Macro dbn::rtype_ts_out_method_dispatch
source · macro_rules! rtype_ts_out_method_dispatch { ($rec_ref:expr, $ts_out:expr, $this:expr, $generic_method:ident $(,$arg:expr)*) => { ... }; }
Expand description
Specializes a generic method to all record types and dispatches based on the
rtype
and ts_out
.
§Safety
Assumes $rec_ref
contains a record with ts_out
appended. If this is not the
case, the reading the record will read beyond the end of the record.
§Errors
This macro returns an error if the rtype is not recognized.