pub unsafe trait NSCacheDelegate: NSObjectProtocol {
// Provided method
unsafe fn cache_willEvictObject(&self, cache: &NSCache, obj: &AnyObject)
where Self: Sized + Message { ... }
}Available on crate feature
NSCache only.Expand description
Provided Methods§
Trait Implementations§
Source§impl ProtocolType for dyn NSCacheDelegate
impl ProtocolType for dyn NSCacheDelegate
impl<T> ImplementedBy<T> for dyn NSCacheDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".