pub trait IHardwiredMemberDescriptorMethods: IHardwiredMemberDescriptor {
Show 13 methods
// Provided methods
fn get_member_type(self) -> SystemType { ... }
fn set_member_type(self, value: impl Into<SystemType>) { ... }
fn ctor(
self,
member_type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
is_static: impl Into<bool>,
access: impl Into<MemberDescriptorAccess>,
) { ... }
fn get_is_static(self) -> bool { ... }
fn set_is_static(self, value: impl Into<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,
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 get_value_impl(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> Object { ... }
fn set_value_impl(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
value: impl Into<Object>,
) { ... }
}Provided Methods§
Sourcefn get_member_type(self) -> SystemType
fn get_member_type(self) -> SystemType
get_MemberType() overload
Sourcefn set_member_type(self, value: impl Into<SystemType>)
fn set_member_type(self, value: impl Into<SystemType>)
set_MemberType(::unity::SystemType) overload
Sourcefn ctor(
self,
member_type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
is_static: impl Into<bool>,
access: impl Into<MemberDescriptorAccess>,
)
fn ctor( self, member_type: impl Into<SystemType>, name: impl Into<Il2CppString>, is_static: impl Into<bool>, access: impl Into<MemberDescriptorAccess>, )
.ctor(::unity::SystemType, ::unity::Il2CppString, bool, crate::moon_sharp::interpreter::interop::basic_descriptors::memberdescriptoraccess::MemberDescriptorAccess) overload
Sourcefn get_is_static(self) -> bool
fn get_is_static(self) -> bool
get_IsStatic() overload
Sourcefn set_is_static(self, value: impl Into<bool>)
fn set_is_static(self, value: impl Into<bool>)
set_IsStatic(bool) 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(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue
fn get_value( 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 get_value_impl(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> Object
fn get_value_impl( self, script: impl Into<Script>, obj: impl Into<Object>, ) -> Object
GetValueImpl(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object) overload
Sourcefn set_value_impl(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
value: impl Into<Object>,
)
fn set_value_impl( self, script: impl Into<Script>, obj: impl Into<Object>, value: impl Into<Object>, )
SetValueImpl(crate::moon_sharp::interpreter::script::Script, 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§
impl<__T: IHardwiredMemberDescriptor> IHardwiredMemberDescriptorMethods for __T
moon_sharp-interpreter-interop-standard_descriptors-hardwired_descriptors-hardwiredmemberdescriptor only.