Skip to main content

IEventScript_FunctionArgsMethods

Trait IEventScript_FunctionArgsMethods 

Source
pub trait IEventScript_FunctionArgsMethods: IEventScript_FunctionArgs {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(self, args: impl Into<Array<DynValue>>) -> DynValue { ... }
}

Provided Methods§

Source

fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

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

Invoke(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) 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: IEventScript_FunctionArgs> IEventScript_FunctionArgsMethods for __T

Available on crate feature app-eventscript only.