devela::_dep::rkyv::ptr_meta

Derive Macro Pointee

#[derive(Pointee)]
{
    // Attributes available to this derive:
    #[ptr_meta]
}
Available on crate feature dep_rkyv only.
Expand description

Derives Pointee for the labeled struct which has a trailing DST.

ยงAttributes

Additional arguments can be specified using attributes.

#[ptr_meta(...)] accepts the following arguments:

  • crate = ...: Chooses an alternative crate path to import ptr_meta from.