pub trait IStandardGenericsUserDataDescriptorMethods: IStandardGenericsUserDataDescriptor {
Show 13 methods
// Provided methods
fn get_access_mode(self) -> InteropAccessMode { ... }
fn set_access_mode(self, value: impl Into<InteropAccessMode>) { ... }
fn ctor(
self,
type: impl Into<SystemType>,
access_mode: impl Into<InteropAccessMode>,
) { ... }
fn get_name(self) -> Il2CppString { ... }
fn set_name(self, value: impl Into<Il2CppString>) { ... }
fn get_type(self) -> SystemType { ... }
fn set_type(self, value: impl Into<SystemType>) { ... }
fn index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> DynValue { ... }
fn set_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
value: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> bool { ... }
fn as_string(self, obj: impl Into<Object>) -> Il2CppString { ... }
fn meta_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
metaname: impl Into<Il2CppString>,
) -> DynValue { ... }
fn is_type_compatible(
self,
type: impl Into<SystemType>,
obj: impl Into<Object>,
) -> bool { ... }
fn generate(self, type: impl Into<SystemType>) -> IUserDataDescriptor { ... }
}Provided Methods§
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 ctor(
self,
type: impl Into<SystemType>,
access_mode: impl Into<InteropAccessMode>,
)
fn ctor( self, type: impl Into<SystemType>, access_mode: impl Into<InteropAccessMode>, )
.ctor(::unity::SystemType, crate::moon_sharp::interpreter::interopaccessmode::InteropAccessMode) 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 index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> DynValue
fn index( self, script: impl Into<Script>, obj: impl Into<Object>, index: impl Into<DynValue>, is_direct_indexing: impl Into<bool>, ) -> DynValue
Index(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue, bool) overload
Sourcefn set_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
value: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> bool
fn set_index( self, script: impl Into<Script>, obj: impl Into<Object>, index: impl Into<DynValue>, value: impl Into<DynValue>, is_direct_indexing: impl Into<bool>, ) -> bool
SetIndex(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, bool) overload
Sourcefn as_string(self, obj: impl Into<Object>) -> Il2CppString
fn as_string(self, obj: impl Into<Object>) -> Il2CppString
AsString(crate::system::object::Object) overload
Sourcefn meta_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
metaname: impl Into<Il2CppString>,
) -> DynValue
fn meta_index( self, script: impl Into<Script>, obj: impl Into<Object>, metaname: impl Into<Il2CppString>, ) -> DynValue
MetaIndex(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, ::unity::Il2CppString) overload
Sourcefn is_type_compatible(
self,
type: impl Into<SystemType>,
obj: impl Into<Object>,
) -> bool
fn is_type_compatible( self, type: impl Into<SystemType>, obj: impl Into<Object>, ) -> bool
IsTypeCompatible(::unity::SystemType, crate::system::object::Object) overload
Sourcefn generate(self, type: impl Into<SystemType>) -> IUserDataDescriptor
fn generate(self, type: impl Into<SystemType>) -> IUserDataDescriptor
Generate(::unity::SystemType) 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: IStandardGenericsUserDataDescriptor> IStandardGenericsUserDataDescriptorMethods for __T
moon_sharp-interpreter-interop-standardgenericsuserdatadescriptor only.