Crate ref_cast_impl

source

Attribute Macros§

  • Create a function for a RefCast-style reference cast. Call site gets control of the visibility, function name, argument name, constness, unsafety, and documentation.

Derive Macros§

  • Derive the RefCast trait.
  • Derive that makes the ref_cast_custom attribute able to generate freestanding reference casting functions for a type.