pub trait IIGenericProviderOperationMethods: IIGenericProviderOperation {
// Provided methods
fn init(
self,
rm: impl Into<ResourceManager>,
provider: impl Into<IResourceProvider>,
location: impl Into<IResourceLocation>,
dep_op: impl Into<AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>>,
) { ... }
fn init_2(
self,
rm: impl Into<ResourceManager>,
provider: impl Into<IResourceProvider>,
location: impl Into<IResourceLocation>,
dep_op: impl Into<AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>>,
release_dependencies_on_failure: impl Into<bool>,
) { ... }
fn get_provide_handle_version(self) -> i32 { ... }
fn get_location(self) -> IResourceLocation { ... }
fn get_dependency_count(self) -> i32 { ... }
fn get_dependencies(self, dst_list: impl Into<IList_1_Interface<Object>>) { ... }
fn get_dependency<M0: IlType + Copy + ClassIdentity>(
self,
index: impl Into<i32>,
) -> M0 { ... }
fn set_progress_callback(self, callback: impl Into<Func_1<f32>>) { ... }
fn get_requested_type(self) -> SystemType { ... }
fn set_download_progress_callback(
self,
callback: impl Into<Func_1<DownloadStatus>>,
) { ... }
fn set_wait_for_completion_callback(self, callback: impl Into<Func_1<bool>>) { ... }
}Provided Methods§
Sourcefn init(
self,
rm: impl Into<ResourceManager>,
provider: impl Into<IResourceProvider>,
location: impl Into<IResourceLocation>,
dep_op: impl Into<AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>>,
)
fn init( self, rm: impl Into<ResourceManager>, provider: impl Into<IResourceProvider>, location: impl Into<IResourceLocation>, dep_op: impl Into<AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>>, )
Init(crate::unity_engine::resource_management::resourcemanager::ResourceManager, crate::unity_engine::resource_management::resource_providers::iresourceprovider::IResourceProvider, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>>) overload
Sourcefn init_2(
self,
rm: impl Into<ResourceManager>,
provider: impl Into<IResourceProvider>,
location: impl Into<IResourceLocation>,
dep_op: impl Into<AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>>,
release_dependencies_on_failure: impl Into<bool>,
)
fn init_2( self, rm: impl Into<ResourceManager>, provider: impl Into<IResourceProvider>, location: impl Into<IResourceLocation>, dep_op: impl Into<AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>>, release_dependencies_on_failure: impl Into<bool>, )
Init(crate::unity_engine::resource_management::resourcemanager::ResourceManager, crate::unity_engine::resource_management::resource_providers::iresourceprovider::IResourceProvider, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>>, bool) overload
Sourcefn get_provide_handle_version(self) -> i32
fn get_provide_handle_version(self) -> i32
get_ProvideHandleVersion() overload
Sourcefn get_location(self) -> IResourceLocation
fn get_location(self) -> IResourceLocation
get_Location() overload
Sourcefn get_dependency_count(self) -> i32
fn get_dependency_count(self) -> i32
get_DependencyCount() overload
Sourcefn get_dependencies(self, dst_list: impl Into<IList_1_Interface<Object>>)
fn get_dependencies(self, dst_list: impl Into<IList_1_Interface<Object>>)
GetDependencies(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>) overload
fn get_dependency<M0: IlType + Copy + ClassIdentity>( self, index: impl Into<i32>, ) -> M0
Sourcefn set_progress_callback(self, callback: impl Into<Func_1<f32>>)
fn set_progress_callback(self, callback: impl Into<Func_1<f32>>)
SetProgressCallback(crate::system::func_1::Func_1<f32>) overload
Sourcefn get_requested_type(self) -> SystemType
fn get_requested_type(self) -> SystemType
get_RequestedType() overload
Sourcefn set_download_progress_callback(
self,
callback: impl Into<Func_1<DownloadStatus>>,
)
fn set_download_progress_callback( self, callback: impl Into<Func_1<DownloadStatus>>, )
SetDownloadProgressCallback(crate::system::func_1::Func_1<crate::unity_engine::resource_management::async_operations::downloadstatus::DownloadStatus>) overload
Sourcefn set_wait_for_completion_callback(self, callback: impl Into<Func_1<bool>>)
fn set_wait_for_completion_callback(self, callback: impl Into<Func_1<bool>>)
SetWaitForCompletionCallback(crate::system::func_1::Func_1<bool>) 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: IIGenericProviderOperation> IIGenericProviderOperationMethods for __T
unity_engine-resource_management-async_operations-igenericprovideroperation only.