#[repr(C)]pub struct ProvideHandle {
pub m_version: i32,
pub m_internal_op: IGenericProviderOperation,
pub m_resource_manager: ResourceManager,
}Expand description
Fields§
§m_version: i32§m_internal_op: IGenericProviderOperation§m_resource_manager: ResourceManagerImplementations§
Source§impl ProvideHandle
impl ProvideHandle
Sourcepub fn ctor(
&mut self,
rm: impl Into<ResourceManager>,
op: impl Into<IGenericProviderOperation>,
)
pub fn ctor( &mut self, rm: impl Into<ResourceManager>, op: impl Into<IGenericProviderOperation>, )
.ctor(crate::unity_engine::resource_management::resourcemanager::ResourceManager, crate::unity_engine::resource_management::async_operations::igenericprovideroperation::IGenericProviderOperation) overload
Sourcepub fn get_internal_op(&mut self) -> IGenericProviderOperation
pub fn get_internal_op(&mut self) -> IGenericProviderOperation
get_InternalOp() overload
Sourcepub fn get_resource_manager(&mut self) -> ResourceManager
pub fn get_resource_manager(&mut self) -> ResourceManager
get_ResourceManager() overload
Sourcepub fn get_location(&mut self) -> IResourceLocation
pub fn get_location(&mut self) -> IResourceLocation
get_Location() overload
Sourcepub fn get_dependency_count(&mut self) -> i32
pub fn get_dependency_count(&mut self) -> i32
get_DependencyCount() overload
pub fn get_dependency<M0: IlType + Copy + ClassIdentity>( &mut self, index: impl Into<i32>, ) -> M0
Sourcepub fn get_dependencies(&mut self, list: impl Into<IList_1_Interface<Object>>)
pub fn get_dependencies(&mut self, list: impl Into<IList_1_Interface<Object>>)
GetDependencies(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>) overload
Sourcepub fn set_progress_callback(&mut self, callback: impl Into<Func_1<f32>>)
pub fn set_progress_callback(&mut self, callback: impl Into<Func_1<f32>>)
SetProgressCallback(crate::system::func_1::Func_1<f32>) overload
Sourcepub fn set_download_progress_callbacks(
&mut self,
callback: impl Into<Func_1<DownloadStatus>>,
)
pub fn set_download_progress_callbacks( &mut self, callback: impl Into<Func_1<DownloadStatus>>, )
SetDownloadProgressCallbacks(crate::system::func_1::Func_1<crate::unity_engine::resource_management::async_operations::downloadstatus::DownloadStatus>) overload
Sourcepub fn set_wait_for_completion_callback(
&mut self,
callback: impl Into<Func_1<bool>>,
)
pub fn set_wait_for_completion_callback( &mut self, callback: impl Into<Func_1<bool>>, )
SetWaitForCompletionCallback(crate::system::func_1::Func_1<bool>) overload
Source§impl ProvideHandle
impl ProvideHandle
pub fn ctor_method_info() -> &'static MethodInfo
pub fn get_internal_op_method_info() -> &'static MethodInfo
pub fn get_resource_manager_method_info() -> &'static MethodInfo
pub fn get_type_method_info() -> &'static MethodInfo
pub fn get_location_method_info() -> &'static MethodInfo
pub fn get_dependency_count_method_info() -> &'static MethodInfo
pub fn get_dependencies_method_info() -> &'static MethodInfo
pub fn set_progress_callback_method_info() -> &'static MethodInfo
pub fn set_download_progress_callbacks_method_info() -> &'static MethodInfo
pub fn set_wait_for_completion_callback_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for ProvideHandle
impl ClassIdentity for ProvideHandle
Source§impl Clone for ProvideHandle
impl Clone for ProvideHandle
Source§fn clone(&self) -> ProvideHandle
fn clone(&self) -> ProvideHandle
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 ProvideHandle
Auto Trait Implementations§
impl Freeze for ProvideHandle
impl RefUnwindSafe for ProvideHandle
impl !Send for ProvideHandle
impl !Sync for ProvideHandle
impl Unpin for ProvideHandle
impl UnwindSafe for ProvideHandle
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)