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§
unsafe fn animationShouldStart(&self, animation: &NSAnimation) -> bool
unsafe fn animationDidStop(&self, animation: &NSAnimation)
unsafe fn animationDidEnd(&self, animation: &NSAnimation)
unsafe fn animation_valueForProgress( &self, animation: &NSAnimation, progress: NSAnimationProgress ) -> c_float
unsafe fn animation_didReachProgressMark( &self, animation: &NSAnimation, progress: NSAnimationProgress )
Trait Implementations§
source§impl ProtocolType for dyn NSAnimationDelegate
impl ProtocolType for dyn NSAnimationDelegate
impl<T> ImplementedBy<T> for dyn NSAnimationDelegate
Implementations on Foreign Types§
impl<T> NSAnimationDelegate for ProtocolObject<T>where
T: ?Sized + NSAnimationDelegate,
Implementors§
impl NSAnimationDelegate for NSTitlebarAccessoryViewController
Available on crate features
NSResponder
and NSViewController
and NSTitlebarAccessoryViewController
only.