substrate::schematic::schema

Trait Schema

Source
pub trait Schema:
    Schema<Primitive = Self::Primitive>
    + Send
    + Sync
    + Any {
    type Primitive: Primitive;
}
Expand description

A Substrate wrapper for scir::schema::Schema.

This trait should never be directly implemented. Implementing scir::schema::Schema should suffice provided that the necessary trait bounds are satisfied.

Required Associated Types§

Source

type Primitive: Primitive

A primitive used for storing arbitrary data that is opaque to SCIR.

Implementors§

Source§

impl<T: Schema<Primitive = impl Primitive> + Send + Sync + Any> Schema for T