Skip to main content

IntoRuntime

Trait IntoRuntime 

Source
pub trait IntoRuntime:
    Sized
    + IntoExpand<Expand = Self::ExpandType>
    + CubeType {
    // Required method
    fn __expand_runtime_method(self, scope: &Scope) -> Self::ExpandType;

    // Provided method
    fn runtime(self) -> Self { ... }
}
Expand description

Trait useful to convert a comptime value into runtime value.

Required Methods§

Provided Methods§

Source

fn runtime(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoRuntime for ()

Source§

impl IntoRuntime for Ordering

Source§

impl IntoRuntime for bf16

Source§

impl IntoRuntime for bool

Source§

impl IntoRuntime for f16

Source§

impl IntoRuntime for f32

Source§

impl IntoRuntime for f64

Source§

impl IntoRuntime for i8

Source§

impl IntoRuntime for i16

Source§

impl IntoRuntime for i32

Source§

impl IntoRuntime for i64

Source§

impl IntoRuntime for isize

Source§

impl IntoRuntime for u8

Source§

impl IntoRuntime for u16

Source§

impl IntoRuntime for u32

Source§

impl IntoRuntime for u64

Source§

impl IntoRuntime for usize

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> IntoRuntime for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10> IntoRuntime for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9> IntoRuntime for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8> IntoRuntime for (P0, P1, P2, P3, P4, P5, P6, P7, P8)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7> IntoRuntime for (P0, P1, P2, P3, P4, P5, P6, P7)

Source§

impl<P0, P1, P2, P3, P4, P5, P6> IntoRuntime for (P0, P1, P2, P3, P4, P5, P6)

Source§

impl<P0, P1, P2, P3, P4, P5> IntoRuntime for (P0, P1, P2, P3, P4, P5)

Source§

impl<P0, P1, P2, P3, P4> IntoRuntime for (P0, P1, P2, P3, P4)

Source§

impl<P0, P1, P2, P3> IntoRuntime for (P0, P1, P2, P3)

Source§

impl<P0, P1, P2> IntoRuntime for (P0, P1, P2)
where P0: IntoRuntime, P1: IntoRuntime, P2: IntoRuntime,

Source§

impl<P0, P1> IntoRuntime for (P0, P1)
where P0: IntoRuntime, P1: IntoRuntime,

Source§

impl<P0> IntoRuntime for (P0,)
where P0: IntoRuntime,

Source§

impl<T> IntoRuntime for Option<T>

Implementors§