Derive Macro Pointee
#[derive(Pointee)]
{
// Attributes available to this derive:
#[ptr_meta]
}
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.