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§
Sourcefn ctor(
self,
name: impl Into<Il2CppString>,
serialized_table_value: impl Into<Il2CppString>,
)
fn ctor( self, name: impl Into<Il2CppString>, serialized_table_value: impl Into<Il2CppString>, )
.ctor(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn ctor_2(self, name: impl Into<Il2CppString>)
fn ctor_2(self, name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_3(self, name: impl Into<Il2CppString>, value: impl Into<DynValue>)
fn ctor_3(self, name: impl Into<Il2CppString>, value: impl Into<DynValue>)
.ctor(::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn get_is_static(self) -> bool
fn get_is_static(self) -> bool
get_IsStatic() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn get_member_access(self) -> MemberDescriptorAccess
fn get_member_access(self) -> MemberDescriptorAccess
get_MemberAccess() overload
Sourcefn set_member_access(self, value: impl Into<MemberDescriptorAccess>)
fn set_member_access(self, value: impl Into<MemberDescriptorAccess>)
set_MemberAccess(crate::moon_sharp::interpreter::interop::basic_descriptors::memberdescriptoraccess::MemberDescriptorAccess) overload
Sourcefn get_value_2(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue
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
Sourcefn set_value(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
value: impl Into<DynValue>,
)
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
Sourcefn prepare_for_wiring(self, t: impl Into<Table>)
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§
impl<__T: IDynValueMemberDescriptor> IDynValueMemberDescriptorMethods for __T
moon_sharp-interpreter-interop-dynvaluememberdescriptor only.