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; }
Expand description

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

The inner type that is wrapped by Self.

Required methods

Consumes self and returns the inner type.

Returns the reference to the inner type.

Construct Self from the given inner.

Implementations on Foreign Types