Crate ezty

Source
Expand description

Zero-fuss Any-tools.

The most interesting things this crate provides are:

Structs§

LTy
Just like Ty but it also includes Layout information.
NonStaticTypeId
A TypeId for non-'static types.
Ty
A nicer std:TypeId.

Enums§

TypeId
Either a std:TypeId or a non-'static ezty:NonStaticTypeId.

Traits§

AnyDebug
Like Any, but with Debug, Send, & Sync.

Functions§

pretty
Strips std path-noise from type_name().
type_name
Returns the prettified name of a type, eg "Vec<T>" rather than "alloc::vec::Vec<T>".