With the overviews done, let's look at the standard modules.
The standard modules
std::Any
This module enables the dynamic casting of 'static via runtime reflection.
It can be used to obtain a TypeId. When used as a borrowed trait reference (&Any), it can be used to determine whether the value is a given type (using Is) and also to get a reference to the inner value as a type (using downcast_ref). &mut Any will allow access to downcast_mut, which obtains the mutable reference to the inner value. &Any can only be used for testing a specific type and cannot be used to test whether a type implements a trait.
Structs
- TypeId: TypeId is an opaque object that cannot...