pub trait DynamicObjectRegisterExt: AsRef<TypePlugin> + Sealed + 'static {
// Required methods
fn add_dynamic_interface(
&self,
instance_type: Type,
interface_type: Type,
interface_info: &InterfaceInfo,
);
fn register_dynamic_enum(
&self,
name: &str,
const_static_values: &'static EnumValues,
) -> Type;
fn register_dynamic_flags(
&self,
name: &str,
const_static_values: &'static FlagsValues,
) -> Type;
fn register_dynamic_type(
&self,
parent_type: Type,
type_name: &str,
type_info: &TypeInfo,
flags: TypeFlags,
) -> Type;
}