Skip to main content

IFunctionCommandMethods

Trait IFunctionCommandMethods 

Source
pub trait IFunctionCommandMethods: IFunctionCommand {
    // Provided methods
    fn ctor(self, name: impl Into<Il2CppString>, func: impl Into<Il2CppString>) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get(self, obj: impl Into<Object>) -> f32 { ... }
    fn get_2(self, obj1: impl Into<Object>, obj2: impl Into<Object>) -> f32 { ... }
    fn func(self, args: impl Into<List_1<f32>>, obj: impl Into<Object>) -> f32 { ... }
    fn func_2(
        self,
        args: impl Into<List_1<f32>>,
        obj1: impl Into<Object>,
        obj2: impl Into<Object>,
    ) -> f32 { ... }
}

Provided Methods§

Source

fn ctor(self, name: impl Into<Il2CppString>, func: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get(self, obj: impl Into<Object>) -> f32

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

Source

fn get_2(self, obj1: impl Into<Object>, obj2: impl Into<Object>) -> f32

Get(crate::system::object::Object, crate::system::object::Object) overload

Source

fn func(self, args: impl Into<List_1<f32>>, obj: impl Into<Object>) -> f32

Func(crate::system::collections::generic::list_1::List_1<f32>, crate::system::object::Object) overload

Source

fn func_2( self, args: impl Into<List_1<f32>>, obj1: impl Into<Object>, obj2: impl Into<Object>, ) -> f32

Func(crate::system::collections::generic::list_1::List_1<f32>, crate::system::object::Object, crate::system::object::Object) 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: IFunctionCommand> IFunctionCommandMethods for __T

Available on crate feature app-functioncommand only.