Trait 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.
Expand description

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. Read more
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§