pub trait StructFieldType: Clone + Sized + InitializerValidator {
    // Required method
    fn create_struct_type(
        v: Handle<Struct<Self, Unvalidated>>
    ) -> StructType<Unvalidated>;
}

Required Methods§

source

fn create_struct_type( v: Handle<Struct<Self, Unvalidated>> ) -> StructType<Unvalidated>

convert a structure to a StructType

Object Safety§

This trait is not object safe.

Implementors§