[][src]Crate erasable

Erase pointers of their concrete type and store type-erased pointers.

This is roughly equivalent to C's void*.

There are two main useful reasons to type erase pointers in Rust:

Structs

Thin

Wrapper struct to create thin pointer types.

Traits

Erasable

A pointee type that supports type-erased pointers (thin pointers).

ErasablePtr

A (smart) pointer type that can be type-erased (making a thin pointer).

Functions

erase

Erase a pointer.

Type Definitions

ErasedPtr

A thin, type-erased pointer.