Trait scale_info::form::Form

source ·
pub trait Form {
    type Type: PartialEq + Eq + PartialOrd + Ord + Clone + Debug + JsonSchemaMaybe;
    type String: AsRef<str> + PartialEq + Eq + PartialOrd + Ord + Clone + Debug + JsonSchemaMaybe;
}
Expand description

Trait to control the internal structures of type definitions.

This allows for type-level separation between free forms that can be instantiated out of the flux and portable forms that require some sort of interning data structures.

Required Associated Types§

source

type Type: PartialEq + Eq + PartialOrd + Ord + Clone + Debug + JsonSchemaMaybe

The type representing the type.

source

type String: AsRef<str> + PartialEq + Eq + PartialOrd + Ord + Clone + Debug + JsonSchemaMaybe

The string type.

Object Safety§

This trait is not object safe.

Implementors§