Skip to main content

ILocationCacheKeyMethods

Trait ILocationCacheKeyMethods 

Source
pub trait ILocationCacheKeyMethods: ILocationCacheKey {
    // Provided methods
    fn ctor(
        self,
        location: impl Into<IResourceLocation>,
        desired_type: impl Into<SystemType>,
    ) { ... }
    fn get_hash_code(self) -> i32 { ... }
    fn equals(self, obj: impl Into<Object>) -> bool { ... }
    fn equals_2(self, other: impl Into<IOperationCacheKey>) -> bool { ... }
    fn equals_3(self, other: impl Into<LocationCacheKey>) -> bool { ... }
}

Provided Methods§

Source

fn ctor( self, location: impl Into<IResourceLocation>, desired_type: impl Into<SystemType>, )

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

Source

fn get_hash_code(self) -> i32

GetHashCode() overload

Source

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

fn equals_2(self, other: impl Into<IOperationCacheKey>) -> bool

Equals(crate::unity_engine::resource_management::util::ioperationcachekey::IOperationCacheKey) overload

Source

fn equals_3(self, other: impl Into<LocationCacheKey>) -> bool

Equals(crate::unity_engine::resource_management::util::locationcachekey::LocationCacheKey) 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: ILocationCacheKey> ILocationCacheKeyMethods for __T

Available on crate feature unity_engine-resource_management-util-locationcachekey only.