2 unstable releases
0.2.0 | Jun 10, 2022 |
---|---|
0.1.0 | Jun 8, 2022 |
#1260 in Asynchronous
8KB
148 lines
Projections
Safe structural pin projections without macros.
This like pin-project-lite but more lite.
Why
Because you want safe structural pin projections without macros for some reason.
Docs
See the docs for usage examples.
lib.rs
:
Safe structural pin projections without macros.
This like pin-project-lite but more lite.
Why
Because you want safe structural pin projections without macros for some reason.
Getting Started
Here's an example of how you would create a public struct in your API that
uses pin projection internally via [Sp
]. This one goes out of it's way
to not allocate (the allocating version is simpler).
Allocating Version