Derive Macro ref_cast::RefCastCustom

source ·
#[derive(RefCastCustom)]
{
    // Attributes available to this derive:
    #[trivial]
}
Expand description

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

Please refer to the documentation of #[ref_cast_custom] where these two macros are documented together.