scale_info

Trait IntoPortable

source
pub trait IntoPortable {
    type Output;

    // Required method
    fn into_portable(self, registry: &mut Registry) -> Self::Output;
}
Expand description

Convert the type definition into the portable form using a registry.

Required Associated Types§

source

type Output

The portable version of Self.

Required Methods§

source

fn into_portable(self, registry: &mut Registry) -> Self::Output

Convert self to the portable form by using the registry for caching.

Implementations on Foreign Types§

source§

impl IntoPortable for &'static str

source§

type Output = <PortableForm as Form>::String

source§

fn into_portable(self, _registry: &mut Registry) -> Self::Output

Implementors§