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§