Module type_level_values::const_wrapper[][src]

Structs

AssertValidKind

To instantiate a runtime value of this function use Type::PW/<Type>::PW.

ConstWrapper

ConstWrapper type for compiletime-values.

ConstWrapperCC

The ConstConstructor for a ConstWrapper.

PhantomKind

Requires that ConstWrapper act as a PhantomData.

RuntimeKind

Requires that ConstWrapper uses the runtime value of the type whenever possible.

WrapperType

Const-type of all ConstWrapper values.

Traits

AsConstWrapper
WrapperKindType

Type-level enum which represents which kind of ConstWrapper ConstWrapper is.

WrapperTrait

Trait used to access the type parameters of ConstWrapper in a generic context.

Type Definitions

AsRuntime

A ConstWrapper type for compile-time values which implements many traits using the runtime type.

ConstWrapperFromTrait

Creates a ConstWrapper from a generic type which implements WrapperTrait.

GetConstValue

Gets the ConstValue associated type from a WrapperTrait implementor.

GetWrapperKind

Gets the Kind associated type from a WrapperTrait implementor.

PhantomWrapper

A ConstWrapper alias,used for compile-time values, which implements many traits.
Some impls for this are on ConstWrapper<Compiletime,PhantomKind>.