Type Definition type_level_values::const_wrapper::AsRuntime[][src]

type AsRuntime<Compiletime, Runtime> = ConstWrapper<Compiletime, RuntimeKind<Runtime>>;

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

Methods

impl<T, R> AsRuntime<T, R>
[src]

Trait Implementations

impl<T, R> Eq for AsRuntime<T, R> where
    Self: PartialEq<Self>, 
[src]

impl<T1, T2, R1, R2> PartialEq<AsRuntime<T2, R2>> for AsRuntime<T1, R1> where
    T1: IntoRuntime<R1>,
    T2: IntoRuntime<R2>,
    R1: PartialEq<R2>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T, R> Ord for AsRuntime<T, R> where
    T: IntoRuntime<R>,
    R: Ord
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<T1, T2, R1, R2> PartialOrd<AsRuntime<T2, R2>> for AsRuntime<T1, R1> where
    T1: IntoRuntime<R1>,
    T2: IntoRuntime<R2>,
    R1: PartialOrd<R2>, 
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T, R> IntoRuntime<R> for AsRuntime<T, R> where
    T: IntoRuntime<R>, 
[src]

Gets the runtime equivalent of this ConstValue.

Gets the runtime equivalent of this ConstValue.

Gets the runtime equivalent of this ConstValue.

Gets the runtime equivalent of this ConstValue.

impl<T, Runtime, Field> GetFieldRuntime_<Field, Runtime> for AsRuntime<T, Runtime> where
    T: GetFieldRuntime_<Field, Runtime>, 
[src]

The type of the runtime equivalent of Field.

Returns the runtime value of the field.

Returns a VariantPhantom wrapping the type of the runtime equivalent of Field.

impl<F, FR, Params> CallRef<Params> for AsRuntime<F, FR> where
    F: IntoRuntime<FR>,
    FR: CallRef<Params>, 
[src]

calls this function

impl<F, FR, Params> CallMut<Params> for AsRuntime<F, FR> where
    F: IntoRuntime<FR>,
    FR: CallMut<Params>, 
[src]

calls this function

impl<F, FR, Params> CallInto<Params> for AsRuntime<F, FR> where
    F: IntoRuntime<FR>,
    FR: CallInto<Params>, 
[src]

The return type of this function

calls this function

impl<T, R, Field> Index<Field> for AsRuntime<T, R> where
    T: GetField_<Field>,
    T: GetFieldRuntime_<Field, R>, 
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.