Trait soroban_sdk::FromVal

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

Used to do conversions between values in the Soroban environment.

Required Methods§

source

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

Implementors§

source§

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