Trait sp_runtime_interface::pass_by::PassByInner [−][src]
pub trait PassByInner: Sized { type Inner: RIType; fn into_inner(self) -> Self::Inner; fn inner(&self) -> &Self::Inner; fn from_inner(inner: Self::Inner) -> Self; }
Trait that needs to be implemented by a type that should be passed between wasm and the host,
by using the inner type. See Inner for more information.
Associated Types
Loading content...Required methods
fn into_inner(self) -> Self::Inner[src]
Consumes self and returns the inner type.
fn inner(&self) -> &Self::Inner[src]
Returns the reference to the inner type.
fn from_inner(inner: Self::Inner) -> Self[src]
Construct Self from the given inner.
Implementations on Foreign Types
impl PassByInner for H160[src]
impl PassByInner for H160[src]impl PassByInner for H256[src]
impl PassByInner for H256[src]impl PassByInner for H512[src]
impl PassByInner for H512[src]