pub trait IResourceLocationMapMethods: IResourceLocationMap {
// Provided methods
fn ctor(self, id: impl Into<Il2CppString>, capacity: impl Into<i32>) { ... }
fn get_locator_id(self) -> Il2CppString { ... }
fn set_locator_id(self, value: impl Into<Il2CppString>) { ... }
fn ctor_2(
self,
id: impl Into<Il2CppString>,
locations: impl Into<IList_1_Interface<ResourceLocationData>>,
) { ... }
fn get_locations(
self,
) -> Dictionary_2<Object, IList_1_Interface<IResourceLocation>> { ... }
fn set_locations(
self,
value: impl Into<Dictionary_2<Object, IList_1_Interface<IResourceLocation>>>,
) { ... }
fn get_keys(self) -> IEnumerable_1<Object> { ... }
fn locate(
self,
key: impl Into<Object>,
type: impl Into<SystemType>,
) -> (bool, IList_1_Interface<IResourceLocation>) { ... }
fn add(self, key: impl Into<Object>, location: impl Into<IResourceLocation>) { ... }
fn add_2(
self,
key: impl Into<Object>,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
) { ... }
}Provided Methods§
Sourcefn ctor(self, id: impl Into<Il2CppString>, capacity: impl Into<i32>)
fn ctor(self, id: impl Into<Il2CppString>, capacity: impl Into<i32>)
.ctor(::unity::Il2CppString, i32) overload
Sourcefn get_locator_id(self) -> Il2CppString
fn get_locator_id(self) -> Il2CppString
get_LocatorId() overload
Sourcefn set_locator_id(self, value: impl Into<Il2CppString>)
fn set_locator_id(self, value: impl Into<Il2CppString>)
set_LocatorId(::unity::Il2CppString) overload
Sourcefn ctor_2(
self,
id: impl Into<Il2CppString>,
locations: impl Into<IList_1_Interface<ResourceLocationData>>,
)
fn ctor_2( self, id: impl Into<Il2CppString>, locations: impl Into<IList_1_Interface<ResourceLocationData>>, )
.ctor(::unity::Il2CppString, crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::addressable_assets::resource_locators::resourcelocationdata::ResourceLocationData>) overload
Sourcefn get_locations(
self,
) -> Dictionary_2<Object, IList_1_Interface<IResourceLocation>>
fn get_locations( self, ) -> Dictionary_2<Object, IList_1_Interface<IResourceLocation>>
get_Locations() overload
Sourcefn set_locations(
self,
value: impl Into<Dictionary_2<Object, IList_1_Interface<IResourceLocation>>>,
)
fn set_locations( self, value: impl Into<Dictionary_2<Object, IList_1_Interface<IResourceLocation>>>, )
set_Locations(crate::system::collections::generic::dictionary_2::Dictionary_2<crate::system::object::Object,crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>>) overload
Sourcefn get_keys(self) -> IEnumerable_1<Object>
fn get_keys(self) -> IEnumerable_1<Object>
get_Keys() overload
Sourcefn locate(
self,
key: impl Into<Object>,
type: impl Into<SystemType>,
) -> (bool, IList_1_Interface<IResourceLocation>)
fn locate( self, key: impl Into<Object>, type: impl Into<SystemType>, ) -> (bool, IList_1_Interface<IResourceLocation>)
Locate(crate::system::object::Object, ::unity::SystemType, *mutcrate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>) overload
Sourcefn add(self, key: impl Into<Object>, location: impl Into<IResourceLocation>)
fn add(self, key: impl Into<Object>, location: impl Into<IResourceLocation>)
Add(crate::system::object::Object, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload
Sourcefn add_2(
self,
key: impl Into<Object>,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
)
fn add_2( self, key: impl Into<Object>, locations: impl Into<IList_1_Interface<IResourceLocation>>, )
Add(crate::system::object::Object, crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>) 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: IResourceLocationMap> IResourceLocationMapMethods for __T
unity_engine-addressable_assets-resource_locators-resourcelocationmap only.