Skip to main content

IBinderMethods

Trait IBinderMethods 

Source
pub trait IBinderMethods: IBinder {
    // Provided methods
    fn select_method(
        self,
        binding_attr: impl Into<BindingFlags>,
        match: impl Into<Array<MethodBase>>,
        types: impl Into<Array<SystemType>>,
        modifiers: impl Into<Array<ParameterModifier>>,
    ) -> MethodBase { ... }
    fn select_property(
        self,
        binding_attr: impl Into<BindingFlags>,
        match: impl Into<Array<PropertyInfo>>,
        return_type: impl Into<SystemType>,
        indexes: impl Into<Array<SystemType>>,
        modifiers: impl Into<Array<ParameterModifier>>,
    ) -> PropertyInfo { ... }
    fn reorder_argument_array(self, state: impl Into<Object>) -> Array<Object> { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn select_method( self, binding_attr: impl Into<BindingFlags>, match: impl Into<Array<MethodBase>>, types: impl Into<Array<SystemType>>, modifiers: impl Into<Array<ParameterModifier>>, ) -> MethodBase

SelectMethod(crate::system::reflection::bindingflags::BindingFlags, ::unity::Array<crate::system::reflection::methodbase::MethodBase>, ::unity::Array<::unity::SystemType>, ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>) overload

Source

fn select_property( self, binding_attr: impl Into<BindingFlags>, match: impl Into<Array<PropertyInfo>>, return_type: impl Into<SystemType>, indexes: impl Into<Array<SystemType>>, modifiers: impl Into<Array<ParameterModifier>>, ) -> PropertyInfo

SelectProperty(crate::system::reflection::bindingflags::BindingFlags, ::unity::Array<crate::system::reflection::propertyinfo::PropertyInfo>, ::unity::SystemType, ::unity::Array<::unity::SystemType>, ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>) overload

Source

fn reorder_argument_array(self, state: impl Into<Object>) -> Array<Object>

ReorderArgumentArray(*mut::unity::Array<crate::system::object::Object>, crate::system::object::Object) 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: IBinder> IBinderMethods for __T

Available on crate feature system-reflection-binder only.