[][src]Struct scale_info::form::PortableForm

pub struct PortableForm<S = &'static str>(_);

Portable form that has its lifetime untracked in association to its interner.

Note

This resolves some lifetime issues with self-referential structs (such as the registry itself) but can no longer be used to resolve to the original underlying data.

type String is owned in order to enable decoding

Trait Implementations

impl<S: Clone> Clone for PortableForm<S>[src]

impl<S: Copy> Copy for PortableForm<S>[src]

impl<S: Debug> Debug for PortableForm<S>[src]

impl<S: Eq> Eq for PortableForm<S>[src]

impl<S> Form for PortableForm<S> where
    S: FormString
[src]

type Type = UntrackedSymbol<TypeId>

The type representing the type.

type String = S

The string type.

impl<S: Ord> Ord for PortableForm<S>[src]

impl<S: PartialEq> PartialEq<PortableForm<S>> for PortableForm<S>[src]

impl<S: PartialOrd> PartialOrd<PortableForm<S>> for PortableForm<S>[src]

impl<S> StructuralEq for PortableForm<S>[src]

impl<S> StructuralPartialEq for PortableForm<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for PortableForm<S> where
    S: RefUnwindSafe
[src]

impl<S> Send for PortableForm<S> where
    S: Send
[src]

impl<S> Sync for PortableForm<S> where
    S: Sync
[src]

impl<S> Unpin for PortableForm<S> where
    S: Unpin
[src]

impl<S> UnwindSafe for PortableForm<S> where
    S: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.