pub trait ILRUCacheAllocationStrategyMethods: ILRUCacheAllocationStrategy {
// Provided methods
fn ctor(
self,
pool_max_size: impl Into<i32>,
pool_capacity: impl Into<i32>,
pool_cache_max_size: impl Into<i32>,
initial_pool_cache_capacity: impl Into<i32>,
) { ... }
fn get_pool(self) -> List_1<Object> { ... }
fn release_pool(self, pool: impl Into<List_1<Object>>) { ... }
fn new(
self,
type: impl Into<SystemType>,
type_hash: impl Into<i32>,
) -> Object { ... }
fn release(self, type_hash: impl Into<i32>, obj: impl Into<Object>) { ... }
}Provided Methods§
Sourcefn ctor(
self,
pool_max_size: impl Into<i32>,
pool_capacity: impl Into<i32>,
pool_cache_max_size: impl Into<i32>,
initial_pool_cache_capacity: impl Into<i32>,
)
fn ctor( self, pool_max_size: impl Into<i32>, pool_capacity: impl Into<i32>, pool_cache_max_size: impl Into<i32>, initial_pool_cache_capacity: impl Into<i32>, )
.ctor(i32, i32, i32, i32) overload
Sourcefn release_pool(self, pool: impl Into<List_1<Object>>)
fn release_pool(self, pool: impl Into<List_1<Object>>)
ReleasePool(crate::system::collections::generic::list_1::List_1<crate::system::object::Object>) 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: ILRUCacheAllocationStrategy> ILRUCacheAllocationStrategyMethods for __T
Available on crate feature
unity_engine-resource_management-util-lrucacheallocationstrategy only.