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 struct does not exist in Apple’s
runtime, there Protocol
is a type alias of objc_object
.
Auto Trait Implementations§
impl !Freeze for objc_protocol
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more