FromVal

Trait FromVal 

Source
pub trait FromVal<E, T>
where E: Env,
{ // Required method fn from_val(e: &E, v: &T) -> Self; }

Required Methods§

Source

fn from_val(e: &E, v: &T) -> Self

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.

Implementors§

Source§

impl<E, T, U> FromVal<E, T> for U
where E: Env, U: TryFromVal<E, T>,