Skip to main content

IFrameworkReflectionBaseMethods

Trait IFrameworkReflectionBaseMethods 

Source
pub trait IFrameworkReflectionBaseMethods: IFrameworkReflectionBase {
    // Provided methods
    fn get_type_info_from_type(self, t: impl Into<SystemType>) -> SystemType { ... }
    fn get_assembly(self, t: impl Into<SystemType>) -> Assembly { ... }
    fn get_base_type(self, t: impl Into<SystemType>) -> SystemType { ... }
    fn is_value_type(self, t: impl Into<SystemType>) -> bool { ... }
    fn is_interface(self, t: impl Into<SystemType>) -> bool { ... }
    fn is_nested_public(self, t: impl Into<SystemType>) -> bool { ... }
    fn is_abstract(self, t: impl Into<SystemType>) -> bool { ... }
    fn is_enum(self, t: impl Into<SystemType>) -> bool { ... }
    fn is_generic_type_definition(self, t: impl Into<SystemType>) -> bool { ... }
    fn is_generic_type(self, t: impl Into<SystemType>) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_type_info_from_type(self, t: impl Into<SystemType>) -> SystemType

GetTypeInfoFromType(::unity::SystemType) overload

Source

fn get_assembly(self, t: impl Into<SystemType>) -> Assembly

GetAssembly(::unity::SystemType) overload

Source

fn get_base_type(self, t: impl Into<SystemType>) -> SystemType

GetBaseType(::unity::SystemType) overload

Source

fn is_value_type(self, t: impl Into<SystemType>) -> bool

IsValueType(::unity::SystemType) overload

Source

fn is_interface(self, t: impl Into<SystemType>) -> bool

IsInterface(::unity::SystemType) overload

Source

fn is_nested_public(self, t: impl Into<SystemType>) -> bool

IsNestedPublic(::unity::SystemType) overload

Source

fn is_abstract(self, t: impl Into<SystemType>) -> bool

IsAbstract(::unity::SystemType) overload

Source

fn is_enum(self, t: impl Into<SystemType>) -> bool

IsEnum(::unity::SystemType) overload

Source

fn is_generic_type_definition(self, t: impl Into<SystemType>) -> bool

IsGenericTypeDefinition(::unity::SystemType) overload

Source

fn is_generic_type(self, t: impl Into<SystemType>) -> bool

IsGenericType(::unity::SystemType) overload

Source

fn ctor(self)

.ctor() overload

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<__T: IFrameworkReflectionBase> IFrameworkReflectionBaseMethods for __T

Available on crate feature moon_sharp-interpreter-compatibility-frameworks-frameworkreflectionbase only.