Skip to main content

IConstructorInfoMethods

Trait IConstructorInfoMethods 

Source
pub trait IConstructorInfoMethods: IConstructorInfo {
    // Provided methods
    fn ctor(self) { ... }
    fn get_member_type(self) -> MemberTypes { ... }
    fn invoke(self, parameters: impl Into<Array<Object>>) -> Object { ... }
    fn equals(self, obj: impl Into<Object>) -> bool { ... }
    fn get_hash_code(self) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_member_type(self) -> MemberTypes

get_MemberType() overload

Source

fn invoke(self, parameters: impl Into<Array<Object>>) -> Object

Invoke(::unity::Array<crate::system::object::Object>) overload

Source

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

fn get_hash_code(self) -> i32

GetHashCode() 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: IConstructorInfo> IConstructorInfoMethods for __T

Available on crate feature system-reflection-constructorinfo only.