Trait mun_runtime::ArgumentReflection[][src]

pub trait ArgumentReflection: Sized {
    fn type_guid(&self, runtime: &Runtime) -> Guid;
fn type_name<'r>(&'r self, runtime: &'r Runtime) -> &'r str; }

A type to emulate dynamic typing across compilation units for statically typed values.

Required methods

fn type_guid(&self, runtime: &Runtime) -> Guid[src]

Retrieves the Guid of the value’s type.

fn type_name<'r>(&'r self, runtime: &'r Runtime) -> &'r str[src]

Retrieves the name of the value’s type.

Loading content...

Implementations on Foreign Types

impl ArgumentReflection for i8[src]

impl ArgumentReflection for i16[src]

impl ArgumentReflection for i32[src]

impl ArgumentReflection for i64[src]

impl ArgumentReflection for i128[src]

impl ArgumentReflection for isize[src]

impl ArgumentReflection for u8[src]

impl ArgumentReflection for u16[src]

impl ArgumentReflection for u32[src]

impl ArgumentReflection for u64[src]

impl ArgumentReflection for u128[src]

impl ArgumentReflection for usize[src]

impl ArgumentReflection for f32[src]

impl ArgumentReflection for f64[src]

impl ArgumentReflection for bool[src]

impl<T> ArgumentReflection for *const T where
    *const T: HasStaticTypeInfo
[src]

impl<T> ArgumentReflection for *mut T where
    *mut T: HasStaticTypeInfo
[src]

Loading content...

Implementors

impl<'r> ArgumentReflection for StructRef<'r>[src]

Loading content...