Trait objc2_foundation::NSCacheDelegate

source ·
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.

Provided Methods§

source

unsafe fn cache_willEvictObject(&self, cache: &NSCache, obj: &AnyObject)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSCacheDelegate

source§

const NAME: &'static str = "NSCacheDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSCacheDelegate

Implementations on Foreign Types§

source§

impl<T> NSCacheDelegate for ProtocolObject<T>
where T: ?Sized + NSCacheDelegate,

Implementors§