Attribute Macros§
- ref_
cast_ custom - Create a function for a RefCast-style reference cast. Call site gets control
of the visibility, function name, argument name,
const
ness, unsafety, and documentation.
Derive Macros§
- RefCast
- Derive the
RefCast
trait. - RefCast
Custom - Derive that makes the
ref_cast_custom
attribute able to generate freestanding reference casting functions for a type.