Trait objc2_foundation::NSLocking

source ·
pub unsafe trait NSLocking {
    // Provided methods
    unsafe fn lock(&self)
       where Self: Sized + Message { ... }
    unsafe fn unlock(&self)
       where Self: Sized + Message { ... }
}
Available on crate feature NSLock only.

Provided Methods§

source

unsafe fn lock(&self)
where Self: Sized + Message,

source

unsafe fn unlock(&self)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSLocking

source§

const NAME: &'static str = "NSLocking"

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 NSLocking
where T: ?Sized + Message + NSLocking,

Implementations on Foreign Types§

source§

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

Implementors§