Trait scale_info::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

§

type Output = <PortableForm as Form>::String

source§

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

Implementors§

source§

impl IntoPortable for TypeDef

source§

impl IntoPortable for Field

source§

impl IntoPortable for Path

source§

impl IntoPortable for Type

source§

impl IntoPortable for TypeDefArray

source§

impl IntoPortable for TypeDefBitSequence

source§

impl IntoPortable for TypeDefCompact

source§

impl IntoPortable for TypeDefComposite

source§

impl IntoPortable for TypeDefSequence

source§

impl IntoPortable for TypeDefTuple

source§

impl IntoPortable for TypeDefVariant

source§

impl IntoPortable for TypeParameter

source§

impl IntoPortable for Variant