Trait objc2_app_kit::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.

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.
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 features NSResponder and NSViewController and NSTitlebarAccessoryViewController only.