soroban_sdk

Trait IntoVal

source
pub trait IntoVal<E: Env, T> {
    // Required method
    fn into_val(&self, e: &E) -> T;
}
Expand description

Used to do conversions between values in the Soroban environment.

Required Methods§

source

fn into_val(&self, e: &E) -> T

Implementors§

source§

impl IntoVal<Env, BytesN<48>> for Fp

source§

impl IntoVal<Env, BytesN<96>> for Fp2

source§

impl IntoVal<Env, BytesN<96>> for G1Affine

source§

impl IntoVal<Env, BytesN<192>> for G2Affine

source§

impl IntoVal<Env, Val> for Fp2

source§

impl IntoVal<Env, Val> for Fp

source§

impl IntoVal<Env, Val> for G1Affine

source§

impl IntoVal<Env, Val> for G2Affine

source§

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

source§

impl<const N: usize> IntoVal<Env, BytesN<N>> for Hash<N>

source§

impl<const N: usize> IntoVal<Env, Val> for Hash<N>