#[derive(RustSpec)]
{
// Attributes available to this derive:
#[rust_spec]
}
Expand description
Derives RustSpec for a struct, enum, or union.
Add #[rust_spec(custom_drop)] if the type itself implements [Drop].
Add #[rust_spec(custom_niche)] if a struct has a custom niche.