Trait soroban_env_common::Val
source · pub trait Val: AsRef<RawVal> + AsMut<RawVal> + Into<RawVal> + Clone { }
Expand description
Val is either RawVal or one of the wrapper types, all of which
can be AsRef
/AsMut
’ed to RawVal
.
This is a sort of workaround for Rust not having inheritance.