Skip to main content

IDynValueMemberDescriptorMethods

Trait IDynValueMemberDescriptorMethods 

Source
pub trait IDynValueMemberDescriptorMethods: IDynValueMemberDescriptor {
    // Provided methods
    fn ctor(
        self,
        name: impl Into<Il2CppString>,
        serialized_table_value: impl Into<Il2CppString>,
    ) { ... }
    fn ctor_2(self, name: impl Into<Il2CppString>) { ... }
    fn ctor_3(self, name: impl Into<Il2CppString>, value: impl Into<DynValue>) { ... }
    fn get_is_static(self) -> bool { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn set_name(self, value: impl Into<Il2CppString>) { ... }
    fn get_member_access(self) -> MemberDescriptorAccess { ... }
    fn set_member_access(self, value: impl Into<MemberDescriptorAccess>) { ... }
    fn get_value(self) -> DynValue { ... }
    fn get_value_2(
        self,
        script: impl Into<Script>,
        obj: impl Into<Object>,
    ) -> DynValue { ... }
    fn set_value(
        self,
        script: impl Into<Script>,
        obj: impl Into<Object>,
        value: impl Into<DynValue>,
    ) { ... }
    fn prepare_for_wiring(self, t: impl Into<Table>) { ... }
}

Provided Methods§

Source

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

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

Source

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

.ctor(::unity::Il2CppString) overload

Source

fn ctor_3(self, name: impl Into<Il2CppString>, value: impl Into<DynValue>)

.ctor(::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn get_is_static(self) -> bool

get_IsStatic() overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

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

set_Name(::unity::Il2CppString) overload

Source

fn get_member_access(self) -> MemberDescriptorAccess

get_MemberAccess() overload

Source

fn set_member_access(self, value: impl Into<MemberDescriptorAccess>)

set_MemberAccess(crate::moon_sharp::interpreter::interop::basic_descriptors::memberdescriptoraccess::MemberDescriptorAccess) overload

Source

fn get_value(self) -> DynValue

get_Value() overload

Source

fn get_value_2( self, script: impl Into<Script>, obj: impl Into<Object>, ) -> DynValue

GetValue(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object) overload

Source

fn set_value( self, script: impl Into<Script>, obj: impl Into<Object>, value: impl Into<DynValue>, )

SetValue(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn prepare_for_wiring(self, t: impl Into<Table>)

PrepareForWiring(crate::moon_sharp::interpreter::table::Table) 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: IDynValueMemberDescriptor> IDynValueMemberDescriptorMethods for __T

Available on crate feature moon_sharp-interpreter-interop-dynvaluememberdescriptor only.