Trait NSAnimationDelegate

Source
pub unsafe trait NSAnimationDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn animationShouldStart(&self, animation: &NSAnimation) -> bool
       where Self: Sized + Message { ... }
    unsafe fn animationDidStop(&self, animation: &NSAnimation)
       where Self: Sized + Message { ... }
    unsafe fn animationDidEnd(&self, animation: &NSAnimation)
       where Self: Sized + Message { ... }
    unsafe fn animation_valueForProgress(
        &self,
        animation: &NSAnimation,
        progress: NSAnimationProgress,
    ) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn animation_didReachProgressMark(
        &self,
        animation: &NSAnimation,
        progress: NSAnimationProgress,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSAnimation only.
Expand description

Provided Methods§

Source

unsafe fn animationShouldStart(&self, animation: &NSAnimation) -> bool
where Self: Sized + Message,

Source

unsafe fn animationDidStop(&self, animation: &NSAnimation)
where Self: Sized + Message,

Source

unsafe fn animationDidEnd(&self, animation: &NSAnimation)
where Self: Sized + Message,

Source

unsafe fn animation_valueForProgress( &self, animation: &NSAnimation, progress: NSAnimationProgress, ) -> c_float
where Self: Sized + Message,

Source

unsafe fn animation_didReachProgressMark( &self, animation: &NSAnimation, progress: NSAnimationProgress, )
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn NSAnimationDelegate

Source§

const NAME: &'static str = "NSAnimationDelegate"

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 NSAnimationDelegate

Implementations on Foreign Types§

Source§

impl<T> NSAnimationDelegate for ProtocolObject<T>

Implementors§

Source§

impl NSAnimationDelegate for NSTitlebarAccessoryViewController

Available on crate feature NSTitlebarAccessoryViewController only.