#[repr(C)]pub struct ObjectInitializationData {
pub m_id: Il2CppString,
pub m_object_type: SerializedType,
pub m_data: Il2CppString,
}Expand description
Fields§
§m_id: Il2CppString§m_object_type: SerializedType§m_data: Il2CppStringImplementations§
Source§impl ObjectInitializationData
impl ObjectInitializationData
Sourcepub fn get_id(&mut self) -> Il2CppString
pub fn get_id(&mut self) -> Il2CppString
get_Id() overload
Sourcepub fn get_object_type(&mut self) -> SerializedType
pub fn get_object_type(&mut self) -> SerializedType
get_ObjectType() overload
Sourcepub fn get_data(&mut self) -> Il2CppString
pub fn get_data(&mut self) -> Il2CppString
get_Data() overload
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
pub fn create_instance<M0: IlType + Copy + ClassIdentity>( &mut self, id_override: impl Into<Il2CppString>, ) -> M0
Sourcepub fn get_async_init_handle(
&mut self,
rm: impl Into<ResourceManager>,
id_override: impl Into<Il2CppString>,
) -> AsyncOperationHandle
pub fn get_async_init_handle( &mut self, rm: impl Into<ResourceManager>, id_override: impl Into<Il2CppString>, ) -> AsyncOperationHandle
GetAsyncInitHandle(crate::unity_engine::resource_management::resourcemanager::ResourceManager, ::unity::Il2CppString) overload
Source§impl ObjectInitializationData
impl ObjectInitializationData
pub fn get_id_method_info() -> &'static MethodInfo
pub fn get_object_type_method_info() -> &'static MethodInfo
pub fn get_data_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
pub fn get_async_init_handle_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl Clone for ObjectInitializationData
impl Clone for ObjectInitializationData
Source§fn clone(&self) -> ObjectInitializationData
fn clone(&self) -> ObjectInitializationData
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ObjectInitializationData
Auto Trait Implementations§
impl Freeze for ObjectInitializationData
impl RefUnwindSafe for ObjectInitializationData
impl !Send for ObjectInitializationData
impl !Sync for ObjectInitializationData
impl Unpin for ObjectInitializationData
impl UnwindSafe for ObjectInitializationData
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)