[go: up one dir, main page]

Pointee

Derive Macro Pointee 

Source
#[derive(Pointee)]
{
    // Attributes available to this derive:
    #[ptr_meta]
}
Available on crate feature derive 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.