Trait AMWorkflowControllerDelegate

Source
pub unsafe trait AMWorkflowControllerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn workflowControllerWillRun(
        &self,
        controller: &AMWorkflowController,
    )
       where Self: Sized + Message { ... }
    unsafe fn workflowControllerWillStop(
        &self,
        controller: &AMWorkflowController,
    )
       where Self: Sized + Message { ... }
    unsafe fn workflowControllerDidRun(&self, controller: &AMWorkflowController)
       where Self: Sized + Message { ... }
    unsafe fn workflowControllerDidStop(
        &self,
        controller: &AMWorkflowController,
    )
       where Self: Sized + Message { ... }
    unsafe fn workflowController_willRunAction(
        &self,
        controller: &AMWorkflowController,
        action: &AMAction,
    )
       where Self: Sized + Message { ... }
    unsafe fn workflowController_didRunAction(
        &self,
        controller: &AMWorkflowController,
        action: &AMAction,
    )
       where Self: Sized + Message { ... }
    unsafe fn workflowController_didError(
        &self,
        controller: &AMWorkflowController,
        error: &NSError,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature AMWorkflowController only.
Expand description

Provided Methods§

Source

unsafe fn workflowControllerWillRun(&self, controller: &AMWorkflowController)
where Self: Sized + Message,

Available on crate feature objc2-app-kit only.
Source

unsafe fn workflowControllerWillStop(&self, controller: &AMWorkflowController)
where Self: Sized + Message,

Available on crate feature objc2-app-kit only.
Source

unsafe fn workflowControllerDidRun(&self, controller: &AMWorkflowController)
where Self: Sized + Message,

Available on crate feature objc2-app-kit only.
Source

unsafe fn workflowControllerDidStop(&self, controller: &AMWorkflowController)
where Self: Sized + Message,

Available on crate feature objc2-app-kit only.
Source

unsafe fn workflowController_willRunAction( &self, controller: &AMWorkflowController, action: &AMAction, )
where Self: Sized + Message,

Available on crate features AMAction and objc2-app-kit only.
Source

unsafe fn workflowController_didRunAction( &self, controller: &AMWorkflowController, action: &AMAction, )
where Self: Sized + Message,

Available on crate features AMAction and objc2-app-kit only.
Source

unsafe fn workflowController_didError( &self, controller: &AMWorkflowController, error: &NSError, )
where Self: Sized + Message,

Available on crate feature objc2-app-kit only.

Trait Implementations§

Source§

impl ProtocolType for dyn AMWorkflowControllerDelegate

Source§

const NAME: &'static str = "AMWorkflowControllerDelegate"

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 AMWorkflowControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> AMWorkflowControllerDelegate for ProtocolObject<T>

Implementors§