substrate::schematic::schema

Trait FromSchema

Source
pub trait FromSchema<S: Schema + ?Sized>: Schema + FromSchema<S> { }
Expand description

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

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<S1: Schema + ?Sized, S2: Schema + ?Sized + FromSchema<S1>> FromSchema<S1> for S2