pub trait ICacheInitializationDataMethods: ICacheInitializationData {
// Provided methods
fn get_compression_enabled(self) -> bool { ... }
fn set_compression_enabled(self, value: impl Into<bool>) { ... }
fn get_cache_directory_override(self) -> Il2CppString { ... }
fn set_cache_directory_override(self, value: impl Into<Il2CppString>) { ... }
fn get_expiration_delay(self) -> i32 { ... }
fn set_expiration_delay(self, value: impl Into<i32>) { ... }
fn get_limit_cache_size(self) -> bool { ... }
fn set_limit_cache_size(self, value: impl Into<bool>) { ... }
fn get_maximum_cache_size(self) -> i64 { ... }
fn set_maximum_cache_size(self, value: impl Into<i64>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_compression_enabled(self) -> bool
fn get_compression_enabled(self) -> bool
get_CompressionEnabled() overload
Sourcefn set_compression_enabled(self, value: impl Into<bool>)
fn set_compression_enabled(self, value: impl Into<bool>)
set_CompressionEnabled(bool) overload
Sourcefn get_cache_directory_override(self) -> Il2CppString
fn get_cache_directory_override(self) -> Il2CppString
get_CacheDirectoryOverride() overload
Sourcefn set_cache_directory_override(self, value: impl Into<Il2CppString>)
fn set_cache_directory_override(self, value: impl Into<Il2CppString>)
set_CacheDirectoryOverride(::unity::Il2CppString) overload
Sourcefn get_expiration_delay(self) -> i32
fn get_expiration_delay(self) -> i32
get_ExpirationDelay() overload
Sourcefn set_expiration_delay(self, value: impl Into<i32>)
fn set_expiration_delay(self, value: impl Into<i32>)
set_ExpirationDelay(i32) overload
Sourcefn get_limit_cache_size(self) -> bool
fn get_limit_cache_size(self) -> bool
get_LimitCacheSize() overload
Sourcefn set_limit_cache_size(self, value: impl Into<bool>)
fn set_limit_cache_size(self, value: impl Into<bool>)
set_LimitCacheSize(bool) overload
Sourcefn get_maximum_cache_size(self) -> i64
fn get_maximum_cache_size(self) -> i64
get_MaximumCacheSize() overload
Sourcefn set_maximum_cache_size(self, value: impl Into<i64>)
fn set_maximum_cache_size(self, value: impl Into<i64>)
set_MaximumCacheSize(i64) 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: ICacheInitializationData> ICacheInitializationDataMethods for __T
Available on crate feature
unity_engine-addressable_assets-initialization-cacheinitializationdata only.