Expand description
See the Crates.io page for the README.
Structs§
- Reference
Proxy - A proxy that simply returns a reference to the owned value.
Traits§
- Proxy
ToOwned - Provides a generic way to clone owned values from arbitrary proxies.
- Proxy
View - A type generator that produces a view type for a given lifetime.
- View
Inverse - This trait is implemented for all view types and allows obtaining the proxy that produces this view. It can be used by abstract containers to infer the proxy type from the view type to allow the user to directly name the view type instead of the proxy type. This is only possible because a view type always has a unique proxy type associated with it, which is the one that produces the view. This also means that the definition of these two traits mutually requires both to be defined simultaneously for any view and proxy pair.