std::type
Import with import std::type.
Exports
Section titled “Exports”Types
type Type
Section titled “type Type”type Type<T>
A type passed as a value.
A type name is a Type<T> value only where a Type<T> is expected, as
in Context.value(context, TraceId). Anywhere else the name keeps its
meaning as a zero-sized value or a constructor.
Two witnesses are equal when they name the same type, and a witness
inspects as Type<TraceId>.
Type.inspect
Section titled “Type.inspect”impl Debug for Type<T>
fn inspect<T>(value: Type<T>) -> String where T: Debug
impl Debug.inspect