pub trait IPropertyMemberDescriptorMethods: IPropertyMemberDescriptor {
Show 19 methods
// Provided methods
fn get_property_info(self) -> PropertyInfo { ... }
fn set_property_info(self, value: impl Into<PropertyInfo>) { ... }
fn get_access_mode(self) -> InteropAccessMode { ... }
fn set_access_mode(self, value: impl Into<InteropAccessMode>) { ... }
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_can_read(self) -> bool { ... }
fn get_can_write(self) -> bool { ... }
fn ctor(
self,
pi: impl Into<PropertyInfo>,
access_mode: impl Into<InteropAccessMode>,
) { ... }
fn ctor_2(
self,
pi: impl Into<PropertyInfo>,
access_mode: impl Into<InteropAccessMode>,
getter: impl Into<MethodInfo>,
setter: impl Into<MethodInfo>,
) { ... }
fn get_value(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue { ... }
fn optimize_getter(self) { ... }
fn optimize_setter(self) { ... }
fn set_value(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
v: impl Into<DynValue>,
) { ... }
fn get_member_access(self) -> MemberDescriptorAccess { ... }
fn moon_sharp_interpreter_interop_basic_descriptors_i_optimizable_descriptor_optimize(
self,
) { ... }
fn prepare_for_wiring(self, t: impl Into<Table>) { ... }
}Provided Methods§
Sourcefn get_property_info(self) -> PropertyInfo
fn get_property_info(self) -> PropertyInfo
get_PropertyInfo() overload
Sourcefn set_property_info(self, value: impl Into<PropertyInfo>)
fn set_property_info(self, value: impl Into<PropertyInfo>)
set_PropertyInfo(crate::system::reflection::propertyinfo::PropertyInfo) overload
Sourcefn get_access_mode(self) -> InteropAccessMode
fn get_access_mode(self) -> InteropAccessMode
get_AccessMode() overload
Sourcefn set_access_mode(self, value: impl Into<InteropAccessMode>)
fn set_access_mode(self, value: impl Into<InteropAccessMode>)
set_AccessMode(crate::moon_sharp::interpreter::interopaccessmode::InteropAccessMode) 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_can_read(self) -> bool
fn get_can_read(self) -> bool
get_CanRead() overload
Sourcefn get_can_write(self) -> bool
fn get_can_write(self) -> bool
get_CanWrite() overload
Sourcefn ctor(
self,
pi: impl Into<PropertyInfo>,
access_mode: impl Into<InteropAccessMode>,
)
fn ctor( self, pi: impl Into<PropertyInfo>, access_mode: impl Into<InteropAccessMode>, )
.ctor(crate::system::reflection::propertyinfo::PropertyInfo, crate::moon_sharp::interpreter::interopaccessmode::InteropAccessMode) overload
Sourcefn ctor_2(
self,
pi: impl Into<PropertyInfo>,
access_mode: impl Into<InteropAccessMode>,
getter: impl Into<MethodInfo>,
setter: impl Into<MethodInfo>,
)
fn ctor_2( self, pi: impl Into<PropertyInfo>, access_mode: impl Into<InteropAccessMode>, getter: impl Into<MethodInfo>, setter: impl Into<MethodInfo>, )
.ctor(crate::system::reflection::propertyinfo::PropertyInfo, crate::moon_sharp::interpreter::interopaccessmode::InteropAccessMode, crate::system::reflection::methodinfo::MethodInfo, crate::system::reflection::methodinfo::MethodInfo) 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 optimize_getter(self)
fn optimize_getter(self)
OptimizeGetter() overload
Sourcefn optimize_setter(self)
fn optimize_setter(self)
OptimizeSetter() overload
Sourcefn set_value(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
v: impl Into<DynValue>,
)
fn set_value( self, script: impl Into<Script>, obj: impl Into<Object>, v: impl Into<DynValue>, )
SetValue(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn get_member_access(self) -> MemberDescriptorAccess
fn get_member_access(self) -> MemberDescriptorAccess
get_MemberAccess() overload
Sourcefn moon_sharp_interpreter_interop_basic_descriptors_i_optimizable_descriptor_optimize(
self,
)
fn moon_sharp_interpreter_interop_basic_descriptors_i_optimizable_descriptor_optimize( self, )
MoonSharp.Interpreter.Interop.BasicDescriptors.IOptimizableDescriptor.Optimize() 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: IPropertyMemberDescriptor> IPropertyMemberDescriptorMethods for __T
moon_sharp-interpreter-interop-propertymemberdescriptor only.