Struct objc_sys::objc_protocol
source · [−]#[repr(C)]pub struct objc_protocol { /* private fields */ }
Expand description
Opaque type for Objective-C protocols.
Note that, although protocols are objects, sending messages to them is deprecated and may not work in the future.
The naming of this follows GNUStep; this does not exist in Apple’s
original, there Protocol
is just a type alias of objc_object
.
Auto Trait Implementations
impl !RefUnwindSafe for objc_protocol
impl !Send for objc_protocol
impl !Sync for objc_protocol
impl !Unpin for objc_protocol
impl !UnwindSafe for objc_protocol
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more