IntoVal

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<FP2_SERIALIZED_SIZE>> for Fp2

Source§

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

Source§

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

Source§

impl IntoVal<Env, BytesN<G2_SERIALIZED_SIZE>> 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>