Skip to main content

Val

Trait Val 

Source
pub trait Val {
    // Required methods
    fn get_type(&self) -> Type<'_>;
    fn into_inner(self) -> Box<dyn Any>;
}

Required Methods§

Source

fn get_type(&self) -> Type<'_>

Source

fn into_inner(self) -> Box<dyn Any>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§