Derive Macro ptr_meta_derive::Pointee

source ·
#[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.