CAAction

Trait CAAction 

Source
pub unsafe trait CAAction {
    // Provided method
    unsafe fn runActionForKey_object_arguments(
        &self,
        event: &NSString,
        an_object: &AnyObject,
        dict: Option<&NSDictionary>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature CALayer only.
Expand description

Action (event handler) protocol. *

See also Apple’s documentation

Provided Methods§

Source

unsafe fn runActionForKey_object_arguments( &self, event: &NSString, an_object: &AnyObject, dict: Option<&NSDictionary>, )
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn CAAction

Source§

const NAME: &'static str = "CAAction"

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 CAAction
where T: ?Sized + Message + CAAction,

Implementations on Foreign Types§

Source§

impl CAAction for NSNull

Source§

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

Implementors§

Source§

impl CAAction for CAAnimation

Available on crate feature CAAnimation only.
Source§

impl CAAction for CAAnimationGroup

Available on crate feature CAAnimation only.
Source§

impl CAAction for CABasicAnimation

Available on crate feature CAAnimation only.
Source§

impl CAAction for CAKeyframeAnimation

Available on crate feature CAAnimation only.
Source§

impl CAAction for CAPropertyAnimation

Available on crate feature CAAnimation only.
Source§

impl CAAction for CASpringAnimation

Available on crate feature CAAnimation only.
Source§

impl CAAction for CATransition

Available on crate feature CAAnimation only.