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.

Object Safety§

This trait is not object safe.

Implementors§

source§

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