Trait tetsy_scale_info::IntoPortable[][src]

pub trait IntoPortable {
    type Output;
    fn into_portable(self, registry: &mut Registry) -> Self::Output;
}

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

Associated Types

type Output[src]

The portable version of Self.

Loading content...

Required methods

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

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

Loading content...

Implementations on Foreign Types

impl IntoPortable for &'static str[src]

type Output = <PortableForm as Form>::String

Loading content...

Implementors

impl IntoPortable for TypeDef[src]

type Output = TypeDef<PortableForm>

impl IntoPortable for Field[src]

type Output = Field<PortableForm>

impl IntoPortable for Path[src]

type Output = Path<PortableForm>

impl IntoPortable for Type[src]

type Output = Type<PortableForm>

impl IntoPortable for TypeDefArray[src]

type Output = TypeDefArray<PortableForm>

impl IntoPortable for TypeDefComposite[src]

type Output = TypeDefComposite<PortableForm>

impl IntoPortable for TypeDefPhantom[src]

type Output = TypeDefPhantom<PortableForm>

impl IntoPortable for TypeDefSequence[src]

type Output = TypeDefSequence<PortableForm>

impl IntoPortable for TypeDefTuple[src]

type Output = TypeDefTuple<PortableForm>

impl IntoPortable for TypeDefVariant[src]

type Output = TypeDefVariant<PortableForm>

impl IntoPortable for Variant[src]

type Output = Variant<PortableForm>

Loading content...