Skip to main content

IResourceProviderBaseMethods

Trait IResourceProviderBaseMethods 

Source
pub trait IResourceProviderBaseMethods: IResourceProviderBase {
    // Provided methods
    fn get_provider_id(self) -> Il2CppString { ... }
    fn initialize(
        self,
        id: impl Into<Il2CppString>,
        data: impl Into<Il2CppString>,
    ) -> bool { ... }
    fn can_provide(
        self,
        t: impl Into<SystemType>,
        location: impl Into<IResourceLocation>,
    ) -> bool { ... }
    fn to_string(self) -> Il2CppString { ... }
    fn release(
        self,
        location: impl Into<IResourceLocation>,
        obj: impl Into<Object>,
    ) { ... }
    fn get_default_type(
        self,
        location: impl Into<IResourceLocation>,
    ) -> SystemType { ... }
    fn provide(self, provide_handle: impl Into<ProvideHandle>) { ... }
    fn initialize_async(
        self,
        rm: impl Into<ResourceManager>,
        id: impl Into<Il2CppString>,
        data: impl Into<Il2CppString>,
    ) -> AsyncOperationHandle_1<bool> { ... }
    fn unity_engine_resource_management_resource_providers_i_resource_provider_get_behaviour_flags(
        self,
    ) -> ProviderBehaviourFlags { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_provider_id(self) -> Il2CppString

get_ProviderId() overload

Source

fn initialize( self, id: impl Into<Il2CppString>, data: impl Into<Il2CppString>, ) -> bool

Initialize(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn can_provide( self, t: impl Into<SystemType>, location: impl Into<IResourceLocation>, ) -> bool

CanProvide(::unity::SystemType, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn release(self, location: impl Into<IResourceLocation>, obj: impl Into<Object>)

Release(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::system::object::Object) overload

Source

fn get_default_type(self, location: impl Into<IResourceLocation>) -> SystemType

GetDefaultType(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload

Source

fn provide(self, provide_handle: impl Into<ProvideHandle>)

Provide(crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle) overload

Source

fn initialize_async( self, rm: impl Into<ResourceManager>, id: impl Into<Il2CppString>, data: impl Into<Il2CppString>, ) -> AsyncOperationHandle_1<bool>

InitializeAsync(crate::unity_engine::resource_management::resourcemanager::ResourceManager, ::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn unity_engine_resource_management_resource_providers_i_resource_provider_get_behaviour_flags( self, ) -> ProviderBehaviourFlags

UnityEngine.ResourceManagement.ResourceProviders.IResourceProvider.get_BehaviourFlags() overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IResourceProviderBase> IResourceProviderBaseMethods for __T

Available on crate feature unity_engine-resource_management-resource_providers-resourceproviderbase only.