Skip to main content

IBaseInvokableCallMethods

Trait IBaseInvokableCallMethods 

Source
pub trait IBaseInvokableCallMethods: IBaseInvokableCall {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(self, target: impl Into<Object>, function: impl Into<MethodInfo>) { ... }
    fn invoke(self, args: impl Into<Array<Object>>) { ... }
    fn find(
        self,
        target_obj: impl Into<Object>,
        method: impl Into<MethodInfo>,
    ) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, target: impl Into<Object>, function: impl Into<MethodInfo>)

.ctor(crate::system::object::Object, crate::system::reflection::methodinfo::MethodInfo) overload

Source

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

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

Source

fn find( self, target_obj: impl Into<Object>, method: impl Into<MethodInfo>, ) -> bool

Find(crate::system::object::Object, crate::system::reflection::methodinfo::MethodInfo) 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: IBaseInvokableCall> IBaseInvokableCallMethods for __T

Available on crate feature unity_engine-events-baseinvokablecall only.