This module is a general interface to
traitcast which does not rely on a
global registry. This makes it more flexible at the cost of having to create
a registry and pass it around. If you do not want to do that, use the root
traitcast module which provides a convenient global registry.
Creates a struct named
Provides methods for casting into the target trait object from other trait objects.
An entry in the table for a particular castable trait. Stores methods to cast into one particular struct that implements the trait.
A registry defining how to cast into some set of traits.