Skip to main content

IClosureContextMethods

Trait IClosureContextMethods 

Source
pub trait IClosureContextMethods: IClosureContext {
    // Provided methods
    fn get_symbols(self) -> Array<Il2CppString> { ... }
    fn set_symbols(self, value: impl Into<Array<Il2CppString>>) { ... }
    fn ctor(
        self,
        symbols: impl Into<Array<SymbolRef>>,
        values: impl Into<IEnumerable_1<DynValue>>,
    ) { ... }
    fn ctor_2(self) { ... }
}

Provided Methods§

Source

fn get_symbols(self) -> Array<Il2CppString>

get_Symbols() overload

Source

fn set_symbols(self, value: impl Into<Array<Il2CppString>>)

set_Symbols(::unity::Array<::unity::Il2CppString>) overload

Source

fn ctor( self, symbols: impl Into<Array<SymbolRef>>, values: impl Into<IEnumerable_1<DynValue>>, )

.ctor(::unity::Array<crate::moon_sharp::interpreter::symbolref::SymbolRef>, crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload

Source

fn ctor_2(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: IClosureContext> IClosureContextMethods for __T

Available on crate feature moon_sharp-interpreter-execution-closurecontext only.