Struct objc::runtime::Protocol[][src]

#[repr(C)]
pub struct Protocol { /* fields omitted */ }

A type that represents an Objective-C protocol.

Methods

impl Protocol
[src]

Returns the protocol definition of a specified protocol, or None if the protocol is not registered with the Objective-C runtime.

Obtains the list of registered protocol definitions.

Get a list of the protocols to which this protocol conforms.

Checks whether this protocol conforms to the specified protocol.

Returns the name of self.

Trait Implementations

impl PartialEq for Protocol
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Protocol
[src]

impl Debug for Protocol
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Protocol

impl Sync for Protocol