Attribute Macro pin_project::project_ref

source · []
#[project_ref]
Expand description

(deprecated) An attribute to provide way to refer to the projected type returned by project_ref method.

This attribute is deprecated. Consider naming projected type by passing project_ref argument to #[pin_project] attribute instead, see release note for details

This is the same as #[project] attribute except it refers to the projected type returned by the project_ref method.

See #[project] attribute for more details.