A macro bundle that builds ResourceRouterBuilders specialized to particular types.
A type that indicates a function either generates a Right(tree, schemaTrees) or a Left(error).
Code-generates a subclass of ResourceRouterBuilder specialized for the Resource type.
Be sure to look over CollectionResourceRouter first, as that is crucial to understanding
the implementation of this macro. The bulk of the router is actually implemented in normal code
within the CollectionResourceRouter class. This macro simply generates a subclass
specialized to provide the glue code to bind to an instance of Resource.
The resource type that we are specializing.
The weak type tag for the resource we are specializing.
A c.Tree corresponding to a ResourceRouterBuilder.