Trait Schematic

Source
pub trait Schematic {
    // Required method
    fn create_schema() -> Schema;
}

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl Schematic for bool

Source§

impl Schematic for f32

Source§

impl Schematic for f64

Source§

impl Schematic for i32

Source§

impl Schematic for i64

Source§

impl Schematic for usize

Source§

impl Schematic for String

Source§

impl<T> Schematic for Option<T>
where T: Schematic + 'static,

Source§

impl<T> Schematic for Vec<T>
where T: Schematic + 'static,

Implementors§

Source§

impl<K, V> Schematic for HashMap<K, V>
where K: Schematic + 'static, V: Schematic + 'static,

Source§

impl<T> Schematic for Color<T>
where T: Schematic + 'static,

Source§

impl<T> Schematic for RealImpl<T>
where T: Float + Schematic + 'static,

Source§

impl<T> Schematic for Vec2<T>
where T: Schematic + 'static,

Source§

impl<T> Schematic for Vec3<T>
where T: Schematic + 'static,

Source§

impl<T> Schematic for Vec4<T>
where T: Schematic + 'static,