GKAgentDelegate

Trait GKAgentDelegate 

Source
pub unsafe trait GKAgentDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn agentWillUpdate(&self, agent: &GKAgent)
       where Self: Sized + Message { ... }
    unsafe fn agentDidUpdate(&self, agent: &GKAgent)
       where Self: Sized + Message { ... }
}
Available on crate feature GKAgent only.
Expand description

Delegate that will receive messages regarding GKAgent updates.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn agentWillUpdate(&self, agent: &GKAgent)
where Self: Sized + Message,

Available on crate feature GKComponent only.
Source

unsafe fn agentDidUpdate(&self, agent: &GKAgent)
where Self: Sized + Message,

Available on crate feature GKComponent only.

Trait Implementations§

Source§

impl ProtocolType for dyn GKAgentDelegate

Source§

const NAME: &'static str = "GKAgentDelegate"

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 GKAgentDelegate

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

impl GKAgentDelegate for GKSCNNodeComponent

Available on crate feature GKSCNNodeComponent only.
Source§

impl GKAgentDelegate for GKSKNodeComponent

Available on crate feature GKSKNodeComponent only.