Skip to main content

ICacheInitializationDataMethods

Trait ICacheInitializationDataMethods 

Source
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§

Source

fn get_compression_enabled(self) -> bool

get_CompressionEnabled() overload

Source

fn set_compression_enabled(self, value: impl Into<bool>)

set_CompressionEnabled(bool) overload

Source

fn get_cache_directory_override(self) -> Il2CppString

get_CacheDirectoryOverride() overload

Source

fn set_cache_directory_override(self, value: impl Into<Il2CppString>)

set_CacheDirectoryOverride(::unity::Il2CppString) overload

Source

fn get_expiration_delay(self) -> i32

get_ExpirationDelay() overload

Source

fn set_expiration_delay(self, value: impl Into<i32>)

set_ExpirationDelay(i32) overload

Source

fn get_limit_cache_size(self) -> bool

get_LimitCacheSize() overload

Source

fn set_limit_cache_size(self, value: impl Into<bool>)

set_LimitCacheSize(bool) overload

Source

fn get_maximum_cache_size(self) -> i64

get_MaximumCacheSize() overload

Source

fn set_maximum_cache_size(self, value: impl Into<i64>)

set_MaximumCacheSize(i64) 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: ICacheInitializationData> ICacheInitializationDataMethods for __T

Available on crate feature unity_engine-addressable_assets-initialization-cacheinitializationdata only.