rune::runtime

Trait MaybeTypeOf

Source
pub trait MaybeTypeOf {
    // Required method
    fn maybe_type_of() -> Result<DocType>;
}
Expand description

A type that might or might not have a concrete type.

Required Methods§

Source

fn maybe_type_of() -> Result<DocType>

Type information for the given type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl MaybeTypeOf for Ordering

Source§

impl MaybeTypeOf for bool

Source§

impl MaybeTypeOf for char

Source§

impl MaybeTypeOf for f32

Source§

impl MaybeTypeOf for f64

Source§

impl MaybeTypeOf for i8

Source§

impl MaybeTypeOf for i16

Source§

impl MaybeTypeOf for i32

Source§

impl MaybeTypeOf for i64

Source§

impl MaybeTypeOf for i128

Source§

impl MaybeTypeOf for isize

Source§

impl MaybeTypeOf for str

Source§

impl MaybeTypeOf for u8

Source§

impl MaybeTypeOf for u16

Source§

impl MaybeTypeOf for u32

Source§

impl MaybeTypeOf for u64

Source§

impl MaybeTypeOf for u128

Source§

impl MaybeTypeOf for ()

Source§

impl MaybeTypeOf for usize

Source§

impl MaybeTypeOf for Error

Source§

impl MaybeTypeOf for String

Available on crate feature alloc only.
Source§

impl MaybeTypeOf for ParseCharError

Source§

impl MaybeTypeOf for Error

Source§

impl MaybeTypeOf for ParseFloatError

Source§

impl MaybeTypeOf for ParseIntError

Source§

impl MaybeTypeOf for Utf8Error

Source§

impl MaybeTypeOf for Error

Available on crate feature std only.
Source§

impl MaybeTypeOf for [u8]

Source§

impl MaybeTypeOf for [Value]

Source§

impl<A> MaybeTypeOf for (A,)
where A: MaybeTypeOf,

Source§

impl<A, B> MaybeTypeOf for (A, B)
where A: MaybeTypeOf, B: MaybeTypeOf,

Source§

impl<A, B, C> MaybeTypeOf for (A, B, C)

Source§

impl<A, B, C, D> MaybeTypeOf for (A, B, C, D)

Source§

impl<A, B, C, D, E> MaybeTypeOf for (A, B, C, D, E)

Source§

impl<A, B, C, D, E, F> MaybeTypeOf for (A, B, C, D, E, F)

Source§

impl<A, B, C, D, E, F, G> MaybeTypeOf for (A, B, C, D, E, F, G)

Source§

impl<A, B, C, D, E, F, G, H> MaybeTypeOf for (A, B, C, D, E, F, G, H)

Source§

impl<A, B, C, D, E, F, G, H, I> MaybeTypeOf for (A, B, C, D, E, F, G, H, I)

Source§

impl<A, B, C, D, E, F, G, H, I, J> MaybeTypeOf for (A, B, C, D, E, F, G, H, I, J)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K> MaybeTypeOf for (A, B, C, D, E, F, G, H, I, J, K)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> MaybeTypeOf for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> MaybeTypeOf for (A, B, C, D, E, F, G, H, I, J, K, L, M)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> MaybeTypeOf for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> MaybeTypeOf for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> MaybeTypeOf for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

Source§

impl<C, B> MaybeTypeOf for ControlFlow<C, B>
where C: MaybeTypeOf, B: MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for Option<T>
where T: MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for &T
where T: ?Sized + MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for &mut T
where T: ?Sized + MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for Vec<T>
where T: MaybeTypeOf,

Available on crate feature alloc only.
Source§

impl<T> MaybeTypeOf for HashMap<String, T>
where T: MaybeTypeOf,

Available on crate feature std only.
Source§

impl<T> MaybeTypeOf for HashMap<String, T>
where T: MaybeTypeOf,

Available on crate feature std only.
Source§

impl<T, E> MaybeTypeOf for Result<T, E>
where T: MaybeTypeOf, E: MaybeTypeOf,

Implementors§

Source§

impl MaybeTypeOf for rune::runtime::ControlFlow

Source§

impl MaybeTypeOf for GeneratorState

Source§

impl MaybeTypeOf for FromUtf8Error

Available on crate feature alloc only.
Source§

impl MaybeTypeOf for Box<str>

Source§

impl MaybeTypeOf for rune::alloc::String

Source§

impl MaybeTypeOf for Bencher

Source§

impl MaybeTypeOf for Format

Source§

impl MaybeTypeOf for Bytes

Source§

impl MaybeTypeOf for Formatter

Source§

impl MaybeTypeOf for Function

Source§

impl MaybeTypeOf for Future

Source§

impl MaybeTypeOf for Generator<Vm>

Source§

impl MaybeTypeOf for Hasher

Source§

impl MaybeTypeOf for Iterator

Source§

impl MaybeTypeOf for Object

Source§

impl MaybeTypeOf for OwnedTuple

Source§

impl MaybeTypeOf for Range

Source§

impl MaybeTypeOf for RangeFrom

Source§

impl MaybeTypeOf for RangeFull

Source§

impl MaybeTypeOf for RangeInclusive

Source§

impl MaybeTypeOf for RangeTo

Source§

impl MaybeTypeOf for RangeToInclusive

Source§

impl MaybeTypeOf for Stream<Vm>

Source§

impl MaybeTypeOf for Tuple

Source§

impl MaybeTypeOf for Type

Source§

impl MaybeTypeOf for Value

Source§

impl MaybeTypeOf for rune::runtime::Vec

Source§

impl<T> MaybeTypeOf for VmResult<T>
where T: MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for rune::alloc::HashMap<String, T>
where T: MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for rune::alloc::HashMap<String, T>
where T: MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for rune::alloc::Vec<T>
where T: MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for Mut<T>
where T: ?Sized + MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for Ref<T>
where T: ?Sized + MaybeTypeOf,

Source§

impl<T> MaybeTypeOf for VecTuple<T>
where T: MaybeTypeOf,